This commit is contained in:
hayu 2025-09-17 21:44:17 +08:00
parent 99b47f9fed
commit e962757e41
3 changed files with 7 additions and 0 deletions

View File

@ -95,4 +95,9 @@ public class ProAuthorizeInfo {
private String keyWord; private String keyWord;
private String code; private String code;
/**
* 项目部名称
*/
private String projectDept;
} }

View File

@ -147,6 +147,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
</select> </select>
<select id="selectProAuthorizeInfoView" resultType="com.bonus.material.materialStation.domain.ProAuthorizeInfo"> <select id="selectProAuthorizeInfoView" resultType="com.bonus.material.materialStation.domain.ProAuthorizeInfo">
SELECT pai.id, SELECT pai.id,
dfs.project_dept as projectDept,
pai.lease_id as leaseId, pai.lease_id as leaseId,
pai.team_id as teamId, pai.team_id as teamId,
pai.team_name as teamName, pai.team_name as teamName,
@ -160,6 +161,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
left join tm_task_agreement tta on lai.task_id = tta.task_id left join tm_task_agreement tta on lai.task_id = tta.task_id
left join bm_unit bu on bu.unit_id = lai.unit_id left join bm_unit bu on bu.unit_id = lai.unit_id
left join bm_project bp on bp.pro_id = lai.project_id left join bm_project bp on bp.pro_id = lai.project_id
LEFT JOIN data_center.dx_fb_son dfs on dfs.id=bp.external_id
left join sys_user su on pai.create_by = su.user_id left join sys_user su on pai.create_by = su.user_id
WHERE pai.lease_id = #{leaseId} WHERE pai.lease_id = #{leaseId}
</select> </select>