Commit 1310aae4fa042459e00ab175f7254d33d7cf2ace

Authored by liquanyu
1 parent e533a681d6

update code

Showing 2 changed files with 6 additions and 4 deletions

platform-biz-service/src/main/resources/mainOrm/master/MeasureInfoMapper.xml View file @ 1310aae
... ... @@ -64,22 +64,22 @@
64 64 <if test="userName != null">
65 65 user_name = #{userName,jdbcType=VARCHAR},
66 66 </if>
67   - <if test="certType != null and certType != ''">
  67 + <if test="certType != null">
68 68 cert_type = #{certType,jdbcType=VARCHAR},
69 69 </if>
70   - <if test="certNo != null and certNo != ''">
  70 + <if test="certNo != null">
71 71 cert_no = #{certNo,jdbcType=VARCHAR},
72 72 </if>
73 73 <if test="age != null and age >= 0">
74 74 age = #{age,jdbcType=INTEGER},
75 75 </if>
76   - <if test="phone != null and phone != ''">
  76 + <if test="phone != null">
77 77 phone = #{phone,jdbcType=VARCHAR},
78 78 </if>
79 79 <if test="sex != null">
80 80 sex = #{sex,jdbcType=INTEGER},
81 81 </if>
82   - <if test="vcCardNo != null and vcCardNo != ''">
  82 + <if test="vcCardNo != null">
83 83 vc_card_no = #{vcCardNo,jdbcType=VARCHAR},
84 84 </if>
85 85 <if test="valueOne != null and valueOne != ''">
platform-operate-api/src/main/java/com/lyms/platform/operate/web/facade/MeasureInfoFacade.java View file @ 1310aae
... ... @@ -142,6 +142,7 @@
142 142 MeasureInfoQuery query = new MeasureInfoQuery();
143 143 query.setCertNo(measureInfoRequest.getCertNo());
144 144 query.setCertType(measureInfoRequest.getCertType());
  145 + query.setValueType(measureInfoRequest.getValueType());
145 146 List<MeasureInfoModel> list = mysqlMeasureInfoService.queryMeasureInfoList(query);
146 147 if (CollectionUtils.isNotEmpty(list))
147 148 {
... ... @@ -166,6 +167,7 @@
166 167 MeasureInfoQuery query = new MeasureInfoQuery();
167 168 query.setCertNo(measureInfoRequest.getCertNo());
168 169 query.setCertType(measureInfoRequest.getCertType());
  170 + query.setValueType(measureInfoRequest.getValueType());
169 171 List<MeasureInfoModel> list = mysqlMeasureInfoService.queryMeasureInfoList(query);
170 172 if (CollectionUtils.isNotEmpty(list))
171 173 {