|
@@ -30,7 +30,7 @@
|
|
|
<include refid="Base_Column_List"/>
|
|
|
from uims_tenant t
|
|
|
<include refid="tenantJoins"/>
|
|
|
- where t.ID = #{id} and t.state = 1
|
|
|
+ where t.ID = #{id} and t.status = 1
|
|
|
</select>
|
|
|
|
|
|
<!-- 查询全部 -->
|
|
@@ -39,7 +39,7 @@
|
|
|
<include refid="Base_Column_List"/>
|
|
|
from uims_tenant t
|
|
|
<include refid="tenantJoins"/>
|
|
|
- where t.state = 1
|
|
|
+ where t.status = 1
|
|
|
</select>
|
|
|
|
|
|
<!--通过实体作为筛选条件查询-->
|
|
@@ -49,7 +49,7 @@
|
|
|
from uims_tenant t
|
|
|
<include refid="tenantJoins"/>
|
|
|
<where>
|
|
|
- t.state = 1
|
|
|
+ t.status = 1
|
|
|
<if test="tenantName != null and tenantName != ''">
|
|
|
and TENANT_NAME like concat('%',#{tenantName},'%')
|
|
|
</if>
|
|
@@ -120,7 +120,7 @@
|
|
|
<!--通过主键删除-->
|
|
|
<delete id="deleteById">
|
|
|
/*delete from uims_tenant where ID = #{id}*/
|
|
|
- update uims_tenant set state = 0 where ID = #{id}
|
|
|
+ update uims_tenant set status = 0 where ID = #{id}
|
|
|
</delete>
|
|
|
|
|
|
<!-- 总数 -->
|
|
@@ -141,7 +141,7 @@
|
|
|
from uims_tenant t
|
|
|
<include refid="tenantJoins"/>
|
|
|
<where>
|
|
|
- t.state = 1
|
|
|
+ t.status = 1
|
|
|
<if test="tenantDto.tenantName != null and tenantDto.tenantName != ''">
|
|
|
and t.TENANT_NAME like concat('%',#{tenantDto.tenantName},'%')
|
|
|
</if>
|