Merge pull request '代码合并' (#30) from feature/dxf into develop

Reviewed-on: #30
feature/detach
dxfeng 3 years ago
commit 157217400f

@ -340,24 +340,14 @@
select sum(a.staff_num) as staff_num from jcl_org_staff a 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 inner join jcl_org_staffplan b on a.plan_id = b.id
WHERE a.delete_type = 0 and b.control_dimension = #{ftype} WHERE a.delete_type = 0 and b.control_dimension = #{ftype}
<if test="compId != null"> <if test="compId != null">
<<<<<<< HEAD and a.comp_id = #{compId}
and a.comp_id = #{compId} </if>
</if> <if test="deptId != null">
<if test="deptId != null"> and a.dept_id = #{deptId}
and a.dept_id = #{deptId} </if>
</if> <if test="jobId != null">
<if test="jobId != null"> and a.job_id = #{jobId}
and a.job_id = #{jobId} </if>
=======
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>
</select> </select>
</mapper> </mapper>
Loading…
Cancel
Save