| | |
| | | #{roleId} |
| | | </foreach> |
| | | </if> |
| | | <if test="query.businessDeptId != null and query.businessDeptId != '' and query.businessDeptId != '0'"> |
| | | <if test="query.businessDeptId != null and query.businessDeptId != '' and query.businessDeptId != 0"> |
| | | AND u.business_dept_id = #{query.businessDeptId} |
| | | </if> |
| | | ORDER BY u.create_time DESC |
| | |
| | | <if test="remark != null and remark != ''">remark,</if> |
| | | <if test="ifBlack != null">ifBlack,</if> |
| | | <if test="districtId != null">districtId,</if> |
| | | <if test="businessDeptId != null">business_dept_id,</if> |
| | | create_time |
| | | )values( |
| | | <if test="userId != null and userId != ''">#{userId},</if> |
| | |
| | | <if test="remark != null and remark != ''">#{remark},</if> |
| | | <if test="ifBlack != null">#{ifBlack},</if> |
| | | <if test="districtId != null">#{districtId},</if> |
| | | <if test="businessDeptId != null">#{businessDeptId},</if> |
| | | sysdate() |
| | | ) |
| | | </insert> |
| | |
| | | <if test="disableRemark != null">disable_remark = #{disableRemark},</if> |
| | | <if test="operatingTime != null">operating_time = #{operatingTime},</if> |
| | | <if test="operatingPerson != null">operating_person = #{operatingPerson},</if> |
| | | <if test="businessDeptId != null">business_dept_id = #{businessDeptId},</if> |
| | | update_time = sysdate() |
| | | </set> |
| | | where user_id = #{userId} |