Browse Source

修改技术条件

master
xyiege 4 years ago
parent
commit
75ea4bc343
  1. 3
      src/main/java/cn/chjyj/szwh/service/impl/ClassifyServiceImpl.java
  2. 3
      src/main/resources/mapper/szwh/ClassifyMapper.xml

3
src/main/java/cn/chjyj/szwh/service/impl/ClassifyServiceImpl.java

@ -33,10 +33,9 @@ public class ClassifyServiceImpl implements ClassifyService {
Map retmap =new HashMap();
int start=page>0?(page-1)* limit:1;
int end=page*limit;
//记录总数
int total =classifyMapper.countRsByMap(qmap);
int end=page*limit>total?total:page*limit;
SimpleDateFormat sdf =new SimpleDateFormat("yyyy-MM-dd HH:mm:ss");

3
src/main/resources/mapper/szwh/ClassifyMapper.xml

@ -51,9 +51,6 @@
${v}
</if>
</foreach>
<if test="startRs!=null">
and id>#{startRs}
</if>
</where>
</select>

Loading…
Cancel
Save