|
@@ -36,7 +36,7 @@
|
|
|
|
|
|
<sql id="Base_Column_List">
|
|
<sql id="Base_Column_List">
|
|
dept_id
|
|
dept_id
|
|
- ,dept_name,APP_ID,INS_CODE,dept_origin_id,dept_parent_id,dept_parent_name,CREATE_DATE,CREATE_USER,create_user_name,updateTime,updateUser,updateUserName,status,dept_type
|
|
|
|
|
|
+ ,dept_name,APP_ID,INS_CODE,dept_origin_id,dept_parent_id,dept_parent_name,CREATE_DATE,CREATE_USER,create_user_name,update_date,update_user,update_user_name,status,dept_type
|
|
</sql>
|
|
</sql>
|
|
|
|
|
|
<delete id="deleteByPrimaryKey" parameterType="SysDepartment">
|
|
<delete id="deleteByPrimaryKey" parameterType="SysDepartment">
|
|
@@ -79,34 +79,34 @@
|
|
<if test="deptName != null and deptName!=''">
|
|
<if test="deptName != null and deptName!=''">
|
|
dept_name = #{ deptName },
|
|
dept_name = #{ deptName },
|
|
</if>
|
|
</if>
|
|
- <if test="appId != null appId!=''">
|
|
|
|
|
|
+ <if test="appId != null and appId!=''">
|
|
APP_ID = #{ appId },
|
|
APP_ID = #{ appId },
|
|
</if>
|
|
</if>
|
|
- <if test="insCode != null insCode!=''">
|
|
|
|
|
|
+ <if test="insCode != null and insCode!=''">
|
|
INS_CODE = #{ insCode },
|
|
INS_CODE = #{ insCode },
|
|
</if>
|
|
</if>
|
|
- <if test="depOriginId != null depOriginId!=''">
|
|
|
|
|
|
+ <if test="depOriginId != null and depOriginId!=''">
|
|
dept_origin_id = #{ depOriginId },
|
|
dept_origin_id = #{ depOriginId },
|
|
</if>
|
|
</if>
|
|
- <if test="depParentId != null depParentId!=''">
|
|
|
|
|
|
+ <if test="depParentId != null and depParentId!=''">
|
|
dept_parent_id = #{ depParentId },
|
|
dept_parent_id = #{ depParentId },
|
|
</if>
|
|
</if>
|
|
- <if test="depParentName != null depParentName!=''">
|
|
|
|
|
|
+ <if test="depParentName != null and depParentName!=''">
|
|
dept_parent_name = #{ depParentName },
|
|
dept_parent_name = #{ depParentName },
|
|
</if>
|
|
</if>
|
|
- <if test="updateTime != null updateTime!=''">
|
|
|
|
|
|
+ <if test="updateTime != null">
|
|
update_date = #{updateTime},
|
|
update_date = #{updateTime},
|
|
</if>
|
|
</if>
|
|
- <if test="updateUser != null updateUser!=''">
|
|
|
|
|
|
+ <if test="updateUser != null and updateUser!=''">
|
|
update_user = #{updateUser},
|
|
update_user = #{updateUser},
|
|
</if>
|
|
</if>
|
|
- <if test="updateUserName != null updateUserName!=''">
|
|
|
|
|
|
+ <if test="updateUserName != null and updateUserName!=''">
|
|
update_user_name = #{updateUserName},
|
|
update_user_name = #{updateUserName},
|
|
</if>
|
|
</if>
|
|
- <if test="status != null status!=''">
|
|
|
|
|
|
+ <if test="status != null and status!=''">
|
|
status = #{ status },
|
|
status = #{ status },
|
|
</if>
|
|
</if>
|
|
- <if test="deptType != null deptType!=''">
|
|
|
|
|
|
+ <if test="deptType != null and deptType!=''">
|
|
dept_type = #{deptType},
|
|
dept_type = #{deptType},
|
|
</if>
|
|
</if>
|
|
</set>
|
|
</set>
|