Explorar el Código

更新

master
三只松鼠 hace 4 años
padre
commit
70c4e30448
Se han modificado 2 ficheros con 1 adiciones y 5 borrados
  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 Ver fichero

@@ -26,7 +26,7 @@
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 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>

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

+ 0
- 4
src/main/java/com/taauav/app/service/impl/InspectQuestionServiceImpl.java Ver fichero

@@ -84,10 +84,6 @@ public class InspectQuestionServiceImpl extends ServiceImpl<InspectQuestionMappe
if (null != driverAreaList && driverAreaList.size() > 0) {
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<InspectQuestionListVo> data = inspectQuestionMapper.getQuestionList(page, inspectQuestionQuery);

Cargando…
Cancelar
Guardar