日计划-计量
This commit is contained in:
@ -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")
|
||||||
|
|||||||
Reference in New Issue
Block a user