修改部件入库参数名称

This commit is contained in:
小朱 2025-05-26 17:29:39 +08:00
parent ac6e269e3f
commit 2834195417
2 changed files with 2 additions and 2 deletions

View File

@ -53,7 +53,7 @@ public class ReqComponentEnterRecordDto {
/**
* 单价
*/
private Double price;
private Double componentPrice;
/**
* 中控信息列表包含所有ECU部件的入库记录
*/

View File

@ -154,7 +154,7 @@ public class EbikeComponentServiceImpl implements EbikeComponentService {
ebikeComponentEnterRecords.setEnterQuantity(params.getEnterQuantity());
ebikeComponentEnterRecords.setComponentOutRecordId(params.getComponentOutRecordId());
// ebikeComponentEnterRecords.setComponentPrice(ebikeComponentTypeInfo.getPrice());
ebikeComponentEnterRecords.setComponentPrice(params.getPrice());
ebikeComponentEnterRecords.setComponentPrice(params.getComponentPrice());
ebikeComponentEnterRecords.setState(stockInType == 1 ? "1" : "0"); // 暂存为 0 入库为1
return ebikeComponentEnterRecords;
}