| | |
| | | import com.ld.igds.log.service.InteStatusLogService; |
| | | import com.ld.igds.m.InoutManageUtil; |
| | | import com.ld.igds.models.InteStatusLog; |
| | | import com.ld.igds.models.MPlan; |
| | | import com.ld.igds.models.InoutPlan; |
| | | import com.ld.igds.sh.dto.ApiResponse; |
| | | import com.ld.igds.sh.dto.Dto1501; |
| | | import com.ld.igds.sh.param.ApiRequest; |
| | |
| | | redisUtil.set(key, param.getEndTime()); |
| | | |
| | | //查询计划信息 |
| | | List<MPlan> dataList = hApiShServiceImpl.listPlan(companyId, |
| | | List<InoutPlan> dataList = hApiShServiceImpl.listPlan(companyId, |
| | | InoutManageUtil.PLAN_TYPE_3, startTime, param.getEndTime()); |
| | | |
| | | //响应数据为空则直接返回响应码2000 |
| | |
| | | InteStatusLog log; |
| | | InteStatusLog addLog; |
| | | //封装数据信息 |
| | | for (MPlan plan : dataList) { |
| | | for (InoutPlan plan : dataList) { |
| | | dto1501 = new Dto1501(); |
| | | dto1501.setJhbm(plan.getId()); |
| | | dto1501.setJhnd(StringUtils.isEmpty(plan.getYear())?DateFormatUtils.format(plan.getCreateTime(), "yyyy"):plan.getYear()); |