Your Name 3 年前
父节点
当前提交
ceb605acad
共有 1 个文件被更改,包括 5 次插入1 次删除
  1. 5
    1
      src/main/java/com/yunzhi/gnyy/controller/TaPersonController.java

+ 5
- 1
src/main/java/com/yunzhi/gnyy/controller/TaPersonController.java 查看文件

15
 import com.yunzhi.gnyy.service.ITaPersonService;
15
 import com.yunzhi.gnyy.service.ITaPersonService;
16
 
16
 
17
 import java.time.LocalDateTime;
17
 import java.time.LocalDateTime;
18
+import java.util.Map;
18
 
19
 
19
 /**
20
 /**
20
  * <p>
21
  * <p>
130
      */
131
      */
131
     @RequestMapping(value="/wx/{clientId}/person/{id}/barcode",method= RequestMethod.GET)
132
     @RequestMapping(value="/wx/{clientId}/person/{id}/barcode",method= RequestMethod.GET)
132
     @ApiOperation(value="详情", notes = "详情", httpMethod = "GET", response = ResponseBean.class)
133
     @ApiOperation(value="详情", notes = "详情", httpMethod = "GET", response = ResponseBean.class)
133
-    public ResponseBean getBarCode(@ApiParam("对象ID") @PathVariable String id) throws Exception{
134
+    public ResponseBean getBarCode(@ApiParam("对象ID") @PathVariable String id,
135
+                                   @ApiParam("接口参数") @RequestBody Map<String, Object> params) throws Exception{
134
         TaPerson taPerson = iTaPersonService.getById(id);
136
         TaPerson taPerson = iTaPersonService.getById(id);
135
         if (null == taPerson || taPerson.getStatus() == Constants.STATUS_DELETE) {
137
         if (null == taPerson || taPerson.getStatus() == Constants.STATUS_DELETE) {
136
             return ResponseBean.error("人员不存在");
138
             return ResponseBean.error("人员不存在");
137
         }
139
         }
138
 
140
 
141
+        String queryStr = (String) params.get("queryStr");
142
+
139
         String today = DateUtils.toString(LocalDateTime.now(), "yyyy-MM-dd");
143
         String today = DateUtils.toString(LocalDateTime.now(), "yyyy-MM-dd");
140
 
144
 
141
         SysSetting sysSetting = iSysSettingService.getById(Constants.SETTING_BARCODE_URL);
145
         SysSetting sysSetting = iSysSettingService.getById(Constants.SETTING_BARCODE_URL);