|
@@ -34,6 +34,10 @@
|
|
|
<result property="jqenddate" column="jqenddate" jdbcType="VARCHAR"/>
|
|
<result property="jqenddate" column="jqenddate" jdbcType="VARCHAR"/>
|
|
|
<result property="systartdate" column="systartdate" jdbcType="VARCHAR"/>
|
|
<result property="systartdate" column="systartdate" jdbcType="VARCHAR"/>
|
|
|
<result property="syenddate" column="syenddate" jdbcType="VARCHAR"/>
|
|
<result property="syenddate" column="syenddate" jdbcType="VARCHAR"/>
|
|
|
|
|
+ <result property="jqpremium" column="jqpremium" jdbcType="VARCHAR"/>
|
|
|
|
|
+ <result property="sypremium" column="sypremium" jdbcType="VARCHAR"/>
|
|
|
|
|
+ <result property="jypremium" column="jypremium" jdbcType="VARCHAR"/>
|
|
|
|
|
+ <result property="taxamount" column="taxamount" jdbcType="VARCHAR"/>
|
|
|
<result property="risk" column="risk" javaType="com.alibaba.fastjson.JSONArray"
|
|
<result property="risk" column="risk" javaType="com.alibaba.fastjson.JSONArray"
|
|
|
typeHandler="com.baomidou.mybatisplus.extension.handlers.JacksonTypeHandler" jdbcType="VARCHAR"/>
|
|
typeHandler="com.baomidou.mybatisplus.extension.handlers.JacksonTypeHandler" jdbcType="VARCHAR"/>
|
|
|
<result property="king" column="king" javaType="com.alibaba.fastjson.JSONArray"
|
|
<result property="king" column="king" javaType="com.alibaba.fastjson.JSONArray"
|
|
@@ -330,10 +334,8 @@
|
|
|
from
|
|
from
|
|
|
ins_orders io
|
|
ins_orders io
|
|
|
<!--如果存在 公司查询则进行连表 -->
|
|
<!--如果存在 公司查询则进行连表 -->
|
|
|
- <if test="orderQueryVo.companyId != null and orderQueryVo.companyId != ''">
|
|
|
|
|
left JOIN
|
|
left JOIN
|
|
|
ins_area_company iac on iac.orderno = io.orderno
|
|
ins_area_company iac on iac.orderno = io.orderno
|
|
|
- </if>
|
|
|
|
|
<where>
|
|
<where>
|
|
|
<if test="orderQueryVo.orderNo != null and orderQueryVo.orderNo != ''">
|
|
<if test="orderQueryVo.orderNo != null and orderQueryVo.orderNo != ''">
|
|
|
and io.orderno = #{orderQueryVo.orderNo}
|
|
and io.orderno = #{orderQueryVo.orderNo}
|
|
@@ -359,6 +361,13 @@
|
|
|
<if test="orderQueryVo.companyId != null and orderQueryVo.companyId != ''">
|
|
<if test="orderQueryVo.companyId != null and orderQueryVo.companyId != ''">
|
|
|
and iac.company_id = #{orderQueryVo.companyId}
|
|
and iac.company_id = #{orderQueryVo.companyId}
|
|
|
</if>
|
|
</if>
|
|
|
|
|
+ <if test="orderQueryVo.product != null and orderQueryVo.product != ''">
|
|
|
|
|
+ and io.product = #{orderQueryVo.product}
|
|
|
|
|
+ </if>
|
|
|
|
|
+ <if test="orderQueryVo.productid != null and orderQueryVo.productid != ''">
|
|
|
|
|
+ and io.productid = #{orderQueryVo.productid}
|
|
|
|
|
+ </if>
|
|
|
|
|
+
|
|
|
<!--
|
|
<!--
|
|
|
<if test="orderQueryVo.userId != null and orderQueryVo.userId != '' and isCdy">
|
|
<if test="orderQueryVo.userId != null and orderQueryVo.userId != '' and isCdy">
|
|
|
and io.operatorid = #{orderQueryVo.userId}
|
|
and io.operatorid = #{orderQueryVo.userId}
|
|
@@ -823,6 +832,10 @@
|
|
|
iac.jq_end_date as jqenddate,
|
|
iac.jq_end_date as jqenddate,
|
|
|
iac.sy_start_date as systartdate,
|
|
iac.sy_start_date as systartdate,
|
|
|
iac.sy_end_date as syenddate,
|
|
iac.sy_end_date as syenddate,
|
|
|
|
|
+ iac.jqpremium as jqpremium,
|
|
|
|
|
+ iac.sypremium as sypremium,
|
|
|
|
|
+ iac.jypremium as jypremium,
|
|
|
|
|
+ iac.taxamount as taxamount,
|
|
|
io.risk as risk,
|
|
io.risk as risk,
|
|
|
io.king as king,
|
|
io.king as king,
|
|
|
io.vehicle_and_vessel_tax as vehicleAndVesselTax,
|
|
io.vehicle_and_vessel_tax as vehicleAndVesselTax,
|