Commit 853731bb authored by chenzhao's avatar chenzhao

Merge remote-tracking branch 'origin/developer_bw' into developer_bw

parents c75d2e66 72d60686
...@@ -64,12 +64,10 @@ ...@@ -64,12 +64,10 @@
AND hph.project_address_name LIKE concat(concat('%', #{map.projectAddress}), '%') AND hph.project_address_name LIKE concat(concat('%', #{map.projectAddress}), '%')
</if> </if>
<if test="map.type != null"> <if test="map.type != null">
and ( hbga.basic_grid_node is not null AND ( (hbga.basic_grid_node IS NOT NULL AND hbga.basic_grid_node != 'jxsAdmin' )
or hbga.basic_grid_node = 'all' OR hbga.power_station_area_status IS NOT NULL
or hbga.power_station_area_status is not null OR hbga.power_station_design_status IS NOT NULL
or hbga.power_station_design_status is not null OR hbga.power_station_engineering_status IS NOT NULL )
or hbga.power_station_engineering_status is not null
) and hbga.basic_grid_node != 'jxsAdmin'
</if> </if>
<if test="map.ownersName != null and map.ownersName !=''"> <if test="map.ownersName != null and map.ownersName !=''">
AND hph.owners_name LIKE concat(concat('%', #{map.ownersName}), '%') AND hph.owners_name LIKE concat(concat('%', #{map.ownersName}), '%')
......
...@@ -208,11 +208,11 @@ public class HygfRectificationOrderController extends BaseController { ...@@ -208,11 +208,11 @@ public class HygfRectificationOrderController extends BaseController {
for (Long aLong : reginParams.getUserModel().getOrgRoleSeqs().keySet()) { for (Long aLong : reginParams.getUserModel().getOrgRoleSeqs().keySet()) {
List<Long> longs = reginParams.getUserModel().getOrgRoleSeqs().get(aLong); List<Long> longs = reginParams.getUserModel().getOrgRoleSeqs().get(aLong);
page.getRecords().forEach(e->{ page.getRecords().forEach(e->{
if (longs.contains(areaId) && e.getRectificationSource().equals("bw-area") && e.getRectificationSource().equals(rectificationSource)){ if (longs.contains(areaId) && e.getRectificationSource().equals("bw-area") &&rectificationSource.contains(e.getRectificationSource())){
e.setIsAudit("0"); e.setIsAudit("0");
}else if (longs.contains(engineeringId) && e.getRectificationSource().equals("bw-engineering")&& e.getRectificationSource().equals(rectificationSource)){ }else if (longs.contains(engineeringId) && e.getRectificationSource().equals("bw-engineering")&& rectificationSource.contains(e.getRectificationSource())){
e.setIsAudit("0"); e.setIsAudit("0");
}else if (longs.contains(designId) && e.getRectificationSource().equals("bw-design")&& e.getRectificationSource().equals(rectificationSource)){ }else if (longs.contains(designId) && e.getRectificationSource().equals("bw-design")&& rectificationSource.contains(e.getRectificationSource())){
e.setIsAudit("0"); e.setIsAudit("0");
}else if (longs.contains(delerKfId)){ }else if (longs.contains(delerKfId)){
e.setIsAudit("0"); e.setIsAudit("0");
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment