diff --git a/module-organization-management/pom.xml b/module-organization-management/pom.xml
index faf58d0..cddab84 100644
--- a/module-organization-management/pom.xml
+++ b/module-organization-management/pom.xml
@@ -3,8 +3,8 @@
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
- wg-module
- ink.wgink
+ tenlion-module
+ cn.com.tenlion
1.0-SNAPSHOT
4.0.0
@@ -14,8 +14,8 @@
- interface-organization-management
- cn.com.tenlion
+ cn.com.tenlion
+ interface-organization-management
1.0-SNAPSHOT
diff --git a/module-organization-management/src/main/java/cn/com/tenlion/organizationmanagement/service/organization/impl/OrganizationServiceImpl.java b/module-organization-management/src/main/java/cn/com/tenlion/organizationmanagement/service/organization/impl/OrganizationServiceImpl.java
index 3d4a857..fbecee3 100644
--- a/module-organization-management/src/main/java/cn/com/tenlion/organizationmanagement/service/organization/impl/OrganizationServiceImpl.java
+++ b/module-organization-management/src/main/java/cn/com/tenlion/organizationmanagement/service/organization/impl/OrganizationServiceImpl.java
@@ -16,6 +16,7 @@ import com.github.pagehelper.PageHelper;
import com.github.pagehelper.PageInfo;
import org.apache.commons.lang3.StringUtils;
import org.springframework.beans.factory.annotation.Autowired;
+import org.springframework.context.annotation.Primary;
import org.springframework.stereotype.Service;
import java.util.*;
@@ -27,6 +28,7 @@ import java.util.*;
* @Date: 2021-04-28 11:06:42
* @Version: 3.0
**/
+@Primary
@Service
public class OrganizationServiceImpl extends DefaultBaseService implements IOrganizationService {
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 09945d7..d6f3a9a 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
@@ -101,24 +101,13 @@
UPDATE
organization
SET
-
organization_name = #{organizationName},
-
-
organization_user_num = #{organizationUserNum},
-
-
organization_principal = #{organizationPrincipal},
-
-
organization_desc = #{organizationDesc},
-
-
organization_image = #{organizationImage},
-
gmt_modified = #{gmtModified},
- modifier = #{modifier},
- organization_id = organization_id
+ modifier = #{modifier}
WHERE
organization_id = #{organizationId}
@@ -200,8 +189,7 @@
t1.organization_desc,
t1.organization_image,
t1.creator,
- t1.gmt_create,
- 1
+ t1.gmt_create
FROM
organization t1
WHERE
@@ -209,7 +197,7 @@
AND (
- t1.id LIKE CONCAT('%', #{keywords}, '%')
+ t1.organization_name LIKE CONCAT('%', #{keywords}, '%')
)
@@ -227,6 +215,7 @@
#{organizationIds[${index}]}
+ ORDER BY t1.gmt_create DESC
@@ -250,7 +239,7 @@
AND (
- t1.id LIKE CONCAT('%', #{keywords}, '%')
+ t1.organization_name LIKE CONCAT('%', #{keywords}, '%')
)
@@ -268,6 +257,7 @@
#{organizationIds[${index}]}
+ ORDER BY t1.gmt_create DESC
@@ -291,7 +281,7 @@
AND (
- t1.id LIKE CONCAT('%', #{keywords}, '%')
+ t1.organization_name LIKE CONCAT('%', #{keywords}, '%')
)
@@ -309,6 +299,7 @@
#{organizationIds[${index}]}
+ ORDER BY t1.gmt_create DESC
diff --git a/module-organization-management/src/main/resources/templates/organization/list.html b/module-organization-management/src/main/resources/templates/organization/list.html
index 4c90a35..76aafbc 100644
--- a/module-organization-management/src/main/resources/templates/organization/list.html
+++ b/module-organization-management/src/main/resources/templates/organization/list.html
@@ -86,15 +86,6 @@
[
{type:'checkbox', fixed: 'left'},
{field:'rowNum', width:80, title: '序号', fixed: 'left', align:'center', templet: '
{{d.LAY_INDEX}}'},
- {field: 'organizationId', width: 180, title: '组织ID', align:'center',
- templet: function(row) {
- var rowData = row[this.field];
- if(typeof(rowData) === 'undefined' || rowData == null || rowData == '') {
- return '-';
- }
- return rowData;
- }
- },
{field: 'organizationName', width: 180, title: '组织名称', align:'center',
templet: function(row) {
var rowData = row[this.field];
@@ -148,7 +139,7 @@
return downloadFile;
}
},
- {field: 'creator', width: 180, title: '', align:'center',
+ {field: '创建人', width: 180, title: '', align:'center',
templet: function(row) {
var rowData = row[this.field];
if(typeof(rowData) === 'undefined' || rowData == null || rowData == '') {
@@ -157,7 +148,7 @@
return rowData;
}
},
- {field: 'gmtCreate', width: 180, title: '', align:'center',
+ {field: '创建时间', width: 180, title: '', align:'center',
templet: function(row) {
var rowData = row[this.field];
if(typeof(rowData) === 'undefined' || rowData == null || rowData == '') {
diff --git a/pojo-institution-management/pom.xml b/pojo-institution-management/pom.xml
index 868e6bd..3c60ddf 100644
--- a/pojo-institution-management/pom.xml
+++ b/pojo-institution-management/pom.xml
@@ -11,5 +11,12 @@
pojo-institution-management
+
+
+ ink.wgink
+ common
+ 1.0-SNAPSHOT
+
+
\ No newline at end of file
diff --git a/pojo-institution-management/src/main/java/cn/com/tenlion/institutionmanagement/pojo/bos/institution/InstitutionBO.java b/pojo-institution-management/src/main/java/cn/com/tenlion/institutionmanagement/pojo/bos/institution/InstitutionBO.java
index b5b73c7..efeeb71 100644
--- a/pojo-institution-management/src/main/java/cn/com/tenlion/institutionmanagement/pojo/bos/institution/InstitutionBO.java
+++ b/pojo-institution-management/src/main/java/cn/com/tenlion/institutionmanagement/pojo/bos/institution/InstitutionBO.java
@@ -1,4 +1,4 @@
-package cn.com.tenlion.pojo.bos.institution;
+package cn.com.tenlion.institutionmanagement.pojo.bos.institution;
/**
*
diff --git a/pojo-institution-management/src/main/java/cn/com/tenlion/institutionmanagement/pojo/dtos/institution/InstitutionDTO.java b/pojo-institution-management/src/main/java/cn/com/tenlion/institutionmanagement/pojo/dtos/institution/InstitutionDTO.java
index 11a01b7..141c49e 100644
--- a/pojo-institution-management/src/main/java/cn/com/tenlion/institutionmanagement/pojo/dtos/institution/InstitutionDTO.java
+++ b/pojo-institution-management/src/main/java/cn/com/tenlion/institutionmanagement/pojo/dtos/institution/InstitutionDTO.java
@@ -1,4 +1,4 @@
-package cn.com.tenlion.pojo.dtos.institution;
+package cn.com.tenlion.institutionmanagement.pojo.dtos.institution;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
diff --git a/pojo-institution-management/src/main/java/cn/com/tenlion/institutionmanagement/pojo/pos/institution/InstitutionPO.java b/pojo-institution-management/src/main/java/cn/com/tenlion/institutionmanagement/pojo/pos/institution/InstitutionPO.java
index 6a285cf..8ed15b3 100644
--- a/pojo-institution-management/src/main/java/cn/com/tenlion/institutionmanagement/pojo/pos/institution/InstitutionPO.java
+++ b/pojo-institution-management/src/main/java/cn/com/tenlion/institutionmanagement/pojo/pos/institution/InstitutionPO.java
@@ -1,4 +1,4 @@
-package cn.com.tenlion.pojo.pos.institution;
+package cn.com.tenlion.institutionmanagement.pojo.pos.institution;
/**
*
diff --git a/pojo-institution-management/src/main/java/cn/com/tenlion/institutionmanagement/pojo/vos/institution/InstitutionVO.java b/pojo-institution-management/src/main/java/cn/com/tenlion/institutionmanagement/pojo/vos/institution/InstitutionVO.java
index ac756b9..cd0cea3 100644
--- a/pojo-institution-management/src/main/java/cn/com/tenlion/institutionmanagement/pojo/vos/institution/InstitutionVO.java
+++ b/pojo-institution-management/src/main/java/cn/com/tenlion/institutionmanagement/pojo/vos/institution/InstitutionVO.java
@@ -1,4 +1,4 @@
-package cn.com.tenlion.pojo.vos.institution;
+package cn.com.tenlion.institutionmanagement.pojo.vos.institution;
import ink.wgink.annotation.CheckEmptyAnnotation;
import ink.wgink.annotation.CheckNumberAnnotation;
diff --git a/pojo-organization-management/pom.xml b/pojo-organization-management/pom.xml
index b947c66..a0c952e 100644
--- a/pojo-organization-management/pom.xml
+++ b/pojo-organization-management/pom.xml
@@ -3,13 +3,20 @@
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
- wg-module
- ink.wgink
+ tenlion-module
+ cn.com.tenlion
1.0-SNAPSHOT
4.0.0
pojo-organization-management
+
+
+ ink.wgink
+ common
+ 1.0-SNAPSHOT
+
+
\ No newline at end of file
diff --git a/pom.xml b/pom.xml
index 5a01bae..fb881c4 100644
--- a/pom.xml
+++ b/pom.xml
@@ -3,17 +3,25 @@
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
4.0.0
-
cn.com.tenlion
tenlion-module
1.0-SNAPSHOT
-
- module-building-pictures
- interface-building-pictures
- pojo-building-pictures
-
pom
+
+ pojo-building-pictures
+ interface-building-pictures
+ module-building-pictures
+
+ pojo-organization-management
+ interface-organization-management
+ module-organization-management
+
+ interface-institution-management
+ module-institution-management
+ pojo-institution-management
+
+
5.2.8.RELEASE
2.3.3.RELEASE