| | |
| | | } 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, "修改审核状态失败"); |