jsk 竣工未归还查询-分公司下拉进行权限改造
This commit is contained in:
parent
2c4db1d75f
commit
89e2d0f8f2
|
|
@ -608,6 +608,8 @@ public class SelectServiceImpl implements SelectService {
|
||||||
*/
|
*/
|
||||||
@Override
|
@Override
|
||||||
public List<MaterialRetainedEquipmentInfo> getImpUnitNameList(MaterialRetainedEquipmentInfo bean) {
|
public List<MaterialRetainedEquipmentInfo> getImpUnitNameList(MaterialRetainedEquipmentInfo bean) {
|
||||||
|
Long companyId=typeService.getUserDeptId();
|
||||||
|
bean.setCompanyId(companyId.intValue());
|
||||||
return mapper.getImpUnitNameList(bean);
|
return mapper.getImpUnitNameList(bean);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -1427,6 +1427,9 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
||||||
<if test="proName != null and proName != ''">
|
<if test="proName != null and proName != ''">
|
||||||
AND bp.pro_name LIKE CONCAT('%', #{proName}, '%')
|
AND bp.pro_name LIKE CONCAT('%', #{proName}, '%')
|
||||||
</if>
|
</if>
|
||||||
|
<if test="companyId != null and companyId != ''">
|
||||||
|
AND bp.company_id=#{companyId}
|
||||||
|
</if>
|
||||||
<if test="projectIdList != null and projectIdList.size() > 0">
|
<if test="projectIdList != null and projectIdList.size() > 0">
|
||||||
AND bp.external_id in
|
AND bp.external_id in
|
||||||
<foreach item="item" collection="projectIdList" open="(" separator="," close=")">
|
<foreach item="item" collection="projectIdList" open="(" separator="," close=")">
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue