|
@@ -155,17 +155,32 @@ public class GCourtyardNetworkManagementServiceImpl extends ServicePlusImpl<GCou
|
|
|
@Override
|
|
|
public List<zipFileBo> installList(GCourtyardNetworkManagementBo bo) {
|
|
|
List<Map> list=new ArrayList<>();
|
|
|
- if (!bo.getRemarks().equals("4")&&!bo.getRemarks().equals("0"))
|
|
|
- {
|
|
|
- list=baseMapper.getAllList(bo);
|
|
|
- }
|
|
|
- else if (bo.getRemarks()=="4")
|
|
|
- {
|
|
|
+ if ("0".equals(bo.getRemarks())) {//庭院管网
|
|
|
+ list = baseMapper.getInstallList(bo);
|
|
|
+ }else if ("1".equals(bo.getRemarks())) {//路段巡查
|
|
|
+ bo.setRemarks("g_road_section_inspection");
|
|
|
+ list = baseMapper.getAllList(bo);
|
|
|
+ }else if ("2".equals(bo.getRemarks())){//阀井巡查
|
|
|
+ bo.setRemarks("g_valve_well_inspection");
|
|
|
+ list = baseMapper.getAllList(bo);
|
|
|
+ }else if ("3".equals(bo.getRemarks())){//巡检车队
|
|
|
+ bo.setRemarks("g_patrol_team");
|
|
|
+ list = baseMapper.getAllList(bo);
|
|
|
+ }else if ("4".equals(bo.getRemarks())){//调压箱巡查
|
|
|
list=baseMapper.getRegulatorBoxList(bo);
|
|
|
- }else if (bo.getRemarks().equals("0"))
|
|
|
- {
|
|
|
- list=baseMapper.getInstallList(bo);
|
|
|
+ }else if ("5".equals(bo.getRemarks())){//调压箱维护
|
|
|
+ bo.setRemarks("g_regulating_box_maintenance");
|
|
|
+ list = baseMapper.getAllList(bo);
|
|
|
}
|
|
|
+
|
|
|
+// if (!bo.getRemarks().equals("4")&&!bo.getRemarks().equals("0")){
|
|
|
+// bo.setRemarks("g_regulating_box_maintenance");
|
|
|
+// list=baseMapper.getAllList(bo);
|
|
|
+// }else if (bo.getRemarks().equals("4")){
|
|
|
+// list=baseMapper.getRegulatorBoxList(bo);
|
|
|
+// }else if (bo.getRemarks().equals("0")){
|
|
|
+// list=baseMapper.getInstallList(bo);
|
|
|
+// }
|
|
|
List<zipFileBo> zipFileBoList=new ArrayList<>();
|
|
|
|
|
|
DateFormat fmt =new SimpleDateFormat("yyyy-MM-dd");
|