| | |
| | | if (StringUtils.isEmpty(fz40DepotStore.getLqgsdwdm())) { |
| | | apiData.setLqgsdwdm(api1102.getDwdm()); |
| | | } else { |
| | | apiData.setLqxzqhdm(fz40DepotStore.getLqgsdwdm()); |
| | | apiData.setLqgsdwdm(fz40DepotStore.getLqgsdwdm()); |
| | | } |
| | | //粮权行政区划代码 |
| | | apiData.setLqxzqhdm(api1102.getXzqhdm()); |
| | | //管理方式-默认直储 |
| | | apiData.setGlfs("01"); |
| | | if (StringUtils.isEmpty(fz40DepotStore.getManageType())) { |
| | | apiData.setGlfs("01"); |
| | | } else { |
| | | apiData.setGlfs(fz40DepotStore.getManageType()); |
| | | } |
| | | |
| | | //收储地点-默认库内 |
| | | apiData.setScdd("1"); |
| | | //储粮方式 |
| | |
| | | apiData.setRcsj(fz40DepotStore.getStoreDate()); |
| | | //封仓日期 |
| | | if ("3".equals(apiData.getHwzt()) || "4".equals(apiData.getHwzt())) { |
| | | apiData.setFcrq(DateUtils.addDays(fz40DepotStore.getStoreDate(), 10)); |
| | | if(null == fz40DepotStore.getFullDate()){ |
| | | fz40DepotStore.setFullDate(DateUtils.addDays(fz40DepotStore.getStoreDate(), 30)); |
| | | } |
| | | apiData.setFcrq(fz40DepotStore.getFullDate()); |
| | | } |
| | | |
| | | if ("1".equals(apiData.getHwzt())) { |