puhanshu
2022-02-25 e07954a546656eaea6dfbd541e99537a846d0588
五微服务增加核实不通过
2个文件已修改
5 ■■■■■ 已修改文件
springcloud_k8s_panzhihuazhihuishequ/service_community/src/main/java/com/panzhihua/service_community/entity/ComFmsServiceRecord.java 1 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
springcloud_k8s_panzhihuazhihuishequ/service_community/src/main/java/com/panzhihua/service_community/service/impl/ComFmsServiceServiceImpl.java 4 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
springcloud_k8s_panzhihuazhihuishequ/service_community/src/main/java/com/panzhihua/service_community/entity/ComFmsServiceRecord.java
@@ -52,6 +52,7 @@
        String SHTG = "审核通过,已分派服务人员";
        String FWFK = "服务反馈";
        String WCFW = "完成服务";
        String HSBTG = "核实不通过";
    }
}
springcloud_k8s_panzhihuazhihuishequ/service_community/src/main/java/com/panzhihua/service_community/service/impl/ComFmsServiceServiceImpl.java
@@ -124,14 +124,12 @@
        comFmsService.setUpdatedBy(adminDTO.getUpdatedBy());
        int num = this.baseMapper.updateById(comFmsService);
        if (num > 0) {
            if (adminDTO.getIsPass()) {
                ComFmsServiceRecord comFmsServiceRecord = new ComFmsServiceRecord();
                comFmsServiceRecord.setServiceId(comFmsService.getId());
                comFmsServiceRecord.setContent(adminDTO.getContent());
                comFmsServiceRecord.setStage(ComFmsServiceRecord.Stage.SHTG);
            comFmsServiceRecord.setStage(adminDTO.getIsPass() ? ComFmsServiceRecord.Stage.SHTG : ComFmsServiceRecord.Stage.HSBTG);
                comFmsServiceRecord.setCreatedBy(adminDTO.getUpdatedBy());
                comFmsServiceRecordDAO.insert(comFmsServiceRecord);
            }
            return R.ok();
        }
        return R.fail("操作失败,请重新尝试");