|
|
@@ -31075,6 +31075,14 @@ updateuserid=:updateuserid where barcode=:barcode";
|
|
|
ServiceResultEntity result = new ServiceResultEntity();
|
|
|
result.Status = Constant.ServiceResultStatus.Success;
|
|
|
result.OtherStatus = 1;
|
|
|
+ //校验是否二次点击(同一份发货单保存成功后或者网络超时,失败后可再次保存,前台控制)
|
|
|
+ if (!string.IsNullOrWhiteSpace(send.DATAKEY) && CMNModuleLogic.CheckDataDouble(send.DATAKEY, sUserInfo))
|
|
|
+ {
|
|
|
+ result.OtherStatus = -1;
|
|
|
+ result.Message = "该数据已操作,请勿二次操作;请在网络稳定后核对数据查询凭证单号";
|
|
|
+ return result;
|
|
|
+ }
|
|
|
+
|
|
|
sendDetail.ForEach(m => where.Append("'" + m.FINISHEDLOADBATCHNO + "',"));
|
|
|
string SENDOUTCODE = send.SENDOUTCODE;
|
|
|
string WAREHOUSINGID = send.WAREHOUSINGID;
|