| | |
| | | package com.ld.igds.inout.manager; |
| | | |
| | | import com.ld.igds.constant.Constant; |
| | | import com.ld.igds.inout.InoutConstant; |
| | | import com.ld.igds.inout.dto.InoutData; |
| | | import com.ld.igds.inout.service.InoutService; |
| | |
| | | return result; |
| | | } |
| | | |
| | | public InoutConf getInoutConf(List<InoutConf> listInoutConf, String sort,String type) { |
| | | public InoutConf getInoutConf(List<InoutConf> listInoutConf, String sort, String type) { |
| | | if (null == listInoutConf) return new InoutConf(sort); |
| | | if (StringUtils.isEmpty(sort)) sort = "1"; |
| | | |
| | |
| | | public String getWeightEditTag(String companyId, String deptId) { |
| | | // 从缓存中获取出入库系统配置信息 |
| | | InoutSysConf inoutSysConf = inoutCommonService.getCacheInoutSysConf(companyId, deptId); |
| | | String weightEditTag = null; |
| | | String weightEditTag = Constant.YN_N; |
| | | if (inoutSysConf != null) { |
| | | weightEditTag = inoutSysConf.getWeightEditTag(); |
| | | } |
| | | if (null == weightEditTag) weightEditTag = Constant.YN_N; |
| | | |
| | | return weightEditTag; |
| | | } |
| | | |
| | | |
| | | |
| | | /** |