Selaa lähdekoodia

更新

master
三只松鼠 4 vuotta sitten
vanhempi
commit
70c4e30448
2 muutettua tiedostoa jossa 1 lisäystä ja 5 poistoa
  1. +1
    -1
      src/main/java/com/taauav/app/mapper/InspectQuestionMapper.xml
  2. +0
    -4
      src/main/java/com/taauav/app/service/impl/InspectQuestionServiceImpl.java

+ 1
- 1
src/main/java/com/taauav/app/mapper/InspectQuestionMapper.xml Näytä tiedosto

INNER JOIN tauv_question_options AS o ON q.question_id=o.id INNER JOIN tauv_question_options AS o ON q.question_id=o.id
INNER JOIN sys_city AS c ON c.id=i.driver_area INNER JOIN sys_city AS c ON c.id=i.driver_area
INNER JOIN tauv_inspect_file AS f ON q.inspect_file_id=f.id INNER JOIN tauv_inspect_file AS f ON q.inspect_file_id=f.id
WHERE q.id=#{id} AND q.`status`=1 AND q.mark=1 AND i.mark=1
WHERE q.id=#{id} AND q.mark=1 AND i.mark=1
</select> </select>


<!-- 获取各街道数据统计河湖ID集合 --> <!-- 获取各街道数据统计河湖ID集合 -->

+ 0
- 4
src/main/java/com/taauav/app/service/impl/InspectQuestionServiceImpl.java Näytä tiedosto

if (null != driverAreaList && driverAreaList.size() > 0) { if (null != driverAreaList && driverAreaList.size() > 0) {
inspectQuestionQuery.setDriverAreaList(driverAreaList.toArray(new BigInteger[driverAreaList.size()])); inspectQuestionQuery.setDriverAreaList(driverAreaList.toArray(new BigInteger[driverAreaList.size()]));
} }
// 数据权限
// List<BigInteger> driverAreaList = userAuthGroupService.getDriverAreaList(ShiroUtils.getAdminId());
// BigInteger[] driverArea = driverAreaList.toArray(new BigInteger[driverAreaList.size()]);
// inspectQuestionQuery.setDriverAreaList(driverArea);
IPage<TauvInspectQuestion> page = new Page<>(inspectQuestionQuery.getPage(), inspectQuestionQuery.getPageSize()); IPage<TauvInspectQuestion> page = new Page<>(inspectQuestionQuery.getPage(), inspectQuestionQuery.getPageSize());
// 获取分页数据 // 获取分页数据
IPage<InspectQuestionListVo> data = inspectQuestionMapper.getQuestionList(page, inspectQuestionQuery); IPage<InspectQuestionListVo> data = inspectQuestionMapper.getQuestionList(page, inspectQuestionQuery);

Loading…
Peruuta
Tallenna