Browse Source

8-26 审核默认排序时间修改

lijianlin/feature-20250728171217-三期金豆消费相关
lijianlin 1 month ago
parent
commit
73b3a0b228
  1. 4
      src/main/resources/application-test.yml
  2. 4
      src/main/resources/mapper/AuditMapper.xml

4
src/main/resources/application-test.yml

@ -78,9 +78,9 @@ spring:
data: data:
redis: redis:
database: 0 database: 0
host: localhost
host: 54.255.212.181
port: 6379 port: 6379
password: 123456
password: Ngc0FYUTA6h3wC5J
lettuce: lettuce:
pool: pool:

4
src/main/resources/mapper/AuditMapper.xml

@ -45,7 +45,7 @@
select * from user_gold_record select * from user_gold_record
where order_code = #{orderCode} and audit_status = 0 where order_code = #{orderCode} and audit_status = 0
and flag=1 and flag=1
ORDER BY audit_time DESC
ORDER BY create_time DESC
limit 1 limit 1
</select> </select>
<!--多条件查询充值审核订单--> <!--多条件查询充值审核订单-->
@ -175,7 +175,7 @@
<select id="selectAllOrderByOrderCode" resultType="com.example.demo.domain.entity.UserGoldRecord"> <select id="selectAllOrderByOrderCode" resultType="com.example.demo.domain.entity.UserGoldRecord">
select * from user_gold_record where order_code = #{orderCode} and flag=1 select * from user_gold_record where order_code = #{orderCode} and flag=1
ORDER BY audit_time DESC
ORDER BY create_time DESC
limit 1 limit 1
</select> </select>
<select id="getAdminMarket" resultType="java.lang.String"> <select id="getAdminMarket" resultType="java.lang.String">

Loading…
Cancel
Save