浏览代码

修改周新打卡用户列表搜索条件sql问题

LiFei 5 年之前
父节点
当前提交
ce4e950dd7

+ 2 - 2
happy-job-module-hpjob/src/main/java/com/jeeplus/modules/wsstaff/mapper/xml/WsStaffMapper.xml

@@ -51,7 +51,7 @@
 		<where>
 
 			${dataScope}
-			<if test="userName != null and userName'' ">
+			<if test="userName != null and userName!='' ">
 				AND a.user_name = #{userName}
 			</if>
 			<if test="status != null">
@@ -84,7 +84,7 @@
 		<where>
 
 			${dataScope}
-			<if test="userName != null and userName'' ">
+			<if test="userName != null and userName!='' ">
 				AND a.user_name = #{userName}
 			</if>
 			<if test="status != null">