Ver código fonte

问题处理

yzc 1 ano atrás
pai
commit
e5dcd406e6

+ 3 - 3
ruoyi-system/src/main/resources/mapper/system/SysDeptMapper.xml

@@ -186,9 +186,9 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
  			<if test="email != null">email = #{email},</if>
  			<if test="status != null and status != ''">status = #{status},</if>
 			<if test="updateBy != null and updateBy != ''">update_by = #{updateBy},</if>
-			<if test="nature != null">#{nature},</if>
-			<if test="jdSubjectCode != null">#{jd_subject_code},</if>
-			<if test="jdSubjectName != null">#{jd_subject_name},</if>
+			<if test="nature != null">nature = #{nature},</if>
+			<if test="jdSubjectCode != null">jd_subject_code = #{jdSubjectCode},</if>
+			<if test="jdSubjectName != null">jd_subject_name = #{jdSubjectName},</if>
 			update_time = sysdate(),
 			jst_distributor = #{jstDistributor}
 		</set>