|
@@ -1,6 +1,7 @@
|
|
package com.kmall.admin.service.impl.oms2kmall;
|
|
package com.kmall.admin.service.impl.oms2kmall;
|
|
|
|
|
|
import com.kmall.admin.controller.oms2kmall.Oms2KmallController;
|
|
import com.kmall.admin.controller.oms2kmall.Oms2KmallController;
|
|
|
|
+import com.kmall.admin.entity.GoodsProductEntity;
|
|
import com.kmall.admin.entity.StoreTransferInventoryOrderDetailEntity;
|
|
import com.kmall.admin.entity.StoreTransferInventoryOrderDetailEntity;
|
|
import com.kmall.admin.entity.StoreTransferInventoryOrderEntity;
|
|
import com.kmall.admin.entity.StoreTransferInventoryOrderEntity;
|
|
import com.kmall.admin.service.GoodsProductService;
|
|
import com.kmall.admin.service.GoodsProductService;
|
|
@@ -104,6 +105,10 @@ public class Oms2KmallServiceImpl implements Oms2KmallService {
|
|
} else if ("2".equals(resp.getIsAudit())) {
|
|
} else if ("2".equals(resp.getIsAudit())) {
|
|
resp.setIsAudit(Dict.omsAuditStatus.item_3.getItem());
|
|
resp.setIsAudit(Dict.omsAuditStatus.item_3.getItem());
|
|
}
|
|
}
|
|
|
|
+ GoodsProductEntity entity = goodsProductService.queryBySku(resp.getSku());
|
|
|
|
+ if (entity == null) {
|
|
|
|
+ return R.error("sku:" + resp.getSku() + "不存在");
|
|
|
|
+ }
|
|
int count = goodsProductService.updateAuditInfo(resp.getSku(), resp.getIsAudit(), resp.getAuditTime(), resp.getAuditRemark());
|
|
int count = goodsProductService.updateAuditInfo(resp.getSku(), resp.getIsAudit(), resp.getAuditTime(), resp.getAuditRemark());
|
|
if (count > 0) {
|
|
if (count > 0) {
|
|
return R.ok();
|
|
return R.ok();
|