|
@@ -204,10 +204,10 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
|
t.load_date AS loadDate,
|
|
|
t.un_load_date AS unLoadDate
|
|
|
FROM
|
|
|
- f_tmsorderbillsfees w
|
|
|
+ F_TMSORDERBILLSFEES w
|
|
|
LEFT JOIN t_fees f ON w.f_feeid = f.f_id
|
|
|
LEFT JOIN t_corps AS c ON w.f_corpid = c.f_id
|
|
|
- LEFT JOIN f_tmsorderbills AS t ON w.org_id = t.id
|
|
|
+ LEFT JOIN F_TMSORDERBILLS AS t ON w.org_id = t.id
|
|
|
LEFT JOIN t_corps AS c1 ON t.corp_id = c1.f_id
|
|
|
LEFT JOIN sys_dict_data dict ON dict.dict_value = t.bill_type
|
|
|
<where>
|
|
@@ -341,7 +341,8 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
|
GROUP BY w.f_id
|
|
|
</where>
|
|
|
</select>
|
|
|
- <select id="selectFTmsaccbillsMapList" resultType="java.util.Map">
|
|
|
+
|
|
|
+ <select id="selectFTmsaccbillsMapList" parameterType="FTmsaccbills" resultType="java.util.Map">
|
|
|
SELECT
|
|
|
f.id AS fId,
|
|
|
f.bill_no AS fBillno,
|
|
@@ -356,15 +357,12 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
|
f.remarks AS fRemarks,
|
|
|
f.create_by AS createBy
|
|
|
FROM
|
|
|
- f_tmsaccbills f
|
|
|
+ F_TMSACCBILLS f
|
|
|
LEFT JOIN t_corps AS c ON f.corp_id = c.f_id
|
|
|
<where>
|
|
|
- <if test="accYear != null "> and f.acc_year = #{accYear}</if>
|
|
|
- <if test="accMonth != null "> and f.acc_month = #{accMonth}</if>
|
|
|
<if test="actId != null "> and f.act_id = #{actId}</if>
|
|
|
<if test="billNo != null and billNo != ''"> and f.bill_no = #{billNo}</if>
|
|
|
<if test="corpId != null "> and f.corp_id = #{corpId}</if>
|
|
|
- <if test="transactId != null "> and f.transact_id = #{transactId}</if>
|
|
|
<if test="fromDate != null "> and f.from_date = #{fromDate}</if>
|
|
|
<if test="toDate != null "> and f.to_date = #{toDate}</if>
|
|
|
<if test="amt != null "> and f.amt = #{amt}</if>
|
|
@@ -372,7 +370,6 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
|
<if test="postDate != null "> and f.post_date = #{postDate}</if>
|
|
|
<if test="billStatus != null "> and f.bill_status = #{billStatus}</if>
|
|
|
<if test="remarks != null and remarks != ''"> and f.remarks = #{remarks}</if>
|
|
|
- <if test="fBilltype != null and fBilltype != ''">and f.f_billtype = #{fBilltype}</if>
|
|
|
</where>
|
|
|
</select>
|
|
|
</mapper>
|