|
@@ -828,19 +828,6 @@
|
|
|
</if>
|
|
</if>
|
|
|
</where>
|
|
</where>
|
|
|
</select>
|
|
</select>
|
|
|
- <select id="expeortYsOrSsByUserIdAndQuery"
|
|
|
|
|
- resultType="com.ydtech.modules.admin.model.dto.ExportIncomeTypeDetalsDto">
|
|
|
|
|
-
|
|
|
|
|
-
|
|
|
|
|
-
|
|
|
|
|
-
|
|
|
|
|
-
|
|
|
|
|
-
|
|
|
|
|
-
|
|
|
|
|
-
|
|
|
|
|
- </select>
|
|
|
|
|
-
|
|
|
|
|
-
|
|
|
|
|
|
|
|
|
|
<select id="findMyInsuranceByUserId"
|
|
<select id="findMyInsuranceByUserId"
|
|
|
resultType="com.ydtech.modules.admin.model.dto.ExportExpenditureTypeDetalsDto">
|
|
resultType="com.ydtech.modules.admin.model.dto.ExportExpenditureTypeDetalsDto">
|
|
@@ -927,6 +914,22 @@
|
|
|
<if test="vo.syapplyno!=null and vo.syapplyno!= ''">
|
|
<if test="vo.syapplyno!=null and vo.syapplyno!= ''">
|
|
|
AND iac.syapplyno like concat('%', #{vo.syapplyno},'%')
|
|
AND iac.syapplyno like concat('%', #{vo.syapplyno},'%')
|
|
|
</if>
|
|
</if>
|
|
|
|
|
+ <if test="vo.frameNo!=null and vo.frameNo!= ''">
|
|
|
|
|
+ AND o.frameno = #{vo.frameNo}
|
|
|
|
|
+ </if>
|
|
|
|
|
+ <if test="vo.engineNo!=null and vo.engineNo!= ''">
|
|
|
|
|
+ and JSON_EXTRACT( o.carinfo, '$.engineNo' ) = #{vo.engineNo}
|
|
|
|
|
+ </if>
|
|
|
|
|
+ <if test="vo.productId!=null and vo.productId!= ''">
|
|
|
|
|
+ AND iac.productid = #{vo.productId}
|
|
|
|
|
+ </if>
|
|
|
|
|
+ <if test="vo.insuredName!=null and vo.insuredName!= ''">
|
|
|
|
|
+ AND o.insuredname = #{vo.insuredName}
|
|
|
|
|
+ </if>
|
|
|
|
|
+ <if test="vo.companyId!=null and vo.companyId!= ''">
|
|
|
|
|
+ AND iac.company_id = #{vo.companyId}
|
|
|
|
|
+ </if>
|
|
|
|
|
+
|
|
|
</sql>
|
|
</sql>
|
|
|
<select id="findMyInsuranceTGByUserId"
|
|
<select id="findMyInsuranceTGByUserId"
|
|
|
resultType="com.ydtech.modules.admin.model.dto.ExportExpenditureTypeDetalsTGDto">
|
|
resultType="com.ydtech.modules.admin.model.dto.ExportExpenditureTypeDetalsTGDto">
|