|
|
@@ -120,6 +120,7 @@ public class PointGoodsController extends BladeController {
|
|
|
@PostMapping("/submit")
|
|
|
@ApiOperationSupport(order = 6)
|
|
|
@ApiOperation(value = "新增或修改", notes = "传入pointGoods")
|
|
|
+ @Transactional
|
|
|
public R submit(@Valid @RequestBody PointGoods pointGoods) {
|
|
|
return R.status(updatePointGoodsAndActiveId(pointGoods.getActiveId(),pointGoods.getId())
|
|
|
&& pointGoodsService.saveOrUpdate(pointGoods));
|