demand: 航线开票记录自测bug
committer: heyu
This commit is contained in:
parent
d5404feec8
commit
42d6cd077f
@ -34,6 +34,11 @@
|
||||
<result property="updateTime" column="update_time" />
|
||||
<result property="createSite" column="create_site" />
|
||||
<result property="updateSite" column="update_site" />
|
||||
|
||||
<result property="createByName" column="create_by_name" />
|
||||
<result property="updateByName" column="update_by_name" />
|
||||
<result property="createSiteName" column="create_site_name" />
|
||||
<result property="updateSiteName" column="update_site_name" />
|
||||
</resultMap>
|
||||
|
||||
<!-- 查询区域名称 -->
|
||||
|
||||
@ -122,7 +122,11 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
||||
smi.send_month,
|
||||
bri.settle_type,
|
||||
bri.open_bill_remark,
|
||||
pdi.pay_days
|
||||
pdi.pay_days,
|
||||
cu.emp_name as create_by_name,
|
||||
uu.emp_name as update_by_name,
|
||||
cs.site_name as create_site_name,
|
||||
us.site_name as update_site_name
|
||||
FROM emis_settle_invoice_ch_record a
|
||||
LEFT JOIN (
|
||||
SELECT
|
||||
@ -213,6 +217,10 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
||||
WHERE bd.del_flag = '0'
|
||||
GROUP BY bd.id, b.settle_type
|
||||
) bri ON bri.id = a.id
|
||||
LEFT JOIN sys_user cu ON cu.user_id = a.create_by AND cu.del_flag = '0'
|
||||
LEFT JOIN sys_user uu ON uu.user_id = a.update_by AND uu.del_flag = '0'
|
||||
LEFT JOIN emis_site cs ON cs.site_code = a.create_site AND cs.del_flag = '0'
|
||||
LEFT JOIN emis_site us ON us.site_code = a.update_site AND us.del_flag = '0'
|
||||
WHERE a.del_flag = '0'
|
||||
<if test="id != null">AND a.id = #{id}</if>
|
||||
<if test="reqNo != null and reqNo != ''">AND a.req_no = #{reqNo}</if>
|
||||
|
||||
Loading…
Reference in New Issue
Block a user