From 03795b6ab98cbb12461e79542e431b57d7b5138d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=99=88=E8=A3=95=E8=B4=A2?= Date: Tue, 20 Dec 2022 18:00:35 +0800 Subject: [PATCH] =?UTF-8?q?=E5=8F=98=E6=9B=B4=E4=B8=BA=E6=89=A7=E8=A1=8C?= =?UTF-8?q?=E4=BA=BA=E5=85=B3=E4=BA=8E=E6=89=98=E7=A6=8F=E8=B5=8F=E9=87=91?= =?UTF-8?q?=E7=9A=84=E5=88=A4=E6=96=AD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../mybatis/mapper/xm/core/dao/XmTaskExecuserMapper.xml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/xm-core/src/main/resources/mybatis/mapper/xm/core/dao/XmTaskExecuserMapper.xml b/xm-core/src/main/resources/mybatis/mapper/xm/core/dao/XmTaskExecuserMapper.xml index 0ddead9a..5644e7dc 100644 --- a/xm-core/src/main/resources/mybatis/mapper/xm/core/dao/XmTaskExecuserMapper.xml +++ b/xm-core/src/main/resources/mybatis/mapper/xm/core/dao/XmTaskExecuserMapper.xml @@ -90,8 +90,8 @@ t.task_state=case when e1.executor_userid is null and t.task_state='1' then '0' when e1.executor_userid is not null and t.task_state='0' then '1' else t.task_state end, t.bid_step= case when t.crowd='0' or t.crowd is null then t.bid_step - when t.crowd='1' and (t.estate in( '0','4') or t.estate is null) and e1.executor_userid is not null and (t.bid_step is null or t.bid_step in('0','1','2','3')) then '4' - when t.crowd='1' and t.estate ='2' and e1.executor_userid is not null and (t.bid_step is null or t.bid_step in('0','1','2','3','4')) then '5' + when t.crowd='1' and (t.estate in( '0','4') or t.estate is null or (t.estate in ('2','3') and t.efunds <e1.quote_amount)) and e1.executor_userid is not null and (t.bid_step is null or t.bid_step in('0','1','2','3')) then '4' + when t.crowd='1' and t.estate ='2' and t.efunds >=e1.quote_amount and e1.executor_userid is not null and (t.bid_step is null or t.bid_step in('0','1','2','3','4')) then '5' when t.crowd='1' and e1.executor_userid is null and t.task_state in('0') then '2' else t.bid_step end, t.quote_final_at=ifnull(e1.quote_amount,t.quote_final_at)