代码合并

pull/30/head
dxfeng 3 years ago
parent 19cccb9345
commit 40f1f097e6

@ -340,24 +340,14 @@
select sum(a.staff_num) as staff_num from jcl_org_staff a
inner join jcl_org_staffplan b on a.plan_id = b.id
WHERE a.delete_type = 0 and b.control_dimension = #{ftype}
<if test="compId != null">
<<<<<<< HEAD
and a.comp_id = #{compId}
</if>
<if test="deptId != null">
and a.dept_id = #{deptId}
</if>
<if test="jobId != null">
and a.job_id = #{jobId}
=======
and t.comp_id = #{compId}
</if>
<if test="deptId != null">
and t.dept_id = #{deptId}
</if>
<if test="jobId != null">
and t.job_id = #{jobId}
>>>>>>> 162e591 (分部转移、部门转移、岗位合并修复1021)
</if>
<if test="compId != null">
and a.comp_id = #{compId}
</if>
<if test="deptId != null">
and a.dept_id = #{deptId}
</if>
<if test="jobId != null">
and a.job_id = #{jobId}
</if>
</select>
</mapper>
Loading…
Cancel
Save