huodongdong 7 년 전
부모
커밋
9edd40418a
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      rankin-cms-web/src/main/java/cn/rankin/cmsweb/controller/product/GroupController.java

+ 1 - 1
rankin-cms-web/src/main/java/cn/rankin/cmsweb/controller/product/GroupController.java

@@ -52,7 +52,7 @@ public class GroupController {
         APIResult<MerchantVo> merchantVoAPIResult = merchantService.getMerchant(merchantId);
         if (merchantVoAPIResult.getSuccess()) {
             MerchantVo merchantVo = merchantVoAPIResult.getData();
-            String code = groupDTO.getCode() + "_" + merchantVo.getSimple();
+            String code = merchantVo.getSimple() + "_" + groupDTO.getCode();
             groupDTO.setCode(code.toUpperCase());
         }else {
             return APIResult.error(new BaseCode(merchantVoAPIResult.getCode(), merchantVoAPIResult.getMessage()));