master
kira 8 years ago
parent 6cd26407b3
commit 62d887cabd

@ -100,10 +100,10 @@ public class CustomServiceImpl implements CustomService {
@Override @Override
public void resend(String report_id) { public void resend(String report_id) {
JSONObject report = customReportsMapper.findOne(report_id); // JSONObject report = customReportsMapper.findOne(report_id);
if (report.getIntValue("report_status") != 2) { // if (report.getIntValue("report_status") != 2) {
throw new BadRequestException("order can't report"); // throw new BadRequestException("order can't report");
} // }
customSupport.sendCustom(report_id); customSupport.sendCustom(report_id);
} }

Loading…
Cancel
Save