zelong.shao

customer|提示语调整

...@@ -37,6 +37,7 @@ public enum ResponseCode { ...@@ -37,6 +37,7 @@ public enum ResponseCode {
37 MESSAGE_CODE_30017(30017,"business_exception_30017"), 37 MESSAGE_CODE_30017(30017,"business_exception_30017"),
38 MESSAGE_CODE_30018(30018,"business_exception_30018"), 38 MESSAGE_CODE_30018(30018,"business_exception_30018"),
39 MESSAGE_CODE_30019(30019,"business_exception_30019"), 39 MESSAGE_CODE_30019(30019,"business_exception_30019"),
40 + MESSAGE_CODE_30020(30020,"business_exception_30020"),
40 41
41 /******打个样,编写样例*****/ 42 /******打个样,编写样例*****/
42 // MESSAGE_CODE_30001(30001,"business_exception_30001"), 43 // MESSAGE_CODE_30001(30001,"business_exception_30001"),
......
...@@ -57,7 +57,7 @@ public class ConsignmentServiceImpl extends BaseService implements IConsignmentS ...@@ -57,7 +57,7 @@ public class ConsignmentServiceImpl extends BaseService implements IConsignmentS
57 } 57 }
58 if (!StringUtils.isEmpty(bo.getShipperAccount()) && !bo.getShipperAccount().matches("\\d{9}")) { 58 if (!StringUtils.isEmpty(bo.getShipperAccount()) && !bo.getShipperAccount().matches("\\d{9}")) {
59 consignmentAddDto.setIsCreatorFlag(DigitConstants.DIGIT_TWO); 59 consignmentAddDto.setIsCreatorFlag(DigitConstants.DIGIT_TWO);
60 - responseUtils.fail(ResponseCode.MESSAGE_CODE_30017); 60 + responseUtils.fail(ResponseCode.MESSAGE_CODE_30019);
61 } 61 }
62 //查询运单表是否存在已提交的运单 62 //查询运单表是否存在已提交的运单
63 LocalDate thirtyDaysAgo = LocalDate.now().minusDays(30); 63 LocalDate thirtyDaysAgo = LocalDate.now().minusDays(30);
...@@ -74,7 +74,7 @@ public class ConsignmentServiceImpl extends BaseService implements IConsignmentS ...@@ -74,7 +74,7 @@ public class ConsignmentServiceImpl extends BaseService implements IConsignmentS
74 /** 74 /**
75 * 不存在运单,并且没有填写shipperAccount,则直接返回 75 * 不存在运单,并且没有填写shipperAccount,则直接返回
76 */ 76 */
77 - return responseUtils.success(consignmentAddDto); 77 + return responseUtils.success(ResponseCode.MESSAGE_CODE_30020,consignmentAddDto);
78 } 78 }
79 }else { 79 }else {
80 /** 80 /**
......
...@@ -48,3 +48,4 @@ business_exception_30016=运单提交失败,请联系管理员! ...@@ -48,3 +48,4 @@ business_exception_30016=运单提交失败,请联系管理员!
48 business_exception_30017=运单号填写错误 48 business_exception_30017=运单号填写错误
49 business_exception_30018=运单提交失败,该运单正在被其他用户操作,请稍后重试 49 business_exception_30018=运单提交失败,该运单正在被其他用户操作,请稍后重试
50 business_exception_30019=Shipper Account填写错误 50 business_exception_30019=Shipper Account填写错误
51 +business_exception_30020=您的登录账号的shipperAccount与录入的shipperAccount不一致,请确认是否继续上传?
......
...@@ -48,3 +48,4 @@ business_exception_30016=运单提交失败,请联系管理员! ...@@ -48,3 +48,4 @@ business_exception_30016=运单提交失败,请联系管理员!
48 business_exception_30017=运单号填写错误 48 business_exception_30017=运单号填写错误
49 business_exception_30018=运单提交失败,该运单正在被其他用户操作,请稍后重试 49 business_exception_30018=运单提交失败,该运单正在被其他用户操作,请稍后重试
50 business_exception_30019=Shipper Account填写错误 50 business_exception_30019=Shipper Account填写错误
51 +business_exception_30020=您的登录账号的shipperAccount与录入的shipperAccount不一致,请确认是否继续上传?
...\ No newline at end of file ...\ No newline at end of file
......