|
@@ -24,7 +24,7 @@
|
|
xmjsyj, zzwh, fz_date, has_onchain, created_at, updated_at, creator_id)
|
|
xmjsyj, zzwh, fz_date, has_onchain, created_at, updated_at, creator_id)
|
|
VALUES (#{id}, #{projectId}, #{jsyj}, #{jsdd}, #{area}, #{hasZz},
|
|
VALUES (#{id}, #{projectId}, #{jsyj}, #{jsdd}, #{area}, #{hasZz},
|
|
#{xmjsyj}, #{zzwh}, #{fzDate},
|
|
#{xmjsyj}, #{zzwh}, #{fzDate},
|
|
- #{hasOnchain}, now(), now(), #{creatorId})
|
|
|
|
|
|
+ false, now(), now(), #{creatorId})
|
|
</insert>
|
|
</insert>
|
|
<select id="getYdysyxz" resultMap="resMap">
|
|
<select id="getYdysyxz" resultMap="resMap">
|
|
SELECT *
|
|
SELECT *
|
|
@@ -33,16 +33,18 @@
|
|
</select>
|
|
</select>
|
|
<update id="updateYdysyxz" parameterType="com.siwei.apply.domain.vo.YdysyxzUpdateVo">
|
|
<update id="updateYdysyxz" parameterType="com.siwei.apply.domain.vo.YdysyxzUpdateVo">
|
|
UPDATE t_ydysyxz
|
|
UPDATE t_ydysyxz
|
|
- SET jsyj = #{jsyj},
|
|
|
|
- project_id = #{projectId},
|
|
|
|
- jsdd = #{jsdd},
|
|
|
|
- area = #{area},
|
|
|
|
- has_zz = #{hasZz},
|
|
|
|
- xmjsyj = #{xmjsyj},
|
|
|
|
- zzwh = #{zzwh},
|
|
|
|
- fz_date = #{fzDate},
|
|
|
|
- has_onchain = #{hasOnchain},
|
|
|
|
- update_at = now()
|
|
|
|
|
|
+ <set>
|
|
|
|
+ <if test="jsyj != null">jsyj = #{jsyj},</if>
|
|
|
|
+ <if test="projectId != null">project_id = #{projectId},</if>
|
|
|
|
+ <if test="jsdd != null">jsdd = #{jsdd},</if>
|
|
|
|
+ <if test="area != null">area = #{area},</if>
|
|
|
|
+ <if test="hasZz != null">has_zz = #{hasZz},</if>
|
|
|
|
+ <if test="xmjsyj != null">xmjsyj = #{xmjsyj},</if>
|
|
|
|
+ <if test="zzwh != null">zzwh = #{zzwh},</if>
|
|
|
|
+ <if test="fzDate != null">fz_date = #{fzDate},</if>
|
|
|
|
+ <if test="hasOnchain != null">has_onchain = #{hasOnchain},</if>
|
|
|
|
+ updated_at = now()
|
|
|
|
+ </set>
|
|
WHERE id = #{id}
|
|
WHERE id = #{id}
|
|
</update>
|
|
</update>
|
|
</mapper>
|
|
</mapper>
|