diff --git a/module-institution-management/src/main/resources/mybatis/mapper/institution/institution-mapper.xml b/module-institution-management/src/main/resources/mybatis/mapper/institution/institution-mapper.xml index 522c580..128b975 100644 --- a/module-institution-management/src/main/resources/mybatis/mapper/institution/institution-mapper.xml +++ b/module-institution-management/src/main/resources/mybatis/mapper/institution/institution-mapper.xml @@ -70,7 +70,7 @@ - INSERT INTO institution( + INSERT INTO m_institution( institution_id, institution_name, institution_desc, @@ -118,7 +118,7 @@ UPDATE - institution + m_institution SET gmt_modified = #{gmtModified}, modifier = #{modifier}, @@ -133,7 +133,7 @@ DELETE FROM - institution + m_institution WHERE institution_id IN @@ -144,7 +144,7 @@ UPDATE - institution + m_institution SET 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 @@ -247,7 +247,7 @@ t1.gmt_modified, t1.is_delete FROM - institution t1 + m_institution t1 WHERE t1.is_delete = 0 @@ -280,7 +280,7 @@ t1.gmt_modified, t1.is_delete FROM - institution t1 + m_institution t1 WHERE t1.is_delete = 0 @@ -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 @@ -362,7 +361,7 @@ t1.gmt_modified, t1.is_delete FROM - institution t1 + m_institution t1 WHERE t1.is_delete = 0 @@ -413,7 +412,7 @@ t1.gmt_modified, t1.is_delete FROM - institution t1 + m_institution t1 WHERE t1.is_delete = 0 @@ -445,7 +444,7 @@ SELECT COUNT(*) FROM - institution t1 + m_institution t1 WHERE t1.is_delete = 0 diff --git a/module-organization-management/src/main/resources/mybatis/mapper/organization/organization-mapper.xml b/module-organization-management/src/main/resources/mybatis/mapper/organization/organization-mapper.xml index d6f3a9a..82dc51c 100644 --- a/module-organization-management/src/main/resources/mybatis/mapper/organization/organization-mapper.xml +++ b/module-organization-management/src/main/resources/mybatis/mapper/organization/organization-mapper.xml @@ -43,7 +43,7 @@ - INSERT INTO organization( + INSERT INTO m_organization( organization_id, organization_name, organization_user_num, @@ -73,7 +73,7 @@ UPDATE - organization + m_organization SET gmt_modified = #{gmtModified}, modifier = #{modifier}, @@ -88,7 +88,7 @@ DELETE FROM - organization + m_organization WHERE organization_id IN @@ -99,7 +99,7 @@ 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 @@ -146,7 +146,7 @@ t1.gmt_modified, t1.is_delete FROM - organization t1 + m_organization t1 WHERE t1.is_delete = 0 @@ -170,7 +170,7 @@ t1.gmt_modified, t1.is_delete FROM - organization t1 + m_organization t1 WHERE t1.is_delete = 0 @@ -191,7 +191,7 @@ t1.creator, t1.gmt_create FROM - organization t1 + m_organization t1 WHERE t1.is_delete = 0 @@ -233,7 +233,7 @@ t1.gmt_modified, t1.is_delete FROM - organization t1 + m_organization t1 WHERE t1.is_delete = 0 @@ -275,7 +275,7 @@ t1.gmt_modified, t1.is_delete FROM - organization t1 + m_organization t1 WHERE t1.is_delete = 0 @@ -307,7 +307,7 @@ SELECT COUNT(*) FROM - organization t1 + m_organization t1 WHERE t1.is_delete = 0