摘要:
public enum MallType { TAOBAO("1001","淘宝商城"), TMALL("1002","天猫商城"), ; private final String caption; private final String code; MallType(String code,St 阅读全文
posted @ 2021-12-10 18:16
Posion゜
阅读(657)
评论(0)
推荐(0)
摘要:
interface public interface MallTypeHandle { void check(Store store); MallType[] supports(); } @Component public class JDMallTypeHandle implements Mall 阅读全文
posted @ 2021-12-10 18:05
Posion゜
阅读(241)
评论(0)
推荐(0)
摘要:
SpringBoot工厂模式 继承ApplicationContextAware MallService public interface MallService { /** * 商城类型 * * @return 商城类型代码 */ String mallType(); } register @Sl 阅读全文
posted @ 2021-12-10 17:42
Posion゜
阅读(356)
评论(0)
推荐(0)
摘要:
/** * 创建时间 */ @TableField(fill = FieldFill.INSERT) private LocalDateTime createdTime; /** * 更新时间 */ @TableField(fill = FieldFill.INSERT_UPDATE) privat 阅读全文
posted @ 2021-12-10 17:32
Posion゜
阅读(676)
评论(0)
推荐(0)

浙公网安备 33010602011771号