Commit 8333880bf1d74effb089cad951b29a0d4a85e7ce

Authored by miaoguoxin
1 parent f4643fec

统一实体名称

src/main/java/com/diligrp/xtrade/product/controllor/MerchantController.java
@@ -24,6 +24,11 @@ public class MerchantController { @@ -24,6 +24,11 @@ public class MerchantController {
24 @Autowired 24 @Autowired
25 private MerchantService merchantService; 25 private MerchantService merchantService;
26 26
  27 + /**
  28 + * 新建市场
  29 + * @author miaoguoxin
  30 + * @date 2020/4/22
  31 + */
27 @PostMapping("/save") 32 @PostMapping("/save")
28 public Message<MerchantResponseDto> save(@RequestBody @Validated(Constant.InsertGroup.class) 33 public Message<MerchantResponseDto> save(@RequestBody @Validated(Constant.InsertGroup.class)
29 MerchantRequestDto requestDto) throws Exception { 34 MerchantRequestDto requestDto) throws Exception {
src/main/java/com/diligrp/xtrade/product/domain/emuns/IKeyGeneratorKeys.java
@@ -8,11 +8,10 @@ package com.diligrp.xtrade.product.domain.emuns; @@ -8,11 +8,10 @@ package com.diligrp.xtrade.product.domain.emuns;
8 * @date 2020年4月21日 8 * @date 2020年4月21日
9 */ 9 */
10 public enum IKeyGeneratorKeys { 10 public enum IKeyGeneratorKeys {
11 - CATEGORY_SEQUENCE("category_sequence","品类id"), 11 + CATEGORY_SEQUENCE("CATEGORY_SEQUENCE","品类id"),
12 SHOP_SEQUENCE("SHOP_SEQUENCE","店铺id"), 12 SHOP_SEQUENCE("SHOP_SEQUENCE","店铺id"),
13 MERCHANT_SEQUENCE("MERCHANT_SEQUENCE","市场id"), 13 MERCHANT_SEQUENCE("MERCHANT_SEQUENCE","市场id"),
14 ACCOUNT_SEQUENCE("ACCOUNT_SEQUENCE","账号id"), 14 ACCOUNT_SEQUENCE("ACCOUNT_SEQUENCE","账号id"),
15 - CATEGORY_SEQUENCE("CATEGORY_SEQUENCE","品类is")  
16 ; 15 ;
17 16
18 private String code; 17 private String code;