12 2021 档案

摘要: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゜ 阅读(631) 评论(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゜ 阅读(230) 评论(0) 推荐(0) 编辑
摘要:SpringBoot工厂模式 继承ApplicationContextAware MallService public interface MallService { /** * 商城类型 * * @return 商城类型代码 */ String mallType(); } register @Sl 阅读全文
posted @ 2021-12-10 17:42 Posion゜ 阅读(347) 评论(0) 推荐(0) 编辑
摘要:/** * 创建时间 */ @TableField(fill = FieldFill.INSERT) private LocalDateTime createdTime; /** * 更新时间 */ @TableField(fill = FieldFill.INSERT_UPDATE) privat 阅读全文
posted @ 2021-12-10 17:32 Posion゜ 阅读(657) 评论(0) 推荐(0) 编辑

点击右上角即可分享
微信分享提示