md
This commit is contained in:
parent
b8aa738906
commit
57322742a9
@ -296,6 +296,20 @@ public class EmisWaybillController extends BaseController
|
||||
emisWaybill.getParams().put("currentEmpName",getLoginUser().getUser().getEmpName());
|
||||
}
|
||||
|
||||
if(!StringUtils.isEmpty(emisWaybill.getBillCode())){
|
||||
String[] billCodeSortList = emisWaybill.getBillCode().split(",");
|
||||
if(billCodeSortList.length>1){
|
||||
emisWaybill.getParams().put("billCodeSortList",billCodeSortList);
|
||||
}
|
||||
}
|
||||
|
||||
if(!StringUtils.isEmpty(emisWaybill.getOrderSn())){
|
||||
String[] orderSnSortList = emisWaybill.getOrderSn().split(",");
|
||||
if(orderSnSortList.length>1){
|
||||
emisWaybill.getParams().put("orderSnSortList",orderSnSortList);
|
||||
}
|
||||
}
|
||||
|
||||
List<EmisWaybill> list = emisWaybillService.selectEmisWaybillList(emisWaybill);
|
||||
return getDataTable(list);
|
||||
}
|
||||
|
||||
@ -553,6 +553,21 @@
|
||||
</if>
|
||||
|
||||
</where>
|
||||
|
||||
<if test="params.orderSnSortList != null and orderSnSortList.size >0 ">
|
||||
ORDER BY FIELD
|
||||
<foreach collection="orderSnSortList" item="name" open="(order_sn," separator="," close=")">
|
||||
#{name}
|
||||
</foreach>
|
||||
,
|
||||
</if>
|
||||
<if test="params.billCodeSortList != null and billCodeSortList.size >0 ">
|
||||
ORDER BY FIELD
|
||||
<foreach collection="billCodeSortList" item="name" open="(bill_code," separator="," close=")">
|
||||
#{name}
|
||||
</foreach>
|
||||
,
|
||||
</if>
|
||||
order by create_time desc
|
||||
</select>
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user