|  |  |  | 
|---|
|  |  |  | dto.setMzjlsj(DateFormatUtils.format(inoutRecord.getFullWeightTime(),"yyyy-MM-dd HH:mm:ss")); | 
|---|
|  |  |  | dto.setPz(inoutRecord.getEmptyWeight() + ""); | 
|---|
|  |  |  | dto.setPzjlsj(DateFormatUtils.format(inoutRecord.getEmptyWeightTime(),"yyyy-MM-dd HH:mm:ss")); | 
|---|
|  |  |  | dto.setZjkl(inoutRecord.getDeSum() + ""); | 
|---|
|  |  |  | //  dto.setZjkl(inoutRecord.getDeSum() + ""); TODO | 
|---|
|  |  |  | dto.setJz(inoutRecord.getSettleWeight() + ""); | 
|---|
|  |  |  | dto.setCmsj(DateFormatUtils.format(inoutRecord.getCompleteTime(),"yyyy-MM-dd HH:mm:ss")); | 
|---|
|  |  |  | dto.setCmqrmgryxm(StringUtils.isEmpty(inoutRecord.getCompleteUser())?"0":inoutRecord.getCompleteUser()); | 
|---|
|  |  |  | 
|---|
|  |  |  | dto.setRkdnm(StringUtils.isEmpty(inoutRecord.getNoticeId())?"0":inoutRecord.getNoticeId()); | 
|---|
|  |  |  | dto.setZznm(inoutRecord.getDepotId().substring(0, 21)); | 
|---|
|  |  |  | dto.setSxh(inoutRecord.getId().substring(10)); | 
|---|
|  |  |  | if(InoutConstant.RECORD_STATUS_DEL.equals(inoutRecord.getRecordStatus()) || | 
|---|
|  |  |  | InoutConstant.RECORD_STATUS_ERROR.equals(inoutRecord.getRecordStatus())){ | 
|---|
|  |  |  | if(InoutConstant.RECORD_STATUS_DEL.equals(inoutRecord.getRecordStatus())){ | 
|---|
|  |  |  | dto.setDjzt("4"); //已作废 | 
|---|
|  |  |  | }else { | 
|---|
|  |  |  | dto.setDjzt("2"); //入库完成 | 
|---|