|
|
|
@ -73,7 +73,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
|
|
|
<update id="updateDictData" parameterType="SysDictData"> |
|
|
|
|
update sys_dict_data |
|
|
|
|
<set> |
|
|
|
|
<if test="dictSort != null and dictSort != ''">dict_sort = #{dictSort},</if> |
|
|
|
|
<if test="dictSort != null">dict_sort = #{dictSort},</if> |
|
|
|
|
<if test="dictLabel != null and dictLabel != ''">dict_label = #{dictLabel},</if> |
|
|
|
|
<if test="dictValue != null and dictValue != ''">dict_value = #{dictValue},</if> |
|
|
|
|
<if test="dictType != null and dictType != ''">dict_type = #{dictType},</if> |
|
|
|
@ -81,7 +81,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
|
|
|
<if test="listClass != null">list_class = #{listClass},</if> |
|
|
|
|
<if test="isDefault != null and isDefault != ''">is_default = #{isDefault},</if> |
|
|
|
|
<if test="status != null">status = #{status},</if> |
|
|
|
|
<if test="remark != null">remark = #{remark},</if> |
|
|
|
|
<if test="remark != null and remark != ''">remark = #{remark},</if> |
|
|
|
|
<if test="updateBy != null and updateBy != ''">update_by = #{updateBy},</if> |
|
|
|
|
update_time = sysdate() |
|
|
|
|
</set> |
|
|
|
@ -94,7 +94,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
|
|
|
|
|
|
|
|
<insert id="insertDictData" parameterType="SysDictData"> |
|
|
|
|
insert into sys_dict_data( |
|
|
|
|
<if test="dictSort != null and dictSort != ''">dict_sort,</if> |
|
|
|
|
<if test="dictSort != null">dict_sort,</if> |
|
|
|
|
<if test="dictLabel != null and dictLabel != ''">dict_label,</if> |
|
|
|
|
<if test="dictValue != null and dictValue != ''">dict_value,</if> |
|
|
|
|
<if test="dictType != null and dictType != ''">dict_type,</if> |
|
|
|
|