This commit is contained in:
linfso 2025-01-01 16:16:19 +08:00
parent 498861eea3
commit 8e0b78530b

View File

@ -212,7 +212,6 @@
<result property="billPicDispatchRmk" column="bill_pic_dispatch_rmk" />
<result property="billPicGoodsRmk" column="goods_pics" />
</resultMap>
<resultMap id="EmisWaybillResult" extends="BaseEmisWaybillResult" type="EmisWaybill">
@ -1243,23 +1242,11 @@
</if>
<if test="params.blUploadGoodsPic != null and params.blUploadGoodsPic == 1">
and EXISTS (
select 1 from emis_waybill_attachment ewatm
where
ewatm.del_flag='0' and a.bill_code=ewatm.bill_code
and ewatm.attach_type='0'
)
and a.goods_pics is not null
</if>
<if test="params.blUploadGoodsPic != null and params.blUploadGoodsPic == 0">
and not EXISTS (
select 1 from emis_waybill_attachment ewatm
where
ewatm.del_flag='0' and a.bill_code=ewatm.bill_code
and ewatm.attach_type='0'
)
and a.goods_pics is null
</if>