jsk 竣工未归还查询-分公司下拉进行权限改造

This commit is contained in:
jiask 2026-01-09 15:05:42 +08:00
parent 2c4db1d75f
commit 89e2d0f8f2
2 changed files with 5 additions and 0 deletions

View File

@ -608,6 +608,8 @@ public class SelectServiceImpl implements SelectService {
*/
@Override
public List<MaterialRetainedEquipmentInfo> getImpUnitNameList(MaterialRetainedEquipmentInfo bean) {
Long companyId=typeService.getUserDeptId();
bean.setCompanyId(companyId.intValue());
return mapper.getImpUnitNameList(bean);
}

View File

@ -1427,6 +1427,9 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
<if test="proName != null and proName != ''">
AND bp.pro_name LIKE CONCAT('%', #{proName}, '%')
</if>
<if test="companyId != null and companyId != ''">
AND bp.company_id=#{companyId}
</if>
<if test="projectIdList != null and projectIdList.size() > 0">
AND bp.external_id in
<foreach item="item" collection="projectIdList" open="(" separator="," close=")">