ezhizao_zx 2 周之前
父节点
当前提交
ec45a3ae31
共有 1 个文件被更改,包括 2 次插入2 次删除
  1. 2 2
      src/main/java/cn/ezhizao/project/business/controller/BizInboundOrderController.java

+ 2 - 2
src/main/java/cn/ezhizao/project/business/controller/BizInboundOrderController.java

@@ -104,7 +104,7 @@ public class BizInboundOrderController extends BaseController {
         }
         List<BizInboundOrderDetail> details = bizInboundOrderDetailService.query().in("inbound_order_id", list.stream().map( BizInboundOrder::getId).collect(Collectors.toList())).eq("certificate_code", bizInboundOrder.getPackCode()).list();
         if (details.isEmpty()) {
-            // 错误
+            // 返回合格证不存在错误
             return error("合格证不存在");
         }
         details.forEach(l ->{
@@ -126,6 +126,6 @@ public class BizInboundOrderController extends BaseController {
         });
         bizInboundOrderService .updateBatchById(list);
 
-        return success("p2更新成功");
+        return success("更新成功");
     }
 }