private BaseMessage_Model <T_InStockDetailInfo> PostReceiveToERP(UserModel user, List <T_InStockDetailInfo> lstDetail) { T_InStockDetail_Func tfunc = new T_InStockDetail_Func(); string UserJson = JSONHelper.ObjectToJson <UserModel>(user); string ModelJson = JSONHelper.ObjectToJson <List <T_InStockDetailInfo> >(lstDetail); string Result = tfunc.SaveModelListSqlToDBADF(UserJson, ModelJson); BaseMessage_Model <T_InStockDetailInfo> baseMessage = JSONHelper.JsonToObject <BaseMessage_Model <T_InStockDetailInfo> >(Result); return(baseMessage); }
/// <summary> /// 提交收货明细 /// </summary> /// <param name="UserJson"></param> /// <param name="ModelJson"></param> /// <returns></returns> public string SaveT_InStockDetailADF(string UserJson, string ModelJson) { T_InStockDetail_Func tfunc = new T_InStockDetail_Func(); return(tfunc.SaveModelListSqlToDBADF(UserJson, ModelJson)); }