自动退款金额增加到200元

This commit is contained in:
yuyang 2022-07-04 10:51:17 +08:00
parent 12b4241e36
commit 196aea6c99
2 changed files with 4 additions and 4 deletions

View File

@ -725,7 +725,7 @@ public class XhpcRefundAuditController extends BaseController {
@Scheduled(cron = "0/20 * * * * ? ") @Scheduled(cron = "0/20 * * * * ? ")
@GetMapping("/moneyPage") @GetMapping("/moneyPage")
public void moneyPage(){ public void moneyPage(){
logger.info("++++++++++++每20秒扫描一次退款订单金额小于100自动审核通过++++++++++++++++"); logger.info("++++++++++++每20秒扫描一次退款订单金额小于200自动审核通过++++++++++++++++");
try { try {
List<Long> list = iXhpcRefundOrderService.moneyPage(1); List<Long> list = iXhpcRefundOrderService.moneyPage(1);
logger.info("++++++++++++有自动退款订单+++++list+++++++++++"+list.size()); logger.info("++++++++++++有自动退款订单+++++list+++++++++++"+list.size());
@ -748,7 +748,7 @@ public class XhpcRefundAuditController extends BaseController {
@Scheduled(cron = "0 0/10 * * * ?") @Scheduled(cron = "0 0/10 * * * ?")
@GetMapping("/moneyPageTime") @GetMapping("/moneyPageTime")
public void moneyPageTime(){ public void moneyPageTime(){
logger.info("++++++++++++每10分钟扫描一次退款订单金额大于100自动生成工单++++++++++++++++"); logger.info("++++++++++++每10分钟扫描一次退款订单金额大于200自动生成工单++++++++++++++++");
try { try {
List<Long> list = iXhpcRefundOrderService.moneyPage(2); List<Long> list = iXhpcRefundOrderService.moneyPage(2);
if(list !=null && list.size()>0){ if(list !=null && list.size()>0){

View File

@ -348,10 +348,10 @@
from xhpc_refund_order xro from xhpc_refund_order xro
where xro.del_flag = 0 and xro.examine_status=0 and xro.status=0 where xro.del_flag = 0 and xro.examine_status=0 and xro.status=0
<if test="type==1"> <if test="type==1">
and amount &lt;=100 and amount &lt;=200
</if> </if>
<if test="type==2"> <if test="type==2">
and amount &gt;100 and amount &gt;200
</if> </if>
</select> </select>