Fancy
2024-08-22 4a36a12d40453f7686e5f2664f19601b9f6b9ae2
pms-parent/pms-web-product/src/main/java/com/dy/pmsProduct/order/OrderCtrl.java
@@ -24,10 +24,12 @@
@RequestMapping(path="order")
public class OrderCtrl {
    private OrderSv sv;
    @Autowired
    public void setAssemblySv(OrderSv orderSv) {
        this.sv = orderSv;
    }
    @PostMapping(path="save")
    @SsoPowerAop(power = "10200001")
    @Log("保存订单信息")
@@ -42,6 +44,7 @@
    /**
     * 更新
     *
     * @param order
     * @return
     */
@@ -59,6 +62,7 @@
    /**
     * 删除订单信息
     *
     * @param id
     * @return
     */
@@ -76,6 +80,7 @@
    /**
     * 根据ID查询
     *
     * @return
     */
    @GetMapping(path="one")
@@ -88,6 +93,7 @@
    /**
     * 分页查询
     *
     * @param vo
     * @return
     */
@@ -101,6 +107,7 @@
    /**
     * 查询所有订单
     *
     * @return
     */
    @GetMapping(path="all")
@@ -113,8 +120,8 @@
    @PostMapping(path="updateStatus")
    @SsoPowerAop(power = "10200001")
    @Log("更新任务计划状态")
    public BaseResponse<Boolean> updateStatus(@RequestBody PrAssemblyPlan plan){
    @Log("更新订单状态")
    public BaseResponse<Boolean> updateStatus(@RequestBody PrOrder order) {
        int count = 0;//sv.updateStatus(plan);
        if (count <= 0) {
            return BaseResponseUtils.buildFail("数据库存储失败");