瀏覽代碼

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>