修复mysql重启后分组查询非组合列报错问题

master
river 4 years ago
parent 95e51e6a0d
commit a30e4ce6b3
  1. 2
      dq-financial-guarantee/src/main/resources/bootstrap.properties
  2. 4
      dq-financial-guarantee/src/main/resources/mapper/guarantee/DgEfficiencyMapper.xml

@ -1,7 +1,7 @@
#服务名称
spring.application.name=dq-financial-guarantee
#配置中心地址
spring.cloud.nacos.config.server-addr=127.0.0.1:8848
spring.cloud.nacos.config.server-addr=192.168.31.140:8848
spring.cloud.nacos.config.file-extension=yml
#redis配置
spring.redis.host=127.0.0.1

@ -39,8 +39,8 @@
<if test="et.endTime != null and et.endTime != ''">
AND a.create_time &lt;= #{et.endTime}
</if>
GROUP BY business_id
ORDER BY p.create_time ASC
GROUP BY p.business_id
ORDER BY any_value(p.create_time) ASC
</select>
<!-- 统计不同业务状态下业务的数量 -->

Loading…
Cancel
Save