‘linchangsheng’ 3 달 전
부모
커밋
1272fa5533
1개의 변경된 파일2개의 추가작업 그리고 2개의 파일을 삭제
  1. 2 2
      mall-server-api/src/main/java/com/gree/mall/manager/logic/user/UserLogic.java

+ 2 - 2
mall-server-api/src/main/java/com/gree/mall/manager/logic/user/UserLogic.java

@@ -337,10 +337,10 @@ public class UserLogic {
                     userWaitPolicy.setEndTime(this.getEndOfDay(DateUtil.parse(in_policy_end_time, "yyyy-MM-dd")));
 
                     if (userWaitPolicy.getStartTime().after(userWaitPolicy.getEndTime()))
-                        throw new RemoteServiceException(in_policy_name+"开始时间不能大于结束时间");
+                        throw new RemoteServiceException(userWait.getMobile()+"开始时间不能大于结束时间");
 
                     if (!this.areInSameMonth(userWaitPolicy.getStartTime(),userWaitPolicy.getEndTime()))
-                        throw new RemoteServiceException(in_policy_name+"工伤险的有效时间必须在同一个月内");
+                        throw new RemoteServiceException(userWait.getMobile()+"工伤险的有效时间必须在同一个月内");
 
 
                     userWaitPolicies.add(userWaitPolicy);