Commit 0ba75b6b by 王衍超

修复bug;

parent ed3d9663
package com.xyst.dinas.finance.config;
import org.springframework.context.annotation.Bean;
import com.xyst.dinas.finance.web.RefundController;
public class FinanceConfiguration {
/***********退款 *************/
@Bean
public RefundController refundController() {
return new RefundController();
}
}
package com.xyst.dinas.finance.web;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RestController;
/**
* 退款
*
* @author Jackpot
* @date 2021年4月20日
*/
@RestController
public class RefundController {
@PostMapping("/refund")
public void test() {
}
}
......@@ -10,6 +10,7 @@ import com.xyst.dinas.sales.internal.dao.NeedPlanDaoImpl;
import com.xyst.dinas.sales.internal.service.InventoryServiceImpl;
import com.xyst.dinas.sales.internal.service.NeedPlanServiceImpl;
import com.xyst.dinas.sales.internal.service.SalesPlanServiceImpl;
import com.xyst.dinas.sales.processor.SalesPlanProcessor;
import com.xyst.dinas.sales.processor.SalesPlanTempProcessor;
import com.xyst.dinas.sales.service.InventoryService;
import com.xyst.dinas.sales.service.NeedPlanService;
......@@ -60,6 +61,11 @@ public class SalesConfiguration {
return new SalesPlanTempProcessor();
}
@Bean("com.xyst.dinas.sales.processor.SalesPlanProcessor")
public SalesPlanProcessor salesPlanProcessor() {
return new SalesPlanProcessor();
}
/***********需用计划******************/
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment