diff --git a/gptService/src/main/java/com/iformall/domain/po/WxPromotType.java b/gptService/src/main/java/com/iformall/domain/po/WxPromotType.java index 19273fe..eec4f96 100644 --- a/gptService/src/main/java/com/iformall/domain/po/WxPromotType.java +++ b/gptService/src/main/java/com/iformall/domain/po/WxPromotType.java @@ -26,4 +26,6 @@ public class WxPromotType extends TenantEntity { private String img; @io.swagger.annotations.ApiModelProperty(value="状态EnumDeleteStatus",name="status") private Integer status; + @io.swagger.annotations.ApiModelProperty(value="描述",name="description") + private String description; } diff --git a/gptService/src/main/resources/mapper/WxPromotTitleMapper.xml b/gptService/src/main/resources/mapper/WxPromotTitleMapper.xml index 8fd6760..e2ea2e7 100644 --- a/gptService/src/main/resources/mapper/WxPromotTitleMapper.xml +++ b/gptService/src/main/resources/mapper/WxPromotTitleMapper.xml @@ -36,8 +36,8 @@ and `update_time` = #{updateTime} - - and `name` like concat('%', #{name},'%') + + and `title` like concat('%', #{title},'%') diff --git a/gptService/src/main/resources/mapper/WxPromotTypeMapper.xml b/gptService/src/main/resources/mapper/WxPromotTypeMapper.xml index 6b0bf9a..867389a 100644 --- a/gptService/src/main/resources/mapper/WxPromotTypeMapper.xml +++ b/gptService/src/main/resources/mapper/WxPromotTypeMapper.xml @@ -10,10 +10,11 @@ + - `id`,`tenant_id`,`parent_tenant_id`,`create_time`,`update_time`,`name`,`img`,`status` + `id`,`tenant_id`,`parent_tenant_id`,`create_time`,`update_time`,`name`,`img`,`status`,`description`