上下架读取商品名称

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) { }catch (Exception e) {
throw new BusinessException(e.getMessage()); throw new BusinessException(e.getMessage());
} }
TSUser user = ResourceUtil.getSessionUser(); // TSUser user = ResourceUtil.getSessionUser();
if(!StringUtil.isEmpty(user.getCurrentDepart().getOrgCode())){ // if(!StringUtil.isEmpty(user.getCurrentDepart().getOrgCode())){
cq.like("sysOrgCode",user.getCurrentDepart().getOrgCode()+"%"); // cq.like("sysOrgCode",user.getCurrentDepart().getOrgCode()+"%");
//
} // }
if(!StringUtil.isEmpty(user.getUserType())){ // if(!StringUtil.isEmpty(user.getUserType())){
if(user.getUserType().equals("4")){ // if(user.getUserType().equals("4")){
cq.eq("createBy",user.getUserName()); // cq.eq("createBy",user.getUserName());
} // }
//
} // }
cq.add(); cq.add();
this.tmsMdCheliangService.getDataGridReturn(cq, true); this.tmsMdCheliangService.getDataGridReturn(cq, true);
TagUtil.datagrid(response, dataGrid); TagUtil.datagrid(response, dataGrid);