This commit is contained in:
linfso 2024-11-10 18:32:17 +08:00
parent dc54546cae
commit 4320f743f1
2 changed files with 3 additions and 1 deletions

View File

@ -69,6 +69,8 @@ public class EmisWaybillCargoController extends EmisBaseController
public TableDataInfo listClear(EmisWaybillCargo emisWaybillCargo) public TableDataInfo listClear(EmisWaybillCargo emisWaybillCargo)
{ {
startPage(); startPage();
setPrivParams(emisWaybillCargo);
List<EmisWaybillCargo> list = emisWaybillCargoService.selectClearWaybillCargoList(emisWaybillCargo); List<EmisWaybillCargo> list = emisWaybillCargoService.selectClearWaybillCargoList(emisWaybillCargo);
return getDataTable(list); return getDataTable(list);
} }

View File

@ -62,7 +62,7 @@
<if test="billCode != null and billCode != ''"> <if test="billCode != null and billCode != ''">
and ( FIND_IN_SET(b.`bill_code`,#{billCode}) or b.bill_code like concat('%', #{billCode}, '%') ) and ( FIND_IN_SET(b.`bill_code`,#{billCode}) or b.bill_code like concat('%', #{billCode}, '%') )
</if> </if>
<if test="salesmen == null and params.privSiteCode != null and params.privSiteCode != '88888'"> <if test="params.privSiteCode != null and params.privSiteCode != '88888'">
and ( and (
a.send_site_code in ( a.send_site_code in (
SELECT t1.site_code FROM ( SELECT t1.site_code FROM (