|
@@ -249,7 +249,7 @@ public class OrderServiceImpl implements IOrderService {
|
|
|
List<AppInsure> appInsureList = appInsureMapper.selectList(wrapper);
|
|
|
DictAnnotationUtil.translateDictList(appInsureList);
|
|
|
for (AppInsure appInsure : appInsureList) {
|
|
|
- List<InsurePrice> insurePrices = insurePriceMapper.selectList(new QueryWrapper<InsurePrice>().lambda().eq(InsurePrice::getInsureId, appInsure.getId()).eq(InsurePrice::getDelFlag, 0));
|
|
|
+ List<InsurePrice> insurePrices = insurePriceMapper.selectList(new QueryWrapper<InsurePrice>().lambda().eq(InsurePrice::getInsureId, appInsure.getId()).eq(InsurePrice::getDelFlag, 0).orderByAsc(InsurePrice::getInsureDay));
|
|
|
appInsure.setPriceDataList(insurePrices);
|
|
|
}
|
|
|
previewOrderPlaceSchool.setInsureIdList(appInsureList);
|
|
@@ -299,7 +299,7 @@ public class OrderServiceImpl implements IOrderService {
|
|
|
List<AppInsure> appInsureList = appInsureMapper.selectList(wrapper);
|
|
|
DictAnnotationUtil.translateDictList(appInsureList);
|
|
|
for (AppInsure appInsure : appInsureList) {
|
|
|
- List<InsurePrice> insurePrices = insurePriceMapper.selectList(new QueryWrapper<InsurePrice>().lambda().eq(InsurePrice::getInsureId, appInsure.getId()).eq(InsurePrice::getDelFlag, 0));
|
|
|
+ List<InsurePrice> insurePrices = insurePriceMapper.selectList(new QueryWrapper<InsurePrice>().lambda().eq(InsurePrice::getInsureId, appInsure.getId()).eq(InsurePrice::getDelFlag, 0).orderByAsc(InsurePrice::getInsureDay));
|
|
|
appInsure.setPriceDataList(insurePrices);
|
|
|
}
|
|
|
previousOrderCourse.setInsureIdList(appInsureList);
|