| | |
| | | if (volumeProductionCkglDTO.getId()!=null){ |
| | | SlVolumeProductionCkgl slVolumeProductionRkgl=new SlVolumeProductionCkgl(); |
| | | slVolumeProductionRkgl.setAttachmentUrl(volumeProductionCkglDTO.getAttachmentUrl()); |
| | | slVolumeProductionRkgl.setAuthorization(volumeProductionCkglDTO.getAuthorization()); |
| | | slVolumeProductionRkgl.setAuthorizationUrl(volumeProductionCkglDTO.getAuthorization()); |
| | | slVolumeProductionRkgl.setSource(volumeProductionCkglDTO.getSource()); |
| | | slVolumeProductionRkgl.setAuditStatus(1); |
| | | slVolumeProductionRkgl.setManagementId(volumeProductionCkglDTO.getManagementId()); |
| | |
| | | byId.setAttachmentUrl(volumeProductionCkglDTO.getAttachmentUrl()); |
| | | } |
| | | if (volumeProductionCkglDTO.getAuthorization()!=null){ |
| | | byId.setAuthorization(volumeProductionCkglDTO.getAuthorization()); |
| | | byId.setAuthorizationUrl(volumeProductionCkglDTO.getAuthorization()); |
| | | } |
| | | this.updateById(byId); |
| | | } |
| | | } |
| | | |
| | | @Override |
| | | public VolumeProductionCkglInfoVO getVolumeProductionCkglnfo(Integer id) { |
| | | public VolumeProductionCkglInfoVO getVolumeProductionCkglnfo(Long id) { |
| | | |
| | | SlVolumeProductionCkgl byId = this.getById(id); |
| | | VolumeProductionCkglInfoVO v= BeanUtils.copyBean(byId, VolumeProductionCkglInfoVO.class); |
| | |
| | | } |
| | | |
| | | @Override |
| | | public VolumeProductionCkglInventoryVO getVolumeProductionCkglInventory(Integer id) { |
| | | public VolumeProductionCkglInventoryVO getVolumeProductionCkglInventory(Long id) { |
| | | SlVolumeProductionCkgl byId = this.getById(id); |
| | | VolumeProductionCkglInventoryVO vo = new VolumeProductionCkglInventoryVO(); |
| | | SysUser data = sysUserClient.getSysUser(byId.getId()).getData(); |
| | |
| | | } |
| | | |
| | | @Override |
| | | public void ck(Integer id) { |
| | | public void ck(Long id) { |
| | | LambdaQueryWrapper<SlVolumeProductionCk> wrapper1 = Wrappers.lambdaQuery(); |
| | | wrapper1.eq(SlVolumeProductionCk::getCkglId, id); |
| | | wrapper1.eq(SlVolumeProductionCk::getDelFlag, 0); |
| | |
| | | } |
| | | |
| | | @Override |
| | | public void gh(Integer id) { |
| | | public void gh(Long id) { |
| | | LambdaQueryWrapper<SlVolumeProductionCk> wrapper1 = Wrappers.lambdaQuery(); |
| | | wrapper1.eq(SlVolumeProductionCk::getCkglId, id); |
| | | wrapper1.eq(SlVolumeProductionCk::getDelFlag, 0); |