Commit 46a7c797 authored by chenhao's avatar chenhao

Merge branch 'developer' of http://39.98.45.134:8090/moa/amos-boot-biz into developer

parents 055ae192 01a6fbad
...@@ -65,8 +65,8 @@ ...@@ -65,8 +65,8 @@
( (
select select
i.INSTANCE_ID instanceId, i.INSTANCE_ID instanceId,
i.GROUP_CODE groupCode, i.GROUP_CODE groupCode
<foreach collection="fieldNames" item="value" index="key" separator=","> <foreach collection="fieldNames" item="value" open="," index="key" separator=",">
MAX( CASE WHEN i.FIELD_NAME = #{key} THEN i.FIELD_VALUE END) ${key} MAX( CASE WHEN i.FIELD_NAME = #{key} THEN i.FIELD_VALUE END) ${key}
</foreach> </foreach>
from from
......
...@@ -149,10 +149,10 @@ ...@@ -149,10 +149,10 @@
AND d.update_date BETWEEN '${startTime}' AND '${endTime}' AND d.update_date BETWEEN '${startTime}' AND '${endTime}'
</if> </if>
<if test="buildId!=null"> <if test="buildId!=null">
AND d.buildId in AND d.buildId in #{buildId}
<foreach item="item" index="index" collection="buildId" open="(" separator="," close=")"> <!-- <foreach item="item" index="index" collection="buildId" open="(" separator="," close=")">
#{item} #{item}
</foreach> </foreach>-->
</if> </if>
</where> </where>
</select> </select>
...@@ -203,10 +203,11 @@ ...@@ -203,10 +203,11 @@
AND d.create_date BETWEEN '${startTime}' AND '${endTime}' AND d.create_date BETWEEN '${startTime}' AND '${endTime}'
</if> </if>
<if test="buildId!=null"> <if test="buildId!=null">
AND d.buildId in #{buildId}
AND d.buildId in AND d.buildId in
<foreach item="item" index="index" collection="buildId" open="(" separator="," close=")"> <!-- <foreach item="item" index="index" collection="buildId" open="(" separator="," close=")">
#{item} #{item}
</foreach> </foreach>-->
</if> </if>
</where> </where>
ORDER BY d.create_date desc ORDER BY d.create_date desc
......
...@@ -2908,7 +2908,7 @@ ...@@ -2908,7 +2908,7 @@
INSERT INTO `wl_form_group_column`(`id`, `field_name`, `field_label`, `data_type`, `group_id`, `query_strategy`, `not_null`, `group_code`, `creator_id`) VALUES (133000000327, 'storage_plan', '储罐区平面图图纸', 'String', 132828674824, 'eq', b'0', 'r_tank', 2581805); INSERT INTO `wl_form_group_column`(`id`, `field_name`, `field_label`, `data_type`, `group_id`, `query_strategy`, `not_null`, `group_code`, `creator_id`) VALUES (133000000327, 'storage_plan', '储罐区平面图图纸', 'String', 132828674824, 'eq', b'0', 'r_tank', 2581805);
INSERT INTO `wl_form_group_column`(`id`, `field_name`, `field_label`, `data_type`, `group_id`, `query_strategy`, `not_null`, `group_code`, `creator_id`) VALUES (133000000328, 'company_code', '消防设施情况', 'String', 132828674824, 'eq', b'0', 'r_tank', 2581805); INSERT INTO `wl_form_group_column`(`id`, `field_name`, `field_label`, `data_type`, `group_id`, `query_strategy`, `not_null`, `group_code`, `creator_id`) VALUES (133000000328, 'fire_situation', '消防设施情况', 'String', 132828674824, 'eq', b'0', 'r_tank', 2581805);
</sql> </sql>
</changeSet> </changeSet>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment