货主只能看到自己的任务

master
erzhongxmu 2020-10-05 14:25:55 +08:00
parent 33dff65310
commit faeb08c907
1 changed files with 44 additions and 38 deletions

View File

@ -135,6 +135,9 @@ public class WmOmQmIController extends BaseController {
if(wmOmQmI.getBinSta()==null){
cq.eq("binSta", "N");
}
if(StringUtil.isNotEmpty(wmUtil.getCusCode())){
cq.eq("cusCode", wmUtil.getCusCode());
}
cq.add();
this.wmOmQmIService.getDataGridReturn(cq, true);
TagUtil.datagrid(response, dataGrid);
@ -153,6 +156,9 @@ public class WmOmQmIController extends BaseController {
map1.put("createDate", "desc");
cq.setOrder(map1);
cq.eq("binSta", "I");
if(StringUtil.isNotEmpty(wmUtil.getCusCode())){
cq.eq("cusCode", wmUtil.getCusCode());
}
cq.add();
this.wmOmQmIService.getDataGridReturn(cq, true);
TagUtil.datagrid(response, dataGrid);