Commit c00cf801 by jinxin

记录单个转移的成功日志

parent ecc93ed9
...@@ -82,8 +82,10 @@ public class TransferActiveCodeDTO implements Serializable { ...@@ -82,8 +82,10 @@ public class TransferActiveCodeDTO implements Serializable {
//记录单个转移的成功日志 //记录单个转移的成功日志
if (CollUtil.isNotEmpty(this.successList) && this.totalNum==1){ if (CollUtil.isNotEmpty(this.successList) && this.totalNum==1){
Map<String, String> stringMap = this.successList.get(0); Map<String, String> stringMap = this.successList.get(0);
log.append("将"+stringMap.get("handoverStaffName")+"-"+stringMap.get("handoverStaffPhone")==null?"":stringMap.get("handoverStaffPhone")+"的许可手动转移给" String handoverStaffPhone = null==stringMap.get("handoverStaffPhone")?"":stringMap.get("handoverStaffPhone");
+stringMap.get("takeoverStaffName")+"-"+stringMap.get("takeoverStaffPhone")==null?"":stringMap.get("takeoverStaffPhone")); String takeoverStaffPhone = null==stringMap.get("takeoverStaffPhone")?"":stringMap.get("takeoverStaffPhone");
log.append("将"+stringMap.get("handoverStaffName")+"-"+handoverStaffPhone+"的许可手动转移给"
+stringMap.get("takeoverStaffName")+"-"+takeoverStaffPhone);
return log.toString(); return log.toString();
} }
log.append("共需转移" + this.totalNum + ",成功" + this.successNum + ",失败" + this.failedNum + "。"); log.append("共需转移" + this.totalNum + ",成功" + this.successNum + ",失败" + this.failedNum + "。");
......
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