|
@@ -72,7 +72,7 @@ public class ShopWarehouseController extends BaseController<ShopWarehouse> imple
|
|
|
* 查询库房详情
|
|
|
*/
|
|
|
@Override
|
|
|
- @GetMapping("/getWarehouseFormId")
|
|
|
+ @GetMapping("/getFormId")
|
|
|
public RPCBaseResponse<ShopWarehouseVo> getFormId(String id) {
|
|
|
RPCBaseResponse<ShopWarehouse> shopWarehouseRPCBaseResponse = super.getId(id);
|
|
|
RPCBaseResponse<ShopWarehouseVo> shopWarehouseVoRPCBaseResponse = new RPCBaseResponse<>();
|
|
@@ -84,7 +84,7 @@ public class ShopWarehouseController extends BaseController<ShopWarehouse> imple
|
|
|
* 更新库房信息
|
|
|
*/
|
|
|
@Override
|
|
|
- @PostMapping("/updateWarehouseFormId")
|
|
|
+ @PostMapping("/updateTargetFormId")
|
|
|
public RPCBaseResponse<ShopWarehouseVo> updateTargetFormId(@RequestBody ShopWarehouseDto entity) {
|
|
|
ShopWarehouse shopWarehouse = new ShopWarehouse();
|
|
|
BeanUtils.copyProperties(entity, shopWarehouse);
|
|
@@ -98,7 +98,7 @@ public class ShopWarehouseController extends BaseController<ShopWarehouse> imple
|
|
|
* 新增库房信息
|
|
|
*/
|
|
|
@Override
|
|
|
- @PostMapping("/saveWarehouseForm")
|
|
|
+ @PostMapping("/saveFormTarget")
|
|
|
public RPCBaseResponse<ShopWarehouseVo> saveFormTarget(@RequestBody ShopWarehouseDto entity) {
|
|
|
ShopWarehouse shopWarehouse = new ShopWarehouse();
|
|
|
BeanUtils.copyProperties(entity, shopWarehouse);
|
|
@@ -112,7 +112,7 @@ public class ShopWarehouseController extends BaseController<ShopWarehouse> imple
|
|
|
* 删除库房信息
|
|
|
*/
|
|
|
@Override
|
|
|
- @PostMapping("/deleteWarehouseFormId")
|
|
|
+ @PostMapping("/deleteTargetFormId")
|
|
|
public RPCBaseResponse<ShopWarehouseVo> deleteTargetFormId(@RequestBody List<String> ids) {
|
|
|
RPCBaseResponse<ShopWarehouse> shopWarehouseRPCBaseResponse = super.deleteTargetById(ids);
|
|
|
RPCBaseResponse<ShopWarehouseVo> shopWarehouseVoRPCBaseResponse = new RPCBaseResponse<>();
|
|
@@ -124,7 +124,7 @@ public class ShopWarehouseController extends BaseController<ShopWarehouse> imple
|
|
|
* 查询所有库房信息
|
|
|
*/
|
|
|
@Override
|
|
|
- @GetMapping("/getWarehouseForm")
|
|
|
+ @GetMapping("/getAllForm")
|
|
|
public RPCBaseResponse<List<ShopWarehouseVo>> getAllForm() {
|
|
|
RPCBaseResponse<List<ShopWarehouse>> shopWarehouseRPCBaseResponse = super.listAll();
|
|
|
RPCBaseResponse<List<ShopWarehouseVo>> shopWarehouseVoRPCBaseResponse = new RPCBaseResponse<>();
|