|
@@ -44,7 +44,7 @@
|
|
|
<result property="subOrderId" column="subOrderId" jdbcType="VARCHAR"/>
|
|
<result property="subOrderId" column="subOrderId" jdbcType="VARCHAR"/>
|
|
|
<result property="agreementCode" column="agreementCode" jdbcType="VARCHAR"/>
|
|
<result property="agreementCode" column="agreementCode" jdbcType="VARCHAR"/>
|
|
|
<result property="agreementName" column="agreementName" jdbcType="VARCHAR"/>
|
|
<result property="agreementName" column="agreementName" jdbcType="VARCHAR"/>
|
|
|
-
|
|
|
|
|
|
|
+ <result property="partnerCompaniesName" column="partnerCompaniesName" jdbcType="VARCHAR"/>
|
|
|
</resultMap>
|
|
</resultMap>
|
|
|
<resultMap id="OrderResultMap" type="com.ydtech.modules.order.entity.vo.OrderVo">
|
|
<resultMap id="OrderResultMap" type="com.ydtech.modules.order.entity.vo.OrderVo">
|
|
|
<id property="orderno" column="orderno" jdbcType="VARCHAR"/>
|
|
<id property="orderno" column="orderno" jdbcType="VARCHAR"/>
|
|
@@ -811,13 +811,16 @@
|
|
|
iac.company_id as company_id,
|
|
iac.company_id as company_id,
|
|
|
iac.inscompany as ins_company,
|
|
iac.inscompany as ins_company,
|
|
|
agree.agreement_code as agreementCode,
|
|
agree.agreement_code as agreementCode,
|
|
|
- agree.agreement_name as agreementName
|
|
|
|
|
|
|
+ agree.agreement_name as agreementName,
|
|
|
|
|
+ company.namesimple as partnerCompaniesName
|
|
|
from
|
|
from
|
|
|
ins_area_company iac
|
|
ins_area_company iac
|
|
|
left JOIN
|
|
left JOIN
|
|
|
ins_orders io on iac.orderno = io.orderno
|
|
ins_orders io on iac.orderno = io.orderno
|
|
|
left join
|
|
left join
|
|
|
ptl_agreement agree on iac.agreement_id= agree.id
|
|
ptl_agreement agree on iac.agreement_id= agree.id
|
|
|
|
|
+ left join
|
|
|
|
|
+ esm_ins_company company on agree.partner_companies_id= company.id
|
|
|
<where>
|
|
<where>
|
|
|
<if test="agentUserIds != null and agentUserIds.size>0" >
|
|
<if test="agentUserIds != null and agentUserIds.size>0" >
|
|
|
AND (
|
|
AND (
|