浏览代码

提交更改

yourName 3 年之前
父节点
当前提交
68b9edb324
共有 1 个文件被更改,包括 4 次插入1 次删除
  1. 4 1
      src/main/java/com/steerinfo/dil/controller/QmsQueueResultController.java

+ 4 - 1
src/main/java/com/steerinfo/dil/controller/QmsQueueResultController.java

@@ -13,6 +13,7 @@ import com.steerinfo.framework.service.pagehelper.PageHelper;
 import io.swagger.annotations.ApiImplicitParam;
 import io.swagger.annotations.ApiImplicitParam;
 import io.swagger.annotations.ApiImplicitParams;
 import io.swagger.annotations.ApiImplicitParams;
 import io.swagger.annotations.ApiOperation;
 import io.swagger.annotations.ApiOperation;
+import org.apache.shiro.crypto.hash.Hash;
 import org.apache.xmlbeans.impl.xb.xsdschema.All;
 import org.apache.xmlbeans.impl.xb.xsdschema.All;
 import org.springframework.beans.factory.annotation.Autowired;
 import org.springframework.beans.factory.annotation.Autowired;
 import org.springframework.web.bind.annotation.*;
 import org.springframework.web.bind.annotation.*;
@@ -54,7 +55,9 @@ public class QmsQueueResultController extends BaseRESTfulController {
     })
     })
 
 
     @PostMapping(value = "/addQueueResult")
     @PostMapping(value = "/addQueueResult")
-    public String addQueueResult(Map<String, Object> map){
+    public String addQueueResult(String vno){
+        Map<String, Object> map = new HashMap<>();
+        map.put("vno",vno);
         int i = qmsQueueResultService.addQueueResult(map);
         int i = qmsQueueResultService.addQueueResult(map);
         if(i > 0){
         if(i > 0){
             return "success";
             return "success";