|
@@ -239,6 +239,10 @@ public class CustomerTransferApprovalServiceImpl implements ICustomerTransferApp
|
|
|
item.setProcessedAt(new Date());
|
|
|
// 审批状态: 0=待审批, 1=审批通过, 2=审批驳回, 3=已撤销
|
|
|
// 如果审批通过 进行转移
|
|
|
+ List<Long> customerIds1 = JSON.parseArray(item.getCustomerIds(), Long.class);
|
|
|
+ List<TransferCustomDTO> customerList = getCustomerList(customerIds1, item);
|
|
|
+ item.setTransferBefore(JSON.toJSONString(customerList));
|
|
|
+
|
|
|
if(ObjectUtil.equal(1,item.getApprovalStatus())){
|
|
|
FsUserTransferParamDTO transferParam = new FsUserTransferParamDTO();
|
|
|
transferParam.setContent(item.getContent());
|
|
@@ -251,9 +255,7 @@ public class CustomerTransferApprovalServiceImpl implements ICustomerTransferApp
|
|
|
|
|
|
fsUserService.transfer(transferParam);
|
|
|
}
|
|
|
- List<Long> customerIds = JSON.parseArray(item.getCustomerIds(), Long.class);
|
|
|
- List<TransferCustomDTO> customerList = getCustomerList(customerIds, item);
|
|
|
- item.setTransferBefore(JSON.toJSONString(customerList));
|
|
|
+
|
|
|
return customerTransferApprovalMapper.updateCustomerTransferApproval(item);
|
|
|
}
|
|
|
|