|
|
@ -1222,12 +1222,22 @@ public class BusHandoverService extends MybatisBaseService<BusHandoverMapper, Bu |
|
|
|
String modelName = item.getModelName(); |
|
|
|
String carColor = data.getCarColor(); |
|
|
|
sbModel.append(modelName + carColor).append(","); |
|
|
|
} else { |
|
|
|
sbModel.append(item.getModelName()).append(","); |
|
|
|
} |
|
|
|
} else { |
|
|
|
sbModel.append(item.getModelName()).append(","); |
|
|
|
} |
|
|
|
} else { |
|
|
|
sbModel.append(item.getModelName()).append(","); |
|
|
|
} |
|
|
|
} |
|
|
|
sbVin.delete(sbVin.length() - 1, sbVin.length()); |
|
|
|
sbModel.delete(sbModel.length() - 1, sbModel.length()); |
|
|
|
if (sbVin.length() > 0) { |
|
|
|
sbVin.delete(sbVin.length() - 1, sbVin.length()); |
|
|
|
} |
|
|
|
if (sbModel.length() > 0) { |
|
|
|
sbModel.delete(sbModel.length() - 1, sbModel.length()); |
|
|
|
} |
|
|
|
permitVo.setVinNo(sbVin.toString()); |
|
|
|
permitVo.setModelName(sbModel.toString()); |
|
|
|
} |
|
|
@ -3035,7 +3045,7 @@ public class BusHandoverService extends MybatisBaseService<BusHandoverMapper, Bu |
|
|
|
} |
|
|
|
return qw; |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
public PagerVo<BusHandoverVo> listPageVo(PagerQuery<BusHandoverQuery> pq) { |
|
|
|
BusHandoverQuery query = pq.getParams(); |
|
|
|
QueryWrapper<BusHandover> qw = createQueryWrapper(query); |
|
|
@ -3044,22 +3054,22 @@ public class BusHandoverService extends MybatisBaseService<BusHandoverMapper, Bu |
|
|
|
PagerVo<BusHandoverVo> p = PagerUtil.pageToVo(pagging, null); |
|
|
|
return p; |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
public List<BusHandoverVo> listAllVo(BusHandoverQuery query) { |
|
|
|
QueryWrapper<BusHandover> qw = createQueryWrapper(query); |
|
|
|
return baseMapper.selectListAllVo(qw); |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
public List<BusHandoverVo> listVo() { |
|
|
|
return baseMapper.selectListVo(); |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
public void saveOrUpdateDto(BusHandoverDto dto){ |
|
|
|
BusHandover entity = new BusHandover(); |
|
|
|
dto.fillEntity(entity); |
|
|
|
this.saveOrUpdate(entity); |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
public BusHandoverVo fetchByIdVo(String id){ |
|
|
|
BusHandover entity = this.fetchById(id); |
|
|
|
BusHandoverVo vo = new BusHandoverVo(); |
|
|
@ -3133,4 +3143,4 @@ public class BusHandoverService extends MybatisBaseService<BusHandoverMapper, Bu |
|
|
|
public int selectCountByOrgSid(String billsType, String date, String orgSid) { |
|
|
|
return baseMapper.selectCountByOrgSid(billsType, date, orgSid); |
|
|
|
}*/ |
|
|
|
} |
|
|
|
} |
|
|
|