Commit b18c6126 authored by liuzeheng's avatar liuzeheng

入仓完成,记录掉入公海日志

parent 214a1d4e
......@@ -2905,6 +2905,23 @@ public class CustomerServiceImpl extends AbstractService<CustomerMapper, Custome
customerMapper.updateById(customer);
//纪录日志
LoginUser loginUser = SecurityFrameworkUtils.getLoginUser();
CustomerOperateLogCreateReqVO customerOperateLogCreateReqVO = new CustomerOperateLogCreateReqVO()
.setOperator(loginUser == null ? null : loginUser.getId())
.setOperatorName(loginUser == null ? null : loginUser.getNickname())
.setCustomerId(customer.getId())
.setNumber(customer.getNumber())
.setName(customer.getName())
.setOrderId(orderId)
.setOrderNo(orderNo)
.setOldEstimateEnterOpenSeaTime(oldEstimateEnterOpenSeaTime)
.setNewEstimateEnterOpenSeaTime(isFcl ? null : customer.getEstimateEnterOpenSeaTime())
.setOperateType(CustomerOperateTypeEnum.DELAY_APPLY.getValue())
.setRemark("操作入仓完成,延长掉入公海日期");
customerOperateLogService.createOperateLog(customerOperateLogCreateReqVO);
}
//纪录日志
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment