|
@@ -275,12 +275,12 @@
|
|
</select>
|
|
</select>
|
|
|
|
|
|
|
|
|
|
- <!--分页查询基础语句返回对象-->
|
|
|
|
|
|
+ <!--分页查询基础语句返回对象 status='0'-->
|
|
<select id="getPageListByObj" parameterType="SysInstitution" resultMap="BaseResultMap">
|
|
<select id="getPageListByObj" parameterType="SysInstitution" resultMap="BaseResultMap">
|
|
SELECT ins.*,(SELECT INS_NAME FROM sys_institution WHERE INS_CODE = ins.ins_parent_code limit 1) as INS_PNAME,
|
|
SELECT ins.*,(SELECT INS_NAME FROM sys_institution WHERE INS_CODE = ins.ins_parent_code limit 1) as INS_PNAME,
|
|
(SELECT app_name FROM sys_app WHERE app_id = ins.APP_ID LIMIT 1) AS APP_NAME
|
|
(SELECT app_name FROM sys_app WHERE app_id = ins.APP_ID LIMIT 1) AS APP_NAME
|
|
from sys_institution ins
|
|
from sys_institution ins
|
|
- where status='0'
|
|
|
|
|
|
+ where
|
|
<!--条件-->
|
|
<!--条件-->
|
|
<if test="insName != null and insName!='' ">
|
|
<if test="insName != null and insName!='' ">
|
|
and INS_NAME like CONCAT('%',trim(#{insName}),'%')
|
|
and INS_NAME like CONCAT('%',trim(#{insName}),'%')
|