| | |
| | | boolean v = productOrderService.removeById(id); |
| | | if (v) { |
| | | if (!businessRecordsService.recordBusinessData("删除合同:"+id,id.toString())) { |
| | | log.error(String.format("删除合同编号为:{0}的数据后,写入业务日志失败!",id)); |
| | | //log.error(String.format("删除合同编号为:{0}的数据后,写入业务日志失败!",id)); |
| | | |
| | | } |
| | | return ResultBody.ok().msg("删除成功"); |
| | |
| | | if (resultBody.getCode()==0) { |
| | | String enablad=(MapUtils.getBoolean(params, "enabled"))?"启用":"禁用"; |
| | | if (!businessRecordsService.recordBusinessData("修改合同状态为:"+enablad,enablad)) { |
| | | log.error(String.format("修改合同状态为:{0},写入业务日志失败!合同管理id为:{1}",enablad,MapUtils.getString(params,"id"))); |
| | | //log.error(String.format("修改合同状态为:{0},写入业务日志失败!合同管理id为:{1}",enablad,MapUtils.getString(params,"id"))); |
| | | } |
| | | } |
| | | return resultBody; |