wangfeng пре 5 година
родитељ
комит
14f44dfc6f

+ 1 - 1
mrman-service/src/main/resources/mapper/StdBehospitalInfoMapper.xml

@@ -134,7 +134,7 @@
             AND d.cases_id= #{casesId}
         </if>
         <if test="entryCode!=null and entryCode!=''">
-            AND d.code=#{entryCode}
+            AND d.code LIKE CONCAT('%',#{entryCode},'%')
         </if>
         <if test="entryName!=null and entryName!=''">
             AND d.name LIKE CONCAT('%',#{entryName},'%')

+ 1 - 1
mrman-service/src/main/resources/mapper/StdMissionDetailMapper.xml

@@ -53,7 +53,7 @@
             AND a.entry_name LIKE CONCAT('%',#{entryName},'%')
         </if>
         <if test="entryCode!=null and entryCode!=''">
-            AND a.entry_code =#{entryCode}
+            AND a.entry_code LIKE CONCAT('%',#{entryCode},'%')
         </if>
         <if test="status!=null">
             AND a.status = #{status}