lin 1 rok temu
rodzic
commit
b9ea1a1e9d
3 zmienionych plików z 6 dodań i 3 usunięć
  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 Wyświetl plik

@@ -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;
}

+ 2
- 2
gptService/src/main/resources/mapper/WxPromotTitleMapper.xml Wyświetl plik

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

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


+ 2
- 1
gptService/src/main/resources/mapper/WxPromotTypeMapper.xml Wyświetl plik

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

<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 id="dynamicWhereConditions">


Ładowanie…
Anuluj
Zapisz