فهرست منبع

fix: sql错误

shc 2 سال پیش
والد
کامیت
409c849194
1فایلهای تغییر یافته به همراه1 افزوده شده و 1 حذف شده
  1. 1 1
      hnqz-upms/hnqz-upms-biz/src/main/resources/mapper/SysDeptMapper.xml

+ 1 - 1
hnqz-upms/hnqz-upms-biz/src/main/resources/mapper/SysDeptMapper.xml

@@ -253,7 +253,7 @@
 		<where>
 			d.del_flag = 0
 			<if test="entName != null and entName != ''">
-				AND d.ent_name like CONCAT('%', #{entName},'%')
+				AND d.name like CONCAT('%', #{entName},'%')
 			</if>
 		</where>
 	</select>