Merge remote-tracking branch 'origin/master'

master
philip 3 years ago
commit c15ca9d55d

@ -506,7 +506,11 @@ public class AbnormalBillServiceImpl extends ServiceImpl<AbnormalBillMapper, Abn
String local = LocaleContextHolder.getLocale().getLanguage();
abnormalBillDispose.setHandle(HandleEnum.ABNORMAL_BILL_DISPOSE.getHandle(site,abnormalBill.getAbnormalNo()));
if(!StringUtil.isBlank(abnormalBill.getStatus())){
abnormalBill.setStatus(abnormalBill.getStatus());
}else{
abnormalBill.setStatus(Constants.SHUT_DOWN);
}
abnormalBillDispose.setClosedUser(user);
abnormalBillDispose.setClosedDateTime(now);
// this.anomalyCreatedAndSendMessage(abnormalBill,abnormalBillDispose);

@ -86,17 +86,17 @@ public class SystemJobController {
* @param systemJobDTO
* @return null
*/
@PostMapping
@PostMapping("/save")
public R save(@RequestBody SystemJobDTO systemJobDTO) {
return R.ok(systemJobService.save(systemJobDTO));
}
/**
*
* @param systemJob
* @param systemJobDTO
* @return null
*/
@PutMapping
@PostMapping("/update")
public R updateById(@RequestBody SystemJobDTO systemJobDTO) {
return R.ok(systemJobService.updateById(systemJobDTO));
}
@ -107,8 +107,8 @@ public class SystemJobController {
* @return 0 1
*/
@ResponseBody
@RequestMapping(method = RequestMethod.DELETE, value = "/{id:.+}")
public R removeById(@PathVariable("id") String id){
@GetMapping("/delete")
public R removeById(String id){
return R.ok(systemJobService.removeById(id));
}

Loading…
Cancel
Save