| | |
| | | string dchzlx = model.dchzlx;//调出货主类型 |
| | | string drhzlx = model.drhzlx;//调入货主类型 |
| | | string inRemark = model.inRemark;//备注 |
| | | string gdhb = model.gdhb; |
| | | var _sb = new StringBuilder(); |
| | | var _split = "|"; |
| | | foreach (var m in model.list) |
| | |
| | | new("@drhzlx", drhzlx), |
| | | new("@inRemark", inRemark), |
| | | new("@inEdtUserGuid", _userGuid), |
| | | new("@inLineList", _sb.ToString()) |
| | | new("@inLineList", _sb.ToString()), |
| | | new("@gdbh",gdhb) |
| | | }; |
| | | parameters[0].Direction = ParameterDirection.Output; |
| | | parameters[1].Direction = ParameterDirection.Output; |
| | |
| | | try |
| | | { |
| | | dset = DbHelperSQL.RunProcedure("prc_dhtm_list", parameters, "0"); |
| | | if (dset != null && dset.Tables.Count > 0 && |
| | | dset.Tables[0].Rows.Count > 0) //有数据 |
| | | if (dset != null && dset.Tables.Count > 0 && dset.Tables[0].Rows.Count > 0) //有数据 |
| | | { |
| | | var intTotal = |
| | | int.Parse(dset.Tables[1].Rows[0]["intTotal"].ToString()); |