Commit fbf4fce061c353a6cc8b024b2680ba2fcd517285

Authored by wangbo
1 parent 6dd125d99f

小程序展示项bug修改

Showing 3 changed files with 4 additions and 5 deletions

platform-biz-service/src/main/java/com/lyms/platform/permission/service/impl/CheckItemManageServiceImpl.java View file @ fbf4fce
1 1 package com.lyms.platform.permission.service.impl;
2 2  
3 3 import com.lyms.platform.biz.AntExChuModelTemp;
4   -import com.lyms.platform.common.constants.ErrorCodeConstants;
5   -import com.lyms.platform.common.result.BaseObjectResponse;
6   -import com.lyms.platform.common.result.BaseResponse;
7 4 import com.lyms.platform.common.utils.DateUtil;
8 5 import com.lyms.platform.permission.dao.master.MasterCheckItemManageMapper;
9 6 import com.lyms.platform.permission.dao.master.MasterCheckItemMapper;
... ... @@ -12,7 +9,6 @@
12 9 import com.lyms.platform.permission.model.CheckItemManageQuery;
13 10 import com.lyms.platform.permission.service.CheckItemManageService;
14 11 import com.lyms.platform.pojo.AntenatalExaminationModel;
15   -import org.apache.ibatis.reflection.ExceptionUtil;
16 12 import org.springframework.beans.factory.annotation.Autowired;
17 13 import org.springframework.data.mongodb.core.MongoTemplate;
18 14 import org.springframework.data.mongodb.core.query.Criteria;
platform-biz-service/src/main/resources/mainOrm/master/MasterCheckItemManage.xml View file @ fbf4fce
... ... @@ -46,6 +46,9 @@
46 46 <if test="affiliateId!=null and affiliateId!=''">
47 47 affiliate=#{affiliateId,jdbcType=VARCHAR},
48 48 </if>
  49 + <if test="modified!=null">
  50 + modified=#{modified},
  51 + </if>
49 52 </set>
50 53 where id = #{id,jdbcType=INTEGER}
51 54 </update>
platform-operate-api/src/main/java/com/lyms/platform/operate/web/controller/CheckItemManageController.java View file @ fbf4fce
... ... @@ -43,7 +43,7 @@
43 43 @RequestParam(value = "limit", required = false) Integer limit) {
44 44 CheckItemManageQuery checkItemManageQuery = new CheckItemManageQuery();
45 45 checkItemManageQuery.setNeed("true");
46   - checkItemManageQuery.setSort("modified desc");
  46 + checkItemManageQuery.setSort("startweek asc");
47 47 checkItemManageQuery.setPage(page);
48 48 checkItemManageQuery.setLimit(limit);
49 49 checkItemManageQuery.setAffiliateId(affiliateId);