修改物质供货总计划逻辑
This commit is contained in:
		| @ -19,8 +19,13 @@ public class PurchaseValueAupReq implements Serializable { | ||||
|      */ | ||||
|     private Long id; | ||||
|  | ||||
| //    /** | ||||
| //     * 修改金额 | ||||
| //     */ | ||||
| //    private BigDecimal unitPrice; | ||||
|  | ||||
|     /** | ||||
|      * 修改金额 | ||||
|      * 验收数量 | ||||
|      */ | ||||
|     private BigDecimal unitPrice; | ||||
|     private BigDecimal acceptedQuantity; | ||||
| } | ||||
|  | ||||
| @ -285,7 +285,7 @@ public class OutMonthPlanServiceImpl extends ServiceImpl<OutMonthPlanMapper, Out | ||||
|     public Boolean purchaseValueAup(PurchaseValueAupReq req) { | ||||
|         BusProcurement busProcurement = new BusProcurement(); | ||||
|         busProcurement.setId(req.getId()); | ||||
|         busProcurement.setUnitPrice(req.getUnitPrice()); | ||||
|         busProcurement.setAcceptedQuantity(req.getAcceptedQuantity()); | ||||
|         return busProcurementService.updateById(busProcurement); | ||||
|     } | ||||
|  | ||||
|  | ||||
| @ -26,7 +26,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" | ||||
|             a.NAME, | ||||
|             a.specification, | ||||
|             a.unit, | ||||
|             sum(a.quantity), | ||||
|             a.unit_price as unitPrice, | ||||
|             DATE_FORMAT( a.create_time, '%Y-%m' ) AS yf | ||||
|             FROM | ||||
|             bus_bidding_limit_list AS a | ||||
|  | ||||
		Reference in New Issue
	
	Block a user