|
|
@ -45,6 +45,7 @@ import org.springblade.core.boot.ctrl.BladeController; |
|
|
|
import org.springblade.core.mp.support.Condition; |
|
|
|
import org.springblade.core.mp.support.Condition; |
|
|
|
import org.springblade.core.mp.support.Query; |
|
|
|
import org.springblade.core.mp.support.Query; |
|
|
|
import org.springblade.core.tool.api.R; |
|
|
|
import org.springblade.core.tool.api.R; |
|
|
|
|
|
|
|
import org.springframework.web.bind.annotation.DeleteMapping; |
|
|
|
import org.springframework.web.bind.annotation.GetMapping; |
|
|
|
import org.springframework.web.bind.annotation.GetMapping; |
|
|
|
import org.springframework.web.bind.annotation.PatchMapping; |
|
|
|
import org.springframework.web.bind.annotation.PatchMapping; |
|
|
|
import org.springframework.web.bind.annotation.PathVariable; |
|
|
|
import org.springframework.web.bind.annotation.PathVariable; |
|
|
@ -132,6 +133,13 @@ public class BasicdataPriceController extends BladeController { |
|
|
|
Boolean res = basicdataPriceService.updatePrice(vo); |
|
|
|
Boolean res = basicdataPriceService.updatePrice(vo); |
|
|
|
return R.status(res); |
|
|
|
return R.status(res); |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
@DeleteMapping("{id}") |
|
|
|
|
|
|
|
@ApiOperationSupport(order = 5) |
|
|
|
|
|
|
|
@ApiOperation(value = "删除待生效的价格", notes = "删除待生效的价格") |
|
|
|
|
|
|
|
public R<Boolean> deletePrice(@PathVariable("id") String id) { |
|
|
|
|
|
|
|
Boolean res = basicdataPriceService.deletePrice(id); |
|
|
|
|
|
|
|
return R.status(res); |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
/** |
|
|
|
/** |
|
|
|
* 基础价格表 导入 |
|
|
|
* 基础价格表 导入 |
|
|
|