Ver código fonte

请款NULL BUG修护

caozj 2 anos atrás
pai
commit
41faa183f5

+ 4 - 1
bladex-saas-project/saas-business-tradeerp/src/main/java/com/fjhx/funds/v2/service/impl/RequestFundsV2FlowServiceImpl.java

@@ -42,10 +42,12 @@ import org.springblade.common.constant.AttachmentConstant;
 import org.springblade.common.constant.CurrencyCodeEnum;
 import org.springblade.common.constant.CurrencyTypeEnum;
 import org.springblade.common.enums.YesOrNoEnum;
+import org.springblade.common.utils.DateUtils;
 import org.springblade.core.launch.constant.FlowConstant;
 import org.springblade.core.log.exception.ServiceException;
 import org.springblade.core.secure.utils.AuthUtil;
 import org.springblade.core.tool.api.R;
+import org.springblade.core.tool.utils.DateUtil;
 import org.springblade.core.tool.utils.Func;
 import org.springblade.core.tool.utils.id.IdUtils;
 import org.springblade.system.attachment.entity.Attachment;
@@ -264,8 +266,9 @@ public class RequestFundsV2FlowServiceImpl implements IRequestFundsV2FlowService
         }
 
         // 流程标题
-        String title = StrUtil.format("{} 发起的请款审批(类型:{}, 金额:{}{})",
+        String title = StrUtil.format("{} 在 {} 发起了请款审批(类型:{}, 金额:{}{})",
                 AuthUtil.getUserName(),
+                DateUtils.getTime(),
                 paymentRequestTypeStr,
                 CurrencyTypeEnum.getNameByKey(entity.getCurrencyType()),
                 entity.getRequestedAmount().toString()