Commit 7914faf6 by jianan

来佣比对查询列表sql报错

parent 505801de
......@@ -7,7 +7,6 @@ import com.yd.dal.entity.commission.OrderCommissonCheck;
import com.yd.dal.mapper.lifecommission.LifeCommissionMapper;
import com.yd.util.CommonUtil;
import com.yd.util.config.ZHBErrorConfig;
import org.apache.commons.lang.StringUtils;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
......
......@@ -6,7 +6,7 @@
select
o.id orderId,
o.commission_check_at checkDate,
i.name insurerName,
i.name_abbre insurerName,
IFNULL(a.name,p.name) planName,
o.policy_no policyNo,
o.order_price orderPrice,
......@@ -52,7 +52,7 @@
and o.commission_check_id is null or date_format(f.withdrawable_date, '%Y-%m') <= #{compareDate}
</if>
<if test="insurerId != null">
and a.insurer_id = #{insurerId}
and o.insurer_id = #{insurerId}
</if>
<if test="commissionCheckStatus != null">
and o.commission_check_status = #{commissionCheckStatus}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment