입고예정 리스트 하단 page 번호 추가

This commit is contained in:
김민구
2024-01-24 11:56:38 +09:00
parent 8e38a3f520
commit 2e29fcb969
4 changed files with 34 additions and 10 deletions

View File

@@ -127,9 +127,10 @@
<select id="count" parameterType="map" resultType="java.lang.Integer">
select count(*) from ( SELECT 1 from plan_In i join product p
<where>
<choose>
<choose>
<when test="searchn == 0"> i.product_id = p.id and i.activation = 1 and i.view_group_number like concat('%',#{search},'%') </when>
<when test="searchn == 1"> i.product_id = p.id and i.activation = 1 and p.name like concat('%',#{search},'%')</when>
<when test="searchn == 0"> i.product_id = p.id and i.activation = 1 and i.group_number like concat('%',#{search},'%') </when>
<when test="searchn == 2"> i.product_id = p.id and i.activation = 1 and i.quantity like concat(#{search})</when>
</choose>
</where>
) t