| | |
| | | } |
| | | |
| | | public PageResponse<InoutData> submitHandle(InoutData data) throws Exception { |
| | | |
| | | |
| | | if (null == data.getHandleUser()) { |
| | | data.setHandleUser(ContextUtil.getLoginUserCName()); |
| | | } |
| | | |
| | | //获取系统参数配置 |
| | | InoutSysConf inoutSysConf = inoutCommonService.getCacheInoutSysConf(data.getCompanyId(), data.getDeptId()); |
| | | if (null == inoutSysConf) { |
| | |
| | | try { |
| | | |
| | | List<InoutPrice> price = inoutService.getPrice(param); |
| | | if(null == price || price.isEmpty()){ |
| | | if (null == price || price.isEmpty()) { |
| | | return new PageResponse<>(RespCodeEnum.CODE_1111.getCode(), "未获取到粮食定价配置信息"); |
| | | } |
| | | return new PageResponse<>(RespCodeEnum.CODE_0000, price.get(0)); |