Selaa lähdekoodia

内部报验功能-派单,改派

wangming 1 vuosi sitten
vanhempi
commit
e997eeb45e

+ 6 - 0
business-common/src/main/java/com/rongwei/bscommon/sys/service/impl/ZhcxInsideInspectionServiceImpl.java

@@ -196,6 +196,12 @@ public class ZhcxInsideInspectionServiceImpl extends ServiceImpl<ZhcxInsideInspe
         return null;
     }
 
+    /**
+     * 获取报验单信息
+     *
+     * @param insideId
+     * @return
+     */
     private InsideOperDto getInsideOperDto(String insideId) {
         //报验单
         ZhcxInsideInspectionDo inspectionDo = getById(insideId);

+ 2 - 2
business-server/src/main/java/com/rongwei/bsserver/controller/ZhcxInsideInspectionController.java

@@ -48,7 +48,7 @@ public class ZhcxInsideInspectionController {
     public R dispacth(@RequestBody InsideInspectionDispatchRequest req){
         req.setDispatchFlag(1);
         zhcxInsideInspectionService.dispatch(req);
-        return R.ok();
+        return R.ok("派单成功");
     }
 
     /**
@@ -61,7 +61,7 @@ public class ZhcxInsideInspectionController {
     public R reDispatch(@RequestBody InsideInspectionDispatchRequest req){
         req.setDispatchFlag(2);
         zhcxInsideInspectionService.reDispatch(req);
-        return R.ok();
+        return R.ok("改派成功");
     }
 }