|
|
|
@ -28,6 +28,7 @@
|
|
|
|
|
<result property="CDC_JYM" column="CDC_JYM" jdbcType="VARCHAR"/>
|
|
|
|
|
<result property="YSBZK_RKSJ" column="YSBZK_RKSJ" jdbcType="VARCHAR"/>
|
|
|
|
|
<result property="YSBZK_GXSJ" column="YSBZK_GXSJ" jdbcType="VARCHAR"/>
|
|
|
|
|
<result property="STATUS" column="STATUS" jdbcType="VARCHAR"/>
|
|
|
|
|
</resultMap>
|
|
|
|
|
|
|
|
|
|
<select id="selectVSySydwByZJLID" parameterType="java.lang.String" resultMap="BaseResultMap">
|
|
|
|
@ -64,6 +65,8 @@
|
|
|
|
|
<if test=" CDC_JYM != null and CDC_JYM != '' ">CDC_JYM ,</if>
|
|
|
|
|
<if test=" YSBZK_RKSJ != null and YSBZK_RKSJ != '' ">YSBZK_RKSJ,</if>
|
|
|
|
|
<if test=" YSBZK_GXSJ != null and YSBZK_GXSJ != '' ">YSBZK_GXSJ,</if>
|
|
|
|
|
<if test=" STATUS != null and STATUS != '' ">STATUS,</if>
|
|
|
|
|
|
|
|
|
|
</trim>
|
|
|
|
|
<trim prefix="values (" suffix=")" suffixOverrides=",">
|
|
|
|
|
<if test="ZJLID != null and ZJLID != '' ">#{ZJLID },</if>
|
|
|
|
@ -89,6 +92,7 @@
|
|
|
|
|
<if test="CDC_JYM != null and CDC_JYM != '' ">#{CDC_JYM },</if>
|
|
|
|
|
<if test="YSBZK_RKSJ != null and YSBZK_RKSJ != '' ">#{YSBZK_RKSJ},</if>
|
|
|
|
|
<if test="YSBZK_GXSJ != null and YSBZK_GXSJ != '' ">#{YSBZK_GXSJ},</if>
|
|
|
|
|
<if test="STATUS != null and STATUS != '' ">#{STATUS},</if>
|
|
|
|
|
</trim>
|
|
|
|
|
</insert>
|
|
|
|
|
|
|
|
|
@ -118,8 +122,13 @@
|
|
|
|
|
<if test="CDC_JYM != null and CDC_JYM != '' ">CDC_JYM = #{CDC_JYM },</if>
|
|
|
|
|
<if test="YSBZK_RKSJ != null and YSBZK_RKSJ != '' ">YSBZK_RKSJ = #{YSBZK_RKSJ},</if>
|
|
|
|
|
<if test="YSBZK_GXSJ != null and YSBZK_GXSJ != '' ">YSBZK_GXSJ = #{YSBZK_GXSJ},</if>
|
|
|
|
|
<if test="STATUS != null and STATUS != '' ">STATUS = #{STATUS},</if>
|
|
|
|
|
</trim>
|
|
|
|
|
where ZJLID = #{ZJLID}
|
|
|
|
|
</update>
|
|
|
|
|
|
|
|
|
|
<select id="countSydw" resultType="int">
|
|
|
|
|
select count(*)
|
|
|
|
|
from v_sy_sydw limit 1
|
|
|
|
|
</select>
|
|
|
|
|
</mapper>
|
|
|
|
|