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