mirror of
https://github.com/suhf/No1WMS.git
synced 2026-02-05 12:13:33 +09:00
입고예정 리스트 검색 기능 추가
This commit is contained in:
@@ -66,8 +66,9 @@
|
||||
and plan.warehouse_id = warehouse.id and product.kan_code = product_category.kan_code
|
||||
<where>
|
||||
<choose>
|
||||
<when test="searchn == 1"> plan.activation = 1 and pn like concat('%',#{search},'%')</when>
|
||||
<when test="searchn == 0"> plan.activation = 1 and plan.group_number like concat('%',#{search},'%') </when>
|
||||
<when test="searchn == 0"> plan.activation = 1 and plan.view_group_number like concat('%',#{search},'%') </when>
|
||||
<when test="searchn == 1"> plan.activation = 1 and product.name like concat('%',#{search},'%')</when>
|
||||
<when test="searchn == 2"> plan.activation = 1 and plan.quantity like concat(#{search})</when>
|
||||
</choose>
|
||||
</where>
|
||||
order by plan.view_group_number desc limit #{start}, #{perPage}
|
||||
|
||||
Reference in New Issue
Block a user