|  |  |  | 
|---|
|  |  |  | using Masuit.Tools; | 
|---|
|  |  |  | using LogLibrary.Log; | 
|---|
|  |  |  | using Masuit.Tools; | 
|---|
|  |  |  | using SqlSugar; | 
|---|
|  |  |  | using WIDESEA_Core; | 
|---|
|  |  |  | using WIDESEA_Core.Helper; | 
|---|
|  |  |  | using WIDESEA_DTO.MOM; | 
|---|
|  |  |  | using WIDESEA_Model.Models; | 
|---|
|  |  |  |  | 
|---|
|  |  |  | namespace WIDESEA_StoragIntegrationServices | 
|---|
|  |  |  | { | 
|---|
|  |  |  | 
|---|
|  |  |  | { | 
|---|
|  |  |  | public static SqlSugarScope Db = SqlSugarHelper.DbWMS; | 
|---|
|  |  |  |  | 
|---|
|  |  |  | public static WebResponseContent AddMoMErrorMsg(int TaskNum, string PalletCode, string ErrorMsg,string ApiName) | 
|---|
|  |  |  | public static WebResponseContent AddMoMErrorMsg(int TaskNum, string PalletCode, string ErrorMsg, string ApiName) | 
|---|
|  |  |  | { | 
|---|
|  |  |  | WebResponseContent content = new WebResponseContent(); | 
|---|
|  |  |  | try | 
|---|
|  |  |  | 
|---|
|  |  |  | var isResult = Db.Insertable(result).ExecuteCommand() > 0; | 
|---|
|  |  |  | content.OK(data: result); | 
|---|
|  |  |  | } | 
|---|
|  |  |  |  | 
|---|
|  |  |  | } | 
|---|
|  |  |  | catch (Exception ex) | 
|---|
|  |  |  | { | 
|---|