上下架读取商品名称

master
e 2020-01-11 14:58:57 +08:00
parent ad5c78b291
commit a626da7ee0
1 changed files with 11 additions and 11 deletions

View File

@ -104,17 +104,17 @@ public class TmsMdCheliangController extends BaseController {
}catch (Exception e) {
throw new BusinessException(e.getMessage());
}
TSUser user = ResourceUtil.getSessionUser();
if(!StringUtil.isEmpty(user.getCurrentDepart().getOrgCode())){
cq.like("sysOrgCode",user.getCurrentDepart().getOrgCode()+"%");
}
if(!StringUtil.isEmpty(user.getUserType())){
if(user.getUserType().equals("4")){
cq.eq("createBy",user.getUserName());
}
}
// TSUser user = ResourceUtil.getSessionUser();
// if(!StringUtil.isEmpty(user.getCurrentDepart().getOrgCode())){
// cq.like("sysOrgCode",user.getCurrentDepart().getOrgCode()+"%");
//
// }
// if(!StringUtil.isEmpty(user.getUserType())){
// if(user.getUserType().equals("4")){
// cq.eq("createBy",user.getUserName());
// }
//
// }
cq.add();
this.tmsMdCheliangService.getDataGridReturn(cq, true);
TagUtil.datagrid(response, dataGrid);