md
This commit is contained in:
parent
b3d9dd3b5d
commit
e5e5bb8407
@ -233,14 +233,14 @@
|
||||
</select>
|
||||
|
||||
<!-- 检查主运单号是否存在 -->
|
||||
<select id="checkWaybillIsExists" resultType="int">
|
||||
<select id="checkDbWaybillIsExists" resultType="int">
|
||||
select count(1) as cnt from emis_waybill
|
||||
where bill_code=#{billCode}
|
||||
limit 1
|
||||
</select>
|
||||
|
||||
<!-- 检查子单号是否存在 -->
|
||||
<select id="checkSubBillIsExists" resultType="int">
|
||||
<select id="checkDbSubBillIsExists" resultType="int">
|
||||
select count(1) as cnt from emis_waybill
|
||||
where bill_code=#{billCode} and bl_gen_subbill='1' and #{subNum} <![CDATA[ <= ]]> parcel_qty
|
||||
limit 1
|
||||
|
||||
Loading…
Reference in New Issue
Block a user