库名改变

This commit is contained in:
ly19960718 2021-05-01 11:42:10 +08:00
parent 7feb7ef3c8
commit e8c3742e36
2 changed files with 23 additions and 24 deletions

View File

@ -70,7 +70,7 @@
<!-- 新增机构管理 -->
<insert id="save" parameterType="map">
INSERT INTO institution(
INSERT INTO m_institution(
institution_id,
institution_name,
institution_desc,
@ -118,7 +118,7 @@
<!-- 删除机构管理 -->
<update id="remove" parameterType="map">
UPDATE
institution
m_institution
SET
gmt_modified = #{gmtModified},
modifier = #{modifier},
@ -133,7 +133,7 @@
<!-- 删除机构管理(物理) -->
<update id="delete" parameterType="map">
DELETE FROM
institution
m_institution
WHERE
institution_id IN
<foreach collection="institutionIds" index="index" open="(" separator="," close=")">
@ -144,7 +144,7 @@
<!-- 修改机构管理 -->
<update id="update" parameterType="map">
UPDATE
institution
m_institution
SET
<if test="institutionName != null and institutionName != ''">
institution_name = #{institutionName},
@ -214,7 +214,7 @@
t1.institution_region_street,
t1.institution_id
FROM
institution t1
m_institution t1
WHERE
t1.is_delete = 0
<if test="institutionId != null and institutionId != ''">
@ -247,7 +247,7 @@
t1.gmt_modified,
t1.is_delete
FROM
institution t1
m_institution t1
WHERE
t1.is_delete = 0
<if test="institutionId != null and institutionId != ''">
@ -280,7 +280,7 @@
t1.gmt_modified,
t1.is_delete
FROM
institution t1
m_institution t1
WHERE
t1.is_delete = 0
<if test="institutionId != null and institutionId != ''">
@ -308,10 +308,9 @@
t1.institution_region_village,
t1.institution_region_street,
t1.creator,
t1.gmt_create,
1
t1.gmt_create
FROM
institution t1
m_institution t1
WHERE
t1.is_delete = 0
<if test="keywords != null and keywords != ''">
@ -362,7 +361,7 @@
t1.gmt_modified,
t1.is_delete
FROM
institution t1
m_institution t1
WHERE
t1.is_delete = 0
<if test="keywords != null and keywords != ''">
@ -413,7 +412,7 @@
t1.gmt_modified,
t1.is_delete
FROM
institution t1
m_institution t1
WHERE
t1.is_delete = 0
<if test="keywords != null and keywords != ''">
@ -445,7 +444,7 @@
SELECT
COUNT(*)
FROM
institution t1
m_institution t1
WHERE
t1.is_delete = 0
</select>

View File

@ -43,7 +43,7 @@
<!-- 新增组织管理 -->
<insert id="save" parameterType="map">
INSERT INTO organization(
INSERT INTO m_organization(
organization_id,
organization_name,
organization_user_num,
@ -73,7 +73,7 @@
<!-- 删除组织管理 -->
<update id="remove" parameterType="map">
UPDATE
organization
m_organization
SET
gmt_modified = #{gmtModified},
modifier = #{modifier},
@ -88,7 +88,7 @@
<!-- 删除组织管理(物理) -->
<update id="delete" parameterType="map">
DELETE FROM
organization
m_organization
WHERE
organization_id IN
<foreach collection="organizationIds" index="index" open="(" separator="," close=")">
@ -99,7 +99,7 @@
<!-- 修改组织管理 -->
<update id="update" parameterType="map">
UPDATE
organization
m_organization
SET
organization_name = #{organizationName},
organization_user_num = #{organizationUserNum},
@ -122,7 +122,7 @@
t1.organization_image,
t1.organization_id
FROM
organization t1
m_organization t1
WHERE
t1.is_delete = 0
<if test="organizationId != null and organizationId != ''">
@ -146,7 +146,7 @@
t1.gmt_modified,
t1.is_delete
FROM
organization t1
m_organization t1
WHERE
t1.is_delete = 0
<if test="organizationId != null and organizationId != ''">
@ -170,7 +170,7 @@
t1.gmt_modified,
t1.is_delete
FROM
organization t1
m_organization t1
WHERE
t1.is_delete = 0
<if test="organizationId != null and organizationId != ''">
@ -191,7 +191,7 @@
t1.creator,
t1.gmt_create
FROM
organization t1
m_organization t1
WHERE
t1.is_delete = 0
<if test="keywords != null and keywords != ''">
@ -233,7 +233,7 @@
t1.gmt_modified,
t1.is_delete
FROM
organization t1
m_organization t1
WHERE
t1.is_delete = 0
<if test="keywords != null and keywords != ''">
@ -275,7 +275,7 @@
t1.gmt_modified,
t1.is_delete
FROM
organization t1
m_organization t1
WHERE
t1.is_delete = 0
<if test="keywords != null and keywords != ''">
@ -307,7 +307,7 @@
SELECT
COUNT(*)
FROM
organization t1
m_organization t1
WHERE
t1.is_delete = 0
</select>