Merge branch 'develop_migration' into 'develop_master'
feat: There is no way the, See merge request LiuChao/foton-slrs-system-rest!431
This commit is contained in:
+2
-2
@@ -49,12 +49,12 @@ public class EsRevisePlanServiceImpl extends ServiceImpl<EsRevisePlanDao, EsRevi
|
|||||||
|
|
||||||
@Override
|
@Override
|
||||||
public List<EsRevisePlan> queryAllPlans(EsRevisePlan esRevisePlan) {
|
public List<EsRevisePlan> queryAllPlans(EsRevisePlan esRevisePlan) {
|
||||||
Integer count = esRevisePlanDao.getQueryTotal(esRevisePlan);
|
|
||||||
esRevisePlan.getPager().setRowCount(count);
|
|
||||||
if(StringUtils.isNotBlank(esRevisePlan.getPlanStatus())){
|
if(StringUtils.isNotBlank(esRevisePlan.getPlanStatus())){
|
||||||
List<String> list= Arrays.stream(esRevisePlan.getPlanStatus().split(",")).map(String::trim).collect(Collectors.toList());
|
List<String> list= Arrays.stream(esRevisePlan.getPlanStatus().split(",")).map(String::trim).collect(Collectors.toList());
|
||||||
esRevisePlan.setPlanStatusList(list);
|
esRevisePlan.setPlanStatusList(list);
|
||||||
}
|
}
|
||||||
|
Integer count = esRevisePlanDao.getQueryTotal(esRevisePlan);
|
||||||
|
esRevisePlan.getPager().setRowCount(count);
|
||||||
List<EsRevisePlan> esRevisePlans = esRevisePlanDao.queryAll(esRevisePlan);
|
List<EsRevisePlan> esRevisePlans = esRevisePlanDao.queryAll(esRevisePlan);
|
||||||
return esRevisePlans;
|
return esRevisePlans;
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -86,8 +86,11 @@
|
|||||||
<if test="area != null and area != ''">
|
<if test="area != null and area != ''">
|
||||||
and area = #{area}
|
and area = #{area}
|
||||||
</if>
|
</if>
|
||||||
<if test="planStatus != null and planStatus != ''">
|
<if test="planStatusList != null">
|
||||||
and plan_status = #{planStatus}
|
and plan_status in
|
||||||
|
<foreach collection="planStatusList" index="index" item="item" open="(" separator="," close=")">
|
||||||
|
#{item}
|
||||||
|
</foreach>
|
||||||
</if>
|
</if>
|
||||||
<if test="reviseStatus != null and reviseStatus != ''">
|
<if test="reviseStatus != null and reviseStatus != ''">
|
||||||
and revise_status = #{reviseStatus}
|
and revise_status = #{reviseStatus}
|
||||||
|
|||||||
Reference in New Issue
Block a user