Commit 12c6f93303d283966b30b8a6989776035cc0b8eb

Authored by liquanyu
1 parent 8df70cedf7

update

Showing 2 changed files with 6 additions and 7 deletions

platform-biz-service/src/main/java/com/lyms/platform/permission/service/impl/LisServiceImpl.java View file @ 12c6f93
... ... @@ -147,13 +147,12 @@
147 147 for(LisReportModel model : lisList)
148 148 {
149 149 List<LisReportModel> dbLis = masterLisMapper.queryLisDataByLisIdAndHid(model);
150   - if (CollectionUtils.isEmpty(dbLis))
  150 + if (!CollectionUtils.isEmpty(dbLis))
151 151 {
152   - masterLisMapper.saveLisData(model);
  152 + System.out.println("=======================" + model.getLisId());
153 153 }
154   - else {
155   - System.out.println("======================="+model.getVcCardNo());
156   - }
  154 +
  155 + masterLisMapper.saveLisData(model);
157 156 }
158 157 countDownLatch.countDown();
159 158 }
platform-biz-service/src/main/resources/mainOrm/master/MasterLis.xml View file @ 12c6f93
... ... @@ -111,9 +111,9 @@
111 111 <if test="lisId != null and lisId != ''">
112 112 AND LIS_ID = #{lisId}
113 113 </if>
114   -<!-- <if test="vcCardNo != null || phone != null">
  114 + <if test="vcCardNo != null || phone != null">
115 115 AND (VCCARDNO = #{vcCardNo} OR PHONE = #{phone})
116   - </if>-->
  116 + </if>
117 117 <if test="hospitalId != null and hospitalId != ''">
118 118 AND HOSPITAL_ID = #{hospitalId}
119 119 </if>