日计划-计量

This commit is contained in:
2026-01-19 18:05:41 +08:00
parent 415708937d
commit 2127cd0f47

View File

@ -178,7 +178,21 @@ public class DemandController {
pdp.setAddSign("N"); pdp.setAddSign("N");
} }
} }
return this.add(temp); return R.ok(dataService.insert(temp,new DataOperationListener<UpdateLngPngDemandDto>() {
@Override
public UpdateLngPngDemandDto before(DataOperationContent<UpdateLngPngDemandDto> content) {
return null;
}
@Override
public UpdateLngPngDemandDto after(DataOperationContent<UpdateLngPngDemandDto> content) {
lngPngDemand.setLastVerSign("N");
demandService.updateById(lngPngDemand);
return null;
}
}));
} }
@GetMapping(value="/compare") @GetMapping(value="/compare")