修改获取车辆部件类型表信息获取失败
This commit is contained in:
parent
65d550ff2b
commit
5486d9ffc5
@ -1478,7 +1478,7 @@ public class EbikeBikeInfoServiceImpl extends ServiceImpl<EbikeBikeInfoMapper, E
|
||||
if(i >0){ //维修中
|
||||
currentStatus=EbikeStatus.REPAIRING;
|
||||
} else if(i==0 && i1>0){ //待维修
|
||||
currentStatus=EbikeStatus.WAITING_FOR_SHIPMENT;
|
||||
currentStatus=EbikeStatus.WAITING_FOR_REPAIR;
|
||||
}else if(i==0 && i1==0){ //待出库
|
||||
currentStatus=EbikeStatus.WAITING_FOR_SHIPMENT;
|
||||
}
|
||||
|
||||
@ -128,9 +128,7 @@ public class EbikeComponentServiceImpl implements EbikeComponentService {
|
||||
* @return
|
||||
*/
|
||||
private EbikeComponentTypeInfo getComponentTypeInfo(String componentType) {
|
||||
QueryWrapper queryWrapper = new QueryWrapper();
|
||||
queryWrapper.eq("id", componentType);
|
||||
return ebikeComponentTypeInfoMapper.selectOneById(queryWrapper);
|
||||
return ebikeComponentTypeInfoMapper.selectOneById(componentType);
|
||||
}
|
||||
|
||||
private EbikeComponentEnterRecords buildEnterRecord(ReqComponentEnterRecordDto params, EbikeComponentTypeInfo ebikeComponentTypeInfo,Integer stockInType,Long orgId) {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user