Sfoglia il codice sorgente

政策-政策创建时间log

yangzian 3 anni fa
parent
commit
af23c81d45

+ 3 - 3
jeecg-boot-finance/src/main/java/org/jeecg/ctop/finance/policy/controller/CwjsPolicyInfoController.java

@@ -588,7 +588,7 @@ public class CwjsPolicyInfoController {
 			SysUser sysUser = sysUserService.getById(cwjsPolicyInfo.getCreateUserId());
 			cwjsPolicyInfo.setCreateUserName(sysUser.getRealname());
 
-			log.info("政策创建时间是--------------",cwjsPolicyInfo.getCreateTime());
+			log.info("政策创建时间是--------------{}",cwjsPolicyInfo.getCreateTime());
 
 			cwjsPolicyInfoService.save(cwjsPolicyInfo);
 			JSONArray products = cwjsPolicyInfo.getPolicyProductName();
@@ -632,8 +632,8 @@ public class CwjsPolicyInfoController {
 			policyApprovalLog.setApprovalContent("创建政策");
 			policyApprovalLog.setCreateTime(new Date());
 
-			log.info("时间是===========1=========",new Date());
-			log.info("时间是==========2==========",DateUtils.formatDateTime());
+			log.info("时间是===========1========={}",new Date());
+			log.info("时间是==========2=========={}",DateUtils.formatDateTime());
 
 
 			policyApprovalLogService.save(policyApprovalLog);