修改bug
This commit is contained in:
parent
8b24ed9663
commit
af69805023
|
|
@ -239,8 +239,11 @@ public class NuConfigSuppliersApplyController extends JeecgController<NuConfigSu
|
||||||
@RequestMapping(value = "/audit", method = {RequestMethod.PUT,RequestMethod.POST})
|
@RequestMapping(value = "/audit", method = {RequestMethod.PUT,RequestMethod.POST})
|
||||||
public Result<String> audit(@RequestBody NuConfigSuppliersApply nuConfigSuppliersApply) {
|
public Result<String> audit(@RequestBody NuConfigSuppliersApply nuConfigSuppliersApply) {
|
||||||
String orgCode = nuConfigSuppliersApplyService.audit(nuConfigSuppliersApply);
|
String orgCode = nuConfigSuppliersApplyService.audit(nuConfigSuppliersApply);
|
||||||
|
NuConfigSuppliersApply nuConfigSuppliersApplyNew = nuConfigSuppliersApplyService.getById(nuConfigSuppliersApply.getId());
|
||||||
SuppliersInfoMQDto suppliersInfoMQDto = new SuppliersInfoMQDto();
|
SuppliersInfoMQDto suppliersInfoMQDto = new SuppliersInfoMQDto();
|
||||||
BeanUtils.copyProperties(nuConfigSuppliersApply, suppliersInfoMQDto);
|
BeanUtils.copyProperties(nuConfigSuppliersApplyNew, suppliersInfoMQDto);
|
||||||
|
suppliersInfoMQDto.setApplyStatus(nuConfigSuppliersApply.getApplyStatus());
|
||||||
|
suppliersInfoMQDto.setApplyContent(nuConfigSuppliersApply.getApplyContent());
|
||||||
suppliersInfoMQDto.setSysOrgCode(orgCode);
|
suppliersInfoMQDto.setSysOrgCode(orgCode);
|
||||||
rabbitMQUtil.sendToExchange("nu.suppliers.updateAuditResult", "nu.suppliers.updateAuditResult", suppliersInfoMQDto);
|
rabbitMQUtil.sendToExchange("nu.suppliers.updateAuditResult", "nu.suppliers.updateAuditResult", suppliersInfoMQDto);
|
||||||
return Result.OK("审核成功!");
|
return Result.OK("审核成功!");
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue