‘linchangsheng’ 3 bulan lalu
induk
melakukan
1272fa5533

+ 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);