@@ -17,7 +17,7 @@ import java.util.stream.Collectors;
public enum CodingRuleEnum {
/**
- * 报价单
+ * 测试方法
*/
test("test", "aaa", Arrays.asList(
getDefaultRule(RuleTypeEnum.CUSTOMIZE, "TEST"),
@@ -119,6 +119,13 @@ public class CodingRuleServiceImpl extends ServiceImpl<CodingRuleMapper, CodingR
this.saveOrUpdate(codingRuleDto);
}
+ /**
+ * 生成编码
+ *
+ * @param key 编码key
+ * @param customerId 客户id
+ * @return 生成的编码
+ */
@Override
public String createCode(String key, Long customerId) {