|
|
|
@ -128,7 +128,7 @@ public class TrunklineBillladingServiceImpl extends BaseServiceImpl<TrunklineBil
|
|
|
|
|
logEntity.setCreateUserName(AuthUtil.getUserName()); |
|
|
|
|
logEntity.setContent("创建提货单 billladingCode="+billladingCode); |
|
|
|
|
logEntity.setBillladingId(billladingId); |
|
|
|
|
logEntity.setAfter(JSONObject.toJSONString(trunklineBillladingEntity)); |
|
|
|
|
logEntity.setAfterOpreation(JSONObject.toJSONString(trunklineBillladingEntity)); |
|
|
|
|
trunklineBillladingLogService.save(logEntity); |
|
|
|
|
|
|
|
|
|
} |
|
|
|
@ -172,7 +172,7 @@ public class TrunklineBillladingServiceImpl extends BaseServiceImpl<TrunklineBil
|
|
|
|
|
logEntity.setCreateUserName(AuthUtil.getUserName()); |
|
|
|
|
logEntity.setContent("修改提货单 billladingCode="+billladingCode); |
|
|
|
|
logEntity.setBillladingId(billladingId); |
|
|
|
|
logEntity.setBefore(JSONObject.toJSONString(billladingEntity)); |
|
|
|
|
logEntity.setBeforeOpreation(JSONObject.toJSONString(billladingEntity)); |
|
|
|
|
|
|
|
|
|
BeanUtil.copy(billladingDTO,billladingEntity); |
|
|
|
|
updateById(billladingEntity); |
|
|
|
@ -232,7 +232,7 @@ public class TrunklineBillladingServiceImpl extends BaseServiceImpl<TrunklineBil
|
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
logEntity.setAfter(JSONObject.toJSONString(billladingEntity)); |
|
|
|
|
logEntity.setAfterOpreation(JSONObject.toJSONString(billladingEntity)); |
|
|
|
|
trunklineBillladingLogService.save(logEntity); |
|
|
|
|
|
|
|
|
|
} |
|
|
|
@ -254,7 +254,7 @@ public class TrunklineBillladingServiceImpl extends BaseServiceImpl<TrunklineBil
|
|
|
|
|
logEntity.setWarehouseName(warehouseName); |
|
|
|
|
logEntity.setCreateUserName(AuthUtil.getUserName()); |
|
|
|
|
logEntity.setBillladingId(billladingId); |
|
|
|
|
logEntity.setBefore(JSONObject.toJSONString(billladingEntity)); |
|
|
|
|
logEntity.setBeforeOpreation(JSONObject.toJSONString(billladingEntity)); |
|
|
|
|
|
|
|
|
|
stringBuffer.append("变更提货单状态 billladingCode=").append(billladingCode); |
|
|
|
|
|
|
|
|
@ -328,7 +328,7 @@ public class TrunklineBillladingServiceImpl extends BaseServiceImpl<TrunklineBil
|
|
|
|
|
//更新状态
|
|
|
|
|
updateById(billladingEntity); |
|
|
|
|
logEntity.setContent(stringBuffer.toString()); |
|
|
|
|
logEntity.setAfter(JSONObject.toJSONString(billladingEntity)); |
|
|
|
|
logEntity.setAfterOpreation(JSONObject.toJSONString(billladingEntity)); |
|
|
|
|
trunklineBillladingLogService.save(logEntity); |
|
|
|
|
} |
|
|
|
|
|
|
|
|
@ -343,6 +343,10 @@ public class TrunklineBillladingServiceImpl extends BaseServiceImpl<TrunklineBil
|
|
|
|
|
TrunklineBillladingVO trunklineBillladingVO = new TrunklineBillladingVO(); |
|
|
|
|
BeanUtil.copy(billladingEntity,trunklineBillladingVO); |
|
|
|
|
|
|
|
|
|
List<TrunklineBillladingLineVO> lineList = billladingLineService.findListByBillladingId(billladingId); |
|
|
|
|
|
|
|
|
|
trunklineBillladingVO.setLineList(lineList); |
|
|
|
|
|
|
|
|
|
//查询提货单关联的运单信息
|
|
|
|
|
List<TrunklineBillladingWaybillVO> ls = billladingWaybillService.findWaybillInfoListByBillladingId(billladingId); |
|
|
|
|
|
|
|
|
|