fwq
2023-11-30 721646fa9d90c0ca585b9b0f97f1929ac50af7a1
回调操作
1个文件已修改
4 ■■■ 已修改文件
phi_platform_user/src/main/java/com/hx/phip/service/impl/UserServiceImpl.java 4 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
phi_platform_user/src/main/java/com/hx/phip/service/impl/UserServiceImpl.java
@@ -3588,7 +3588,9 @@
        } else if (marketingReturnDto.getResult().equals(MarketingReturnDto.REJECT)) {
            sqlMap.put("approveStatus", 2);
        }
        sqlSentence.sqlSentence(" approveStatus = #{m.approveStatus} WHERE id = #{m.id} AND approveStatus = 0", sqlMap);
        sqlMap.put("approveId",marketingReturnDto.getApplyId());
        sqlSentence.sqlSentence(" approveStatus = #{m.approveStatus},approveId = #{m.approveId} " +
                "  WHERE id = #{m.id} AND approveStatus = 0 ", sqlMap);
        if (userDiagnosisDoctorMapper.updateWhere(sqlSentence) != 1) {
            logger.error("点诊记录回调,修改审核状态失败:" + JSON.toJSONString(marketingReturnDto));
            throw new PlatTipsException(PlatformCode.ERROR_TIPS, "修改审核状态失败");