自动退款金额增加到200元
This commit is contained in:
parent
12b4241e36
commit
196aea6c99
@ -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){
|
||||||
|
|||||||
@ -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 <=100
|
and amount <=200
|
||||||
</if>
|
</if>
|
||||||
<if test="type==2">
|
<if test="type==2">
|
||||||
and amount >100
|
and amount >200
|
||||||
</if>
|
</if>
|
||||||
</select>
|
</select>
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user