提交修改
This commit is contained in:
parent
a7696e3611
commit
a02970b390
@ -219,6 +219,14 @@ public class AdminProductController {
|
|||||||
return R.ok();
|
return R.ok();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// /mm/product/insertOrUpadate 只更新商品信息
|
||||||
|
@RequestMapping("/onlyUpdateProduct")
|
||||||
|
public R onlyUpdate(@RequestBody VvProductEntity vvProductEntity) {
|
||||||
|
vvProductDao.insertOrUpdateVvProduct(vvProductEntity);
|
||||||
|
return R.ok();
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
@RequestMapping("/insertOrUpadate")
|
@RequestMapping("/insertOrUpadate")
|
||||||
public R insertOrUpadate(@RequestBody VvProductDTO vvProductDTO) {
|
public R insertOrUpadate(@RequestBody VvProductDTO vvProductDTO) {
|
||||||
Long productId = vvProductDTO.getId() == null ? -1L : vvProductDTO.getId();
|
Long productId = vvProductDTO.getId() == null ? -1L : vvProductDTO.getId();
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user