|
@@ -54,7 +54,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
left join sys_dept d on p.dept_id = d.dept_id and p.is_del = '0'
|
|
left join sys_dept d on p.dept_id = d.dept_id and p.is_del = '0'
|
|
left join sys_dict_data sdd on p.project_status = sdd.dict_value and sdd.dict_type = 'project_status'
|
|
left join sys_dict_data sdd on p.project_status = sdd.dict_value and sdd.dict_type = 'project_status'
|
|
<where>
|
|
<where>
|
|
- <if test="deptId != null">and p.dept_id = #{deptId}</if>
|
|
|
|
|
|
+ <if test="sysDeptId != null">and p.dept_id = #{sysDeptId}</if>
|
|
<if test="name != null and name != ''"> and p.name like concat('%', #{name}, '%')</if>
|
|
<if test="name != null and name != ''"> and p.name like concat('%', #{name}, '%')</if>
|
|
<if test="industryCategory != null and industryCategory != ''"> and p.industry_category = #{industryCategory}</if>
|
|
<if test="industryCategory != null and industryCategory != ''"> and p.industry_category = #{industryCategory}</if>
|
|
<if test="industry != null and industry != ''"> and p.industry = #{industry}</if>
|
|
<if test="industry != null and industry != ''"> and p.industry = #{industry}</if>
|