修改初始化部件数量
This commit is contained in:
parent
2834195417
commit
54188dd39f
@ -254,6 +254,7 @@ public class EbikeComponentServiceImpl implements EbikeComponentService {
|
|||||||
ebikeComponentInventorycount.setBrand(ebikeComponentTypeInfo.getBrand());
|
ebikeComponentInventorycount.setBrand(ebikeComponentTypeInfo.getBrand());
|
||||||
ebikeComponentInventorycount.setUnit(ebikeComponentTypeInfo.getUnit());
|
ebikeComponentInventorycount.setUnit(ebikeComponentTypeInfo.getUnit());
|
||||||
ebikeComponentInventorycount.setPrice(ebikeComponentTypeInfo.getPrice());
|
ebikeComponentInventorycount.setPrice(ebikeComponentTypeInfo.getPrice());
|
||||||
|
ebikeComponentInventorycount.setItemCount(size);
|
||||||
ebikeComponentInventorycountMapper.insert(ebikeComponentInventorycount);
|
ebikeComponentInventorycountMapper.insert(ebikeComponentInventorycount);
|
||||||
} else {
|
} else {
|
||||||
if (type == 1) {//入库
|
if (type == 1) {//入库
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user