|
|
@ -10,12 +10,13 @@ |
|
|
|
<result property="pubDate" column="pub_date" jdbcType="TIMESTAMP"/> |
|
|
|
<result property="createUser" column="create_user" jdbcType="VARCHAR"/> |
|
|
|
<result property="interfaceAddress" column="interface_address" jdbcType="VARCHAR"/> |
|
|
|
<result property="description" column="description" jdbcType="VARCHAR"/> |
|
|
|
</resultMap> |
|
|
|
|
|
|
|
<sql id="Base_Column_List"> |
|
|
|
y.id |
|
|
|
,y.name,y.pub_date, |
|
|
|
y.create_user,y.interface_address |
|
|
|
y.create_user,y.interface_address,description |
|
|
|
</sql> |
|
|
|
<select id="findSceneList" resultType="com.kms.yg.znjg.vo.SySceneVo"> |
|
|
|
SELECT |
|
|
@ -28,6 +29,9 @@ |
|
|
|
<if test="syScene.name != null"> |
|
|
|
AND name LIKE CONCAT(CONCAT('%', TRIM(#{syScene.name,jdbcType=VARCHAR})), '%') |
|
|
|
</if> |
|
|
|
<if test="syScene.description != null"> |
|
|
|
AND description LIKE CONCAT(CONCAT('%', TRIM(#{syScene.description,jdbcType=VARCHAR})), '%') |
|
|
|
</if> |
|
|
|
<if test="syScene.interfaceAddress != null"> |
|
|
|
AND interface_address LIKE CONCAT(CONCAT('%', TRIM(#{syScene.interfaceAddress,jdbcType=VARCHAR})), '%') |
|
|
|
</if> |
|
|
|