Browse Source

fix

master
lin 1 year ago
parent
commit
b9ea1a1e9d
3 changed files with 6 additions and 3 deletions
  1. +2
    -0
      gptService/src/main/java/com/iformall/domain/po/WxPromotType.java
  2. +2
    -2
      gptService/src/main/resources/mapper/WxPromotTitleMapper.xml
  3. +2
    -1
      gptService/src/main/resources/mapper/WxPromotTypeMapper.xml

+ 2
- 0
gptService/src/main/java/com/iformall/domain/po/WxPromotType.java View File

@@ -26,4 +26,6 @@ public class WxPromotType extends TenantEntity {
private String img; private String img;
@io.swagger.annotations.ApiModelProperty(value="状态EnumDeleteStatus",name="status") @io.swagger.annotations.ApiModelProperty(value="状态EnumDeleteStatus",name="status")
private Integer status; private Integer status;
@io.swagger.annotations.ApiModelProperty(value="描述",name="description")
private String description;
} }

+ 2
- 2
gptService/src/main/resources/mapper/WxPromotTitleMapper.xml View File

@@ -36,8 +36,8 @@
and `update_time` = #{updateTime} and `update_time` = #{updateTime}
</if> </if>


<if test=" null != name ">
and `name` like concat('%', #{name},'%')
<if test=" null != title ">
and `title` like concat('%', #{title},'%')
</if> </if>
<if test=" null != status "> <if test=" null != status ">


+ 2
- 1
gptService/src/main/resources/mapper/WxPromotTypeMapper.xml View File

@@ -10,10 +10,11 @@
<result column="name" jdbcType="VARCHAR" property="name"/> <result column="name" jdbcType="VARCHAR" property="name"/>
<result column="img" jdbcType="VARCHAR" property="img"/> <result column="img" jdbcType="VARCHAR" property="img"/>
<result column="status" jdbcType="INTEGER" property="status"/> <result column="status" jdbcType="INTEGER" property="status"/>
<result column="description" jdbcType="VARCHAR" property="description"/>
</resultMap> </resultMap>


<sql id="allColumns"> <sql id="allColumns">
`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`
</sql> </sql>


<sql id="dynamicWhereConditions"> <sql id="dynamicWhereConditions">


Loading…
Cancel
Save