Toggle navigation
Toggle navigation
This project
Loading...
Sign in
ufo
/
ufo-platform
·
Commits
Go to a project
GitLab
Go to group
Project
Activity
Files
Commits
Pipelines
0
Builds
0
Graphs
Milestones
Issues
0
Merge Requests
0
Members
Labels
Wiki
Forks
Network
Create a new issue
Download as
Email Patches
Plain Diff
Browse Files
Authored by
Lixiaodi
7 years ago
Commit
75b64a18e6a46e376bf7a5cc4229687768ed8148
1 parent
67788c61
去除删除的数据
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
dal/src/main/resources/META-INF/mybatis/ProductMapper.xml
dal/src/main/resources/META-INF/mybatis/ProductMapper.xml
View file @
75b64a1
...
...
@@ -77,10 +77,10 @@
select id, product_name, product_code, max_sort_id, mid_sort_id, brand_id, series_id,
gender, sale_time, min_price, max_price, create_time, update_time, shelve_time, edit_time,
shelve_status, storage, key_words, del_status
from product where
1=1
<include
refid=
"pageCondition"
/>
order by product.id desc limit #{start},#{rows}
from product where
del_status=0
<include
refid=
"pageCondition"
/>
order by product.id desc limit #{start},#{rows}
</select>
<select
id=
"selectCount"
resultType=
"java.lang.Integer"
>
select count(*) from product where
1=1
<include
refid=
"pageCondition"
/>
select count(*) from product where
del_status=0
<include
refid=
"pageCondition"
/>
</select>
<sql
id=
"pageCondition"
>
...
...
Please
register
or
login
to post a comment