|
@@ -54,7 +54,8 @@
|
|
<collection property="financeInvoiceReceivablesDTOList" column="id" select="getFirList" ofType="com.jeeplus.finance.invoice.service.dto.CwFinanceInvoiceReceivablesDTO"></collection>
|
|
<collection property="financeInvoiceReceivablesDTOList" column="id" select="getFirList" ofType="com.jeeplus.finance.invoice.service.dto.CwFinanceInvoiceReceivablesDTO"></collection>
|
|
<collection property="financeInvoiceBaseDTOList" column="id" select="getBaseList" ofType="com.jeeplus.finance.invoice.service.dto.CwFinanceInvoiceBaseDTO"></collection>
|
|
<collection property="financeInvoiceBaseDTOList" column="id" select="getBaseList" ofType="com.jeeplus.finance.invoice.service.dto.CwFinanceInvoiceBaseDTO"></collection>
|
|
<collection property="financeInvoiceDetailDTOList" column="id" select="getFidList" ofType="com.jeeplus.finance.invoice.service.dto.CwFinanceInvoiceDetailDTO"></collection>
|
|
<collection property="financeInvoiceDetailDTOList" column="id" select="getFidList" ofType="com.jeeplus.finance.invoice.service.dto.CwFinanceInvoiceDetailDTO"></collection>
|
|
- <collection property="workAttachmentDtoList" ofType="com.jeeplus.sys.domain.WorkAttachmentInfo" column="id" select="getFileList"></collection>
|
|
|
|
|
|
+ <collection property="workAttachmentDtoList" ofType="com.jeeplus.sys.domain.WorkAttachmentInfo" column="id" select="getFileList"></collection>
|
|
|
|
+ <collection property="workAttachmenSignContract" ofType="com.jeeplus.sys.domain.WorkAttachmentInfo" column="id" select="getFileListSignContarct"></collection>
|
|
</resultMap>
|
|
</resultMap>
|
|
<resultMap id="BaseExportResultMap" type="com.jeeplus.finance.invoice.service.dto.CwFinanceInvoiceDTO">
|
|
<resultMap id="BaseExportResultMap" type="com.jeeplus.finance.invoice.service.dto.CwFinanceInvoiceDTO">
|
|
<id property="id" column="id" jdbcType="VARCHAR"/>
|
|
<id property="id" column="id" jdbcType="VARCHAR"/>
|
|
@@ -247,7 +248,16 @@
|
|
su.name as create_name
|
|
su.name as create_name
|
|
from work_attachment wa
|
|
from work_attachment wa
|
|
left join sys_user su on su.id = wa.create_by_id and su.del_flag = '0'
|
|
left join sys_user su on su.id = wa.create_by_id and su.del_flag = '0'
|
|
- where wa.del_flag = '0' and wa.attachment_id = #{id}
|
|
|
|
|
|
+ where wa.del_flag = '0' and wa.attachment_id = #{id} and wa.attachment_flag = 'cw_invoice'
|
|
|
|
+ </select>
|
|
|
|
+
|
|
|
|
+ <select id="getFileListSignContarct" resultMap="AttachmentMap">
|
|
|
|
+ select
|
|
|
|
+ <include refid="File_Column_List"></include>,
|
|
|
|
+ su.name as create_name
|
|
|
|
+ from work_attachment wa
|
|
|
|
+ left join sys_user su on su.id = wa.create_by_id and su.del_flag = '0'
|
|
|
|
+ where wa.del_flag = '0' and wa.attachment_id = #{id} and wa.attachment_flag = 'cw_invoice_sign_contract'
|
|
</select>
|
|
</select>
|
|
|
|
|
|
<select id="getFii" resultType="com.jeeplus.finance.invoice.service.dto.CwFinanceInvoiceInvalidDTO">
|
|
<select id="getFii" resultType="com.jeeplus.finance.invoice.service.dto.CwFinanceInvoiceInvalidDTO">
|