Bläddra i källkod

人员数据sqlbug修复

user5 2 år sedan
förälder
incheckning
d6424f7252

+ 1 - 1
jeeplus-module/jeeplus-test/src/main/java/com/jeeplus/test/cw/reimbursementApproval/approvalInfo/mapper/xml/CwReimbursementInfoMapper.xml

@@ -139,7 +139,7 @@
 		WHERE
 		a.del_flag = 0
 		<if test="name != null and name != ''">
-			a.`name` LIKE CONCAT ('%', #{name}, '%')
+			and a.`name` LIKE CONCAT ('%', #{name}, '%')
 		</if>
 	</select>
 	<select id="findExportList"

+ 1 - 1
jeeplus-module/jeeplus-test/src/main/java/com/jeeplus/test/reimbursement/reimbursementInfo/mapper/xml/ReimbursementInfoMapper.xml

@@ -69,7 +69,7 @@
 		WHERE
 			a.del_flag = 0 and a.is_admin is null
 			<if test="name != null and name != ''">
-				a.`name` LIKE CONCAT ('%', #{name}, '%')
+				and a.`name` LIKE CONCAT ('%', #{name}, '%')
 			</if>
 	</select>