zhangtao
dongdingding 1 year ago
parent f6a6411a32
commit 31e8ca8509

@ -89,8 +89,8 @@ public class BPlanEnterpriseServiceImpl extends ServiceImpl<BPlanEnterpriseMappe
@Override
public Map<String, Object> getPlanMx(PlanMxRequest req) {
List<PlanMxResponse> getPlanMx = bPlanEnterpriseMapper.getPlanMx(req);
PageHelper.startPage(req.getPageNum(), req.getPageSize());
List<PlanMxResponse> getPlanMx = bPlanEnterpriseMapper.getPlanMx(req);
PageInfo<PlanMxResponse> pageInfo = new PageInfo<>(getPlanMx);
Map<String, Object> result = new HashMap<>();
result.put("total", pageInfo.getTotal());

@ -168,12 +168,13 @@
LEFT JOIN sz_ent_basic_info c ON a.enterprise_id = c.USC_CODE
<where>
<if test="req.district !=null and req.district!='' ">
and a.district =#{req.district}
AND a.district like concat('%', #{req.district}, '%')
</if>
<if test="req.plannedYear !=null and req.plannedYear!='' ">
and a.planned_year =#{req.plannedYear}
</if>
</where>
order by a.id desc
</select>
<select id="selectById" resultType="com.ruoyi.programManagement.entity.BPlanEnterprise">
select a.id,

Loading…
Cancel
Save