|
|
@@ -553,6 +553,16 @@
|
|
|
limit #{end} offset #{start}
|
|
|
</if>
|
|
|
</select>
|
|
|
+
|
|
|
+ <!-- countByCond被改了,重写一个 -->
|
|
|
+ <select id="countByCondForSelectByCond" resultType="Long">
|
|
|
+ SELECT
|
|
|
+ count(1)
|
|
|
+ FROM dkic_b.t_psi_order as t
|
|
|
+ left join dkic_b.t_mst_customer tmc on t.cus_id = tmc.cus_id
|
|
|
+ <include refid="Condition"/>
|
|
|
+ </select>
|
|
|
+
|
|
|
<sql id="Base_Column_List_Item_Response_Join">
|
|
|
toi.item_id AS toi_item_id,
|
|
|
t.order_id AS toi_order_id,
|