Commit 702f175b by 徐高华

批量修改活码

parent ea36bd7f
...@@ -262,7 +262,11 @@ public class HmQrcodeController { ...@@ -262,7 +262,11 @@ public class HmQrcodeController {
@RequestMapping(value = "get-hm-for-batch", method = RequestMethod.POST) @RequestMapping(value = "get-hm-for-batch", method = RequestMethod.POST)
public RestResponse<Object> getHmFormBatch(@RequestBody HmQrcodeListQO qo) { public RestResponse<Object> getHmFormBatch(@RequestBody HmQrcodeListQO qo) {
// 查询有效的 // 查询有效的
if(qo.getInFields().getHmTypeInt() !=null && qo.getInFields().getHmTypeInt()==1) {
return RestResponse.failure("9999", "不能只选择单人活码") ;
}
qo.getInFields().setStatusFlagInt(10); qo.getInFields().setStatusFlagInt(10);
qo.getInFields().setHmTypeInt(2);
List<String> list = this.getHmCount(qo) ; List<String> list = this.getHmCount(qo) ;
if(list.size() > 1000) { if(list.size() > 1000) {
return RestResponse.failure("9999", "最多支持1000条数据") ; return RestResponse.failure("9999", "最多支持1000条数据") ;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment