| | |
| | | cmd.CommandType = CommandType.StoredProcedure; |
| | | SqlParameter[] parameters = |
| | | { |
| | | new("@outMsg", SqlDbType.NVarChar, 2500), |
| | | new("@outSum", SqlDbType.Int), |
| | | new("@inEdtUserGuid", userGuid), |
| | | new("@inOrderGuid", orderGuid), |
| | | new("@pi_inventoryAppBillNo",_billNo), |
| | | new("@in1", ""), |
| | | new("@in2", ""), |
| | | new("@in3", "") |
| | | new SqlParameter("@outMsg", SqlDbType.NVarChar, 2000) { Direction = ParameterDirection.Output }, |
| | | new SqlParameter("@outSum", SqlDbType.Int) { Direction = ParameterDirection.Output }, |
| | | new SqlParameter("@inEdtUserGuid", SqlDbType.UniqueIdentifier) { Value = userGuid }, |
| | | new SqlParameter("@inOrderGuid", SqlDbType.UniqueIdentifier) { Value = orderGuid }, |
| | | new SqlParameter("@pi_inventoryAppBillNo", SqlDbType.NVarChar, 100) { Value = _billNo ?? (object)DBNull.Value }, |
| | | new SqlParameter("@in1", ""), |
| | | new SqlParameter("@in2", ""), |
| | | new SqlParameter("@in3", "") |
| | | }; |
| | | parameters[0].Direction = ParameterDirection.Output; |
| | | parameters[1].Direction = ParameterDirection.Output; |