zcr:数据信息统计表

This commit is contained in:
Kevin
2021-11-17 17:18:37 +08:00
parent 11baf7eda5
commit 9c2b5408ea
18 changed files with 93 additions and 108 deletions
@@ -22,7 +22,7 @@
and meet_name = #{meetName}
</if>
<if test="meetTime != null">
and meet_time = #{meetTime}
and DATE_FORMAT(meet_time,'%Y%m%d') = DATE_FORMAT(#{meetTime},'%Y%m%d')
</if>
<if test="payStandard != null and payStandard != ''">
and pay_standard = #{payStandard}
@@ -54,22 +54,22 @@
<update id="updateOne" parameterType="com.adc.da.slrs.wgdCensusZ.entity.WgdMeetCost">
update wgd_meet_cost
<set>
<if test="unit != null and unit != ''">
<if test="unit != null">
unit = #{unit},
</if>
<if test="meetName != null and meetName != ''">
<if test="meetName != null">
meet_name = #{meetName},
</if>
<if test="meetTime != null">
<if test="meetTime">
meet_time = #{meetTime},
</if>
<if test="payStandard != null and payStandard != ''">
<if test="payStandard != null">
pay_standard = #{payStandard},
</if>
<if test="payReality != null and payReality != ''">
<if test="payReality != null">
pay_reality = #{payReality},
</if>
<if test="costOutlay != null and costOutlay != ''">
<if test="costOutlay != null">
cost_outlay = #{costOutlay},
</if>
</set>
@@ -128,7 +128,7 @@
<delete id="deleteOne" parameterType="java.lang.String">
delete from wgd_meet_cost where id = #{id}
</delete>
<delete id="deleteBatch">
<delete id="deleteBatch" parameterType="java.lang.String">
delete from wgd_meet_cost where id in
<foreach collection="array" item="id" open="(" separator="," close=")">
#{id}