Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
D
data-center
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
廖鑫
data-center
Commits
c76be06d
Commit
c76be06d
authored
Jul 30, 2021
by
廖鑫
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
提交基础代码
parent
35431690
Changes
28
Expand all
Show whitespace changes
Inline
Side-by-side
Showing
28 changed files
with
4357 additions
and
0 deletions
+4357
-0
dataCenter-manager/pom.xml
dataCenter-manager/pom.xml
+8
-0
dataCenter-manager/src/main/java/com/mortals/xhx/office/dao/InformationDao.java
.../main/java/com/mortals/xhx/office/dao/InformationDao.java
+14
-0
dataCenter-manager/src/main/java/com/mortals/xhx/office/dao/InformationExtDao.java
...in/java/com/mortals/xhx/office/dao/InformationExtDao.java
+15
-0
dataCenter-manager/src/main/java/com/mortals/xhx/office/dao/ibatis/InformationDaoImpl.java
...com/mortals/xhx/office/dao/ibatis/InformationDaoImpl.java
+30
-0
dataCenter-manager/src/main/java/com/mortals/xhx/office/dao/ibatis/InformationExtDaoImpl.java
.../mortals/xhx/office/dao/ibatis/InformationExtDaoImpl.java
+17
-0
dataCenter-manager/src/main/java/com/mortals/xhx/office/model/InformationEntity.java
.../java/com/mortals/xhx/office/model/InformationEntity.java
+381
-0
dataCenter-manager/src/main/java/com/mortals/xhx/office/model/InformationExtEntity.java
...va/com/mortals/xhx/office/model/InformationExtEntity.java
+149
-0
dataCenter-manager/src/main/java/com/mortals/xhx/office/model/InformationExtQuery.java
...ava/com/mortals/xhx/office/model/InformationExtQuery.java
+278
-0
dataCenter-manager/src/main/java/com/mortals/xhx/office/model/InformationQuery.java
...n/java/com/mortals/xhx/office/model/InformationQuery.java
+531
-0
dataCenter-manager/src/main/java/com/mortals/xhx/office/service/InformationExtService.java
...com/mortals/xhx/office/service/InformationExtService.java
+15
-0
dataCenter-manager/src/main/java/com/mortals/xhx/office/service/InformationService.java
...va/com/mortals/xhx/office/service/InformationService.java
+15
-0
dataCenter-manager/src/main/java/com/mortals/xhx/office/service/impl/InformationExtServiceImpl.java
...ls/xhx/office/service/impl/InformationExtServiceImpl.java
+18
-0
dataCenter-manager/src/main/java/com/mortals/xhx/office/service/impl/InformationServiceImpl.java
...rtals/xhx/office/service/impl/InformationServiceImpl.java
+18
-0
dataCenter-manager/src/main/java/com/mortals/xhx/office/web/InformationController.java
...ava/com/mortals/xhx/office/web/InformationController.java
+149
-0
dataCenter-manager/src/main/java/com/mortals/xhx/office/web/InformationExtController.java
.../com/mortals/xhx/office/web/InformationExtController.java
+124
-0
dataCenter-manager/src/main/java/com/mortals/xhx/office/web/InformationExtForm.java
...n/java/com/mortals/xhx/office/web/InformationExtForm.java
+40
-0
dataCenter-manager/src/main/java/com/mortals/xhx/office/web/InformationForm.java
...main/java/com/mortals/xhx/office/web/InformationForm.java
+40
-0
dataCenter-manager/src/main/java/com/mortals/xhx/records/dao/RecordDao.java
.../src/main/java/com/mortals/xhx/records/dao/RecordDao.java
+14
-0
dataCenter-manager/src/main/java/com/mortals/xhx/records/dao/ibatis/RecordDaoImpl.java
...ava/com/mortals/xhx/records/dao/ibatis/RecordDaoImpl.java
+30
-0
dataCenter-manager/src/main/java/com/mortals/xhx/records/model/RecordEntity.java
...main/java/com/mortals/xhx/records/model/RecordEntity.java
+213
-0
dataCenter-manager/src/main/java/com/mortals/xhx/records/model/RecordQuery.java
.../main/java/com/mortals/xhx/records/model/RecordQuery.java
+351
-0
dataCenter-manager/src/main/java/com/mortals/xhx/records/service/RecordService.java
...n/java/com/mortals/xhx/records/service/RecordService.java
+15
-0
dataCenter-manager/src/main/java/com/mortals/xhx/records/service/impl/RecordServiceImpl.java
...m/mortals/xhx/records/service/impl/RecordServiceImpl.java
+18
-0
dataCenter-manager/src/main/java/com/mortals/xhx/records/web/RecordController.java
...in/java/com/mortals/xhx/records/web/RecordController.java
+124
-0
dataCenter-manager/src/main/java/com/mortals/xhx/records/web/RecordForm.java
...src/main/java/com/mortals/xhx/records/web/RecordForm.java
+40
-0
dataCenter-manager/src/main/java/com/mortals/xhx/sqlmaps/information/information.xml
.../java/com/mortals/xhx/sqlmaps/information/information.xml
+802
-0
dataCenter-manager/src/main/java/com/mortals/xhx/sqlmaps/information/informationExt.xml
...va/com/mortals/xhx/sqlmaps/information/informationExt.xml
+394
-0
dataCenter-manager/src/main/java/com/mortals/xhx/sqlmaps/record/record.xml
...r/src/main/java/com/mortals/xhx/sqlmaps/record/record.xml
+514
-0
No files found.
dataCenter-manager/pom.xml
View file @
c76be06d
...
@@ -51,6 +51,14 @@
...
@@ -51,6 +51,14 @@
<artifactId>
spring-data-redis
</artifactId>
<artifactId>
spring-data-redis
</artifactId>
</dependency>
</dependency>
<!--加入easyexcel依赖,解析excel-->
<dependency>
<groupId>
com.alibaba
</groupId>
<artifactId>
easyexcel
</artifactId>
<version>
2.0.5
</version>
</dependency>
</dependencies>
</dependencies>
</project>
</project>
dataCenter-manager/src/main/java/com/mortals/xhx/office/dao/InformationDao.java
0 → 100644
View file @
c76be06d
package
com.mortals.xhx.office.dao
;
import
com.mortals.framework.dao.ICRUDSubmeterDao
;
import
com.mortals.xhx.office.model.InformationEntity
;
/**
* <p>Title: 办件信息</p>
* <p>Description: InformationDao DAO接口 </p>
* @author
* @version 1.0.0
*/
public
interface
InformationDao
extends
ICRUDSubmeterDao
<
InformationEntity
,
Long
>{
}
dataCenter-manager/src/main/java/com/mortals/xhx/office/dao/InformationExtDao.java
0 → 100644
View file @
c76be06d
package
com.mortals.xhx.office.dao
;
import
com.mortals.framework.dao.ICRUDDao
;
import
com.mortals.xhx.office.model.InformationExtEntity
;
/**
* <p>Title: 办件信息拓展表</p>
* <p>Description: InformationExtDao DAO接口 </p>
* @author
* @version 1.0.0
*/
public
interface
InformationExtDao
extends
ICRUDDao
<
InformationExtEntity
,
Long
>{
}
dataCenter-manager/src/main/java/com/mortals/xhx/office/dao/ibatis/InformationDaoImpl.java
0 → 100644
View file @
c76be06d
package
com.mortals.xhx.office.dao.ibatis
;
import
com.mortals.xhx.office.dao.InformationDao
;
import
com.mortals.xhx.office.model.InformationEntity
;
import
org.springframework.stereotype.Repository
;
import
com.mortals.framework.dao.ibatis.SubmeterDaoImpl
;
import
com.mortals.framework.model.TableParam
;
import
com.mortals.framework.model.TableStrategy
;
/**
* <p>Title: 办件信息</p>
* <p>Description: InformationDaoImpl DAO接口 </p>
* @author
* @version 1.0.0
*/
@Repository
(
"informationDao"
)
public
class
InformationDaoImpl
extends
SubmeterDaoImpl
<
InformationEntity
,
Long
>
implements
InformationDao
{
@Override
protected
TableStrategy
getTableStrategy
()
{
return
new
TableStrategy
(
"mortals_iot_zd_information_${unionTime}"
,
TableStrategy
.
STRATEGY_BY_MONTH
);
}
@Override
public
TableParam
getTableParam
(
InformationEntity
entity
)
{
TableParam
param
=
new
TableParam
();
return
param
;
}
}
dataCenter-manager/src/main/java/com/mortals/xhx/office/dao/ibatis/InformationExtDaoImpl.java
0 → 100644
View file @
c76be06d
package
com.mortals.xhx.office.dao.ibatis
;
import
com.mortals.xhx.office.dao.InformationExtDao
;
import
com.mortals.xhx.office.model.InformationExtEntity
;
import
org.springframework.stereotype.Repository
;
import
com.mortals.framework.dao.ibatis.BaseCRUDDaoMybatis
;
/**
* <p>Title: 办件信息拓展表</p>
* <p>Description: InformationExtDaoImpl DAO接口 </p>
* @author
* @version 1.0.0
*/
@Repository
(
"informationExtDao"
)
public
class
InformationExtDaoImpl
extends
BaseCRUDDaoMybatis
<
InformationExtEntity
,
Long
>
implements
InformationExtDao
{
}
dataCenter-manager/src/main/java/com/mortals/xhx/office/model/InformationEntity.java
0 → 100644
View file @
c76be06d
package
com.mortals.xhx.office.model
;
import
java.util.Date
;
import
com.mortals.framework.model.BaseEntityLong
;
/**
*
* Description:Information
* date: 2021-7-29 14:50:18
*/
public
class
InformationEntity
extends
BaseEntityLong
{
private
static
final
long
serialVersionUID
=
1627541418276L
;
/**
* 实施清单名称
*/
private
String
eventName
;
/**
* 实施清单编码
*/
private
String
eventCode
;
/**
* 申请人属性,1:法人 2:自然人
*/
private
Integer
applicantAttributes
;
/**
* 申请人证件类型
*/
private
String
applicantCardType
;
/**
* 申请人姓名
*/
private
String
applicantName
;
/**
* 申请人证件号码
*/
private
String
applicantCardNumbe
;
/**
* 申请人手机号码
*/
private
String
applicantPhoneNumber
;
/**
* 机构名称
*/
private
String
organizationName
;
/**
* 机构地址
*/
private
String
organizationAddress
;
/**
* 机构证件类型
*/
private
String
organizationCardType
;
/**
* 机构证件编码
*/
private
String
organizationCardNumber
;
/**
* 机构代表人姓名,法人姓名
*/
private
String
legalPerson
;
/**
* 流程开始时间
*/
private
Date
processStartedTime
;
/**
* 流程结束时间
*/
private
Date
processStopTime
;
/**
* 创建时间
*/
private
Date
createTime
;
/**
* 地区编码
*/
private
String
areaCode
;
public
InformationEntity
(){
}
/**
* 获取 实施清单名称
* @return eventName
*/
public
String
getEventName
()
{
return
this
.
eventName
;
}
/**
* 设置 实施清单名称
* @param eventName
*/
public
void
setEventName
(
String
eventName
)
{
this
.
eventName
=
eventName
;
}
/**
* 获取 实施清单编码
* @return eventCode
*/
public
String
getEventCode
()
{
return
this
.
eventCode
;
}
/**
* 设置 实施清单编码
* @param eventCode
*/
public
void
setEventCode
(
String
eventCode
)
{
this
.
eventCode
=
eventCode
;
}
/**
* 获取 申请人属性,1:法人 2:自然人
* @return applicantAttributes
*/
public
Integer
getApplicantAttributes
()
{
return
this
.
applicantAttributes
;
}
/**
* 设置 申请人属性,1:法人 2:自然人
* @param applicantAttributes
*/
public
void
setApplicantAttributes
(
Integer
applicantAttributes
)
{
this
.
applicantAttributes
=
applicantAttributes
;
}
/**
* 获取 申请人证件类型
* @return applicantCardType
*/
public
String
getApplicantCardType
()
{
return
this
.
applicantCardType
;
}
/**
* 设置 申请人证件类型
* @param applicantCardType
*/
public
void
setApplicantCardType
(
String
applicantCardType
)
{
this
.
applicantCardType
=
applicantCardType
;
}
/**
* 获取 申请人姓名
* @return applicantName
*/
public
String
getApplicantName
()
{
return
this
.
applicantName
;
}
/**
* 设置 申请人姓名
* @param applicantName
*/
public
void
setApplicantName
(
String
applicantName
)
{
this
.
applicantName
=
applicantName
;
}
/**
* 获取 申请人证件号码
* @return applicantCardNumbe
*/
public
String
getApplicantCardNumbe
()
{
return
this
.
applicantCardNumbe
;
}
/**
* 设置 申请人证件号码
* @param applicantCardNumbe
*/
public
void
setApplicantCardNumbe
(
String
applicantCardNumbe
)
{
this
.
applicantCardNumbe
=
applicantCardNumbe
;
}
/**
* 获取 申请人手机号码
* @return applicantPhoneNumber
*/
public
String
getApplicantPhoneNumber
()
{
return
this
.
applicantPhoneNumber
;
}
/**
* 设置 申请人手机号码
* @param applicantPhoneNumber
*/
public
void
setApplicantPhoneNumber
(
String
applicantPhoneNumber
)
{
this
.
applicantPhoneNumber
=
applicantPhoneNumber
;
}
/**
* 获取 机构名称
* @return organizationName
*/
public
String
getOrganizationName
()
{
return
this
.
organizationName
;
}
/**
* 设置 机构名称
* @param organizationName
*/
public
void
setOrganizationName
(
String
organizationName
)
{
this
.
organizationName
=
organizationName
;
}
/**
* 获取 机构地址
* @return organizationAddress
*/
public
String
getOrganizationAddress
()
{
return
this
.
organizationAddress
;
}
/**
* 设置 机构地址
* @param organizationAddress
*/
public
void
setOrganizationAddress
(
String
organizationAddress
)
{
this
.
organizationAddress
=
organizationAddress
;
}
/**
* 获取 机构证件类型
* @return organizationCardType
*/
public
String
getOrganizationCardType
()
{
return
this
.
organizationCardType
;
}
/**
* 设置 机构证件类型
* @param organizationCardType
*/
public
void
setOrganizationCardType
(
String
organizationCardType
)
{
this
.
organizationCardType
=
organizationCardType
;
}
/**
* 获取 机构证件编码
* @return organizationCardNumber
*/
public
String
getOrganizationCardNumber
()
{
return
this
.
organizationCardNumber
;
}
/**
* 设置 机构证件编码
* @param organizationCardNumber
*/
public
void
setOrganizationCardNumber
(
String
organizationCardNumber
)
{
this
.
organizationCardNumber
=
organizationCardNumber
;
}
/**
* 获取 机构代表人姓名,法人姓名
* @return legalPerson
*/
public
String
getLegalPerson
()
{
return
this
.
legalPerson
;
}
/**
* 设置 机构代表人姓名,法人姓名
* @param legalPerson
*/
public
void
setLegalPerson
(
String
legalPerson
)
{
this
.
legalPerson
=
legalPerson
;
}
/**
* 获取 流程开始时间
* @return processStartedTime
*/
public
Date
getProcessStartedTime
()
{
return
this
.
processStartedTime
;
}
/**
* 设置 流程开始时间
* @param processStartedTime
*/
public
void
setProcessStartedTime
(
Date
processStartedTime
)
{
this
.
processStartedTime
=
processStartedTime
;
}
/**
* 获取 流程结束时间
* @return processStopTime
*/
public
Date
getProcessStopTime
()
{
return
this
.
processStopTime
;
}
/**
* 设置 流程结束时间
* @param processStopTime
*/
public
void
setProcessStopTime
(
Date
processStopTime
)
{
this
.
processStopTime
=
processStopTime
;
}
/**
* 获取 创建时间
* @return createTime
*/
public
Date
getCreateTime
()
{
return
this
.
createTime
;
}
/**
* 设置 创建时间
* @param createTime
*/
public
void
setCreateTime
(
Date
createTime
)
{
this
.
createTime
=
createTime
;
}
/**
* 获取 地区编码
* @return areaCode
*/
public
String
getAreaCode
()
{
return
this
.
areaCode
;
}
/**
* 设置 地区编码
* @param areaCode
*/
public
void
setAreaCode
(
String
areaCode
)
{
this
.
areaCode
=
areaCode
;
}
@Override
public
int
hashCode
()
{
return
this
.
getId
().
hashCode
();
}
@Override
public
boolean
equals
(
Object
obj
)
{
if
(
obj
==
null
)
return
false
;
if
(
obj
instanceof
InformationEntity
)
{
InformationEntity
tmp
=
(
InformationEntity
)
obj
;
if
(
this
.
getId
().
longValue
()
==
tmp
.
getId
().
longValue
())
{
return
true
;
}
}
return
false
;
}
public
String
toString
(){
StringBuilder
sb
=
new
StringBuilder
(
""
);
sb
.
append
(
",id:"
).
append
(
getId
())
.
append
(
",eventName:"
).
append
(
getEventName
())
.
append
(
",eventCode:"
).
append
(
getEventCode
())
.
append
(
",applicantAttributes:"
).
append
(
getApplicantAttributes
())
.
append
(
",applicantCardType:"
).
append
(
getApplicantCardType
())
.
append
(
",applicantName:"
).
append
(
getApplicantName
())
.
append
(
",applicantCardNumbe:"
).
append
(
getApplicantCardNumbe
())
.
append
(
",applicantPhoneNumber:"
).
append
(
getApplicantPhoneNumber
())
.
append
(
",organizationName:"
).
append
(
getOrganizationName
())
.
append
(
",organizationAddress:"
).
append
(
getOrganizationAddress
())
.
append
(
",organizationCardType:"
).
append
(
getOrganizationCardType
())
.
append
(
",organizationCardNumber:"
).
append
(
getOrganizationCardNumber
())
.
append
(
",legalPerson:"
).
append
(
getLegalPerson
())
.
append
(
",processStartedTime:"
).
append
(
getProcessStartedTime
())
.
append
(
",processStopTime:"
).
append
(
getProcessStopTime
())
.
append
(
",createTime:"
).
append
(
getCreateTime
())
.
append
(
",areaCode:"
).
append
(
getAreaCode
())
;
return
sb
.
toString
();
}
public
void
initAttrValue
(){
this
.
eventName
=
null
;
this
.
eventCode
=
null
;
this
.
applicantAttributes
=
null
;
this
.
applicantCardType
=
null
;
this
.
applicantName
=
null
;
this
.
applicantCardNumbe
=
null
;
this
.
applicantPhoneNumber
=
null
;
this
.
organizationName
=
null
;
this
.
organizationAddress
=
null
;
this
.
organizationCardType
=
null
;
this
.
organizationCardNumber
=
null
;
this
.
legalPerson
=
null
;
this
.
processStartedTime
=
null
;
this
.
processStopTime
=
null
;
this
.
createTime
=
null
;
this
.
areaCode
=
null
;
}
}
\ No newline at end of file
dataCenter-manager/src/main/java/com/mortals/xhx/office/model/InformationExtEntity.java
0 → 100644
View file @
c76be06d
package
com.mortals.xhx.office.model
;
import
com.mortals.framework.model.BaseEntityLong
;
/**
*
* Description:InformationExt
* date: 2021-7-29 14:50:18
*/
public
class
InformationExtEntity
extends
BaseEntityLong
{
private
static
final
long
serialVersionUID
=
1627541418299L
;
/**
* 办件id
*/
private
Long
pieceId
;
/**
* 系统编码
*/
private
String
systemCode
;
/**
* 办件编码
*/
private
String
officeCode
;
/**
* 流程状态名称
*/
private
String
processStatusName
;
/**
* 流程状态编码
*/
private
String
processStatusCode
;
public
InformationExtEntity
(){
}
/**
* 获取 办件id
* @return pieceId
*/
public
Long
getPieceId
()
{
return
this
.
pieceId
;
}
/**
* 设置 办件id
* @param pieceId
*/
public
void
setPieceId
(
Long
pieceId
)
{
this
.
pieceId
=
pieceId
;
}
/**
* 获取 系统编码
* @return systemCode
*/
public
String
getSystemCode
()
{
return
this
.
systemCode
;
}
/**
* 设置 系统编码
* @param systemCode
*/
public
void
setSystemCode
(
String
systemCode
)
{
this
.
systemCode
=
systemCode
;
}
/**
* 获取 办件编码
* @return officeCode
*/
public
String
getOfficeCode
()
{
return
this
.
officeCode
;
}
/**
* 设置 办件编码
* @param officeCode
*/
public
void
setOfficeCode
(
String
officeCode
)
{
this
.
officeCode
=
officeCode
;
}
/**
* 获取 流程状态名称
* @return processStatusName
*/
public
String
getProcessStatusName
()
{
return
this
.
processStatusName
;
}
/**
* 设置 流程状态名称
* @param processStatusName
*/
public
void
setProcessStatusName
(
String
processStatusName
)
{
this
.
processStatusName
=
processStatusName
;
}
/**
* 获取 流程状态编码
* @return processStatusCode
*/
public
String
getProcessStatusCode
()
{
return
this
.
processStatusCode
;
}
/**
* 设置 流程状态编码
* @param processStatusCode
*/
public
void
setProcessStatusCode
(
String
processStatusCode
)
{
this
.
processStatusCode
=
processStatusCode
;
}
@Override
public
int
hashCode
()
{
return
this
.
getId
().
hashCode
();
}
@Override
public
boolean
equals
(
Object
obj
)
{
if
(
obj
==
null
)
return
false
;
if
(
obj
instanceof
InformationExtEntity
)
{
InformationExtEntity
tmp
=
(
InformationExtEntity
)
obj
;
if
(
this
.
getId
().
longValue
()
==
tmp
.
getId
().
longValue
())
{
return
true
;
}
}
return
false
;
}
public
String
toString
(){
StringBuilder
sb
=
new
StringBuilder
(
""
);
sb
.
append
(
",id:"
).
append
(
getId
())
.
append
(
",pieceId:"
).
append
(
getPieceId
())
.
append
(
",systemCode:"
).
append
(
getSystemCode
())
.
append
(
",officeCode:"
).
append
(
getOfficeCode
())
.
append
(
",processStatusName:"
).
append
(
getProcessStatusName
())
.
append
(
",processStatusCode:"
).
append
(
getProcessStatusCode
())
;
return
sb
.
toString
();
}
public
void
initAttrValue
(){
this
.
pieceId
=
null
;
this
.
systemCode
=
null
;
this
.
officeCode
=
null
;
this
.
processStatusName
=
null
;
this
.
processStatusCode
=
null
;
}
}
\ No newline at end of file
dataCenter-manager/src/main/java/com/mortals/xhx/office/model/InformationExtQuery.java
0 → 100644
View file @
c76be06d
package
com.mortals.xhx.office.model
;
import
java.util.List
;
/**
*
* Description:InformationExt
* date: 2021-7-29 14:50:18
*/
public
class
InformationExtQuery
extends
InformationExtEntity
{
private
static
final
long
serialVersionUID
=
1627541418300L
;
/** 开始 主键ID,主键,业务生成 */
private
Long
idStart
;
/** 结束 主键ID,主键,业务生成 */
private
Long
idEnd
;
/** 增加 主键ID,主键,业务生成 */
private
Long
idIncrement
;
/** 主键ID,主键,业务生成 */
private
List
<
Long
>
idList
;
/** 开始 办件id */
private
Long
pieceIdStart
;
/** 结束 办件id */
private
Long
pieceIdEnd
;
/** 增加 办件id */
private
Long
pieceIdIncrement
;
/** 办件id */
private
List
<
Long
>
pieceIdList
;
/** 系统编码 */
private
List
<
String
>
systemCodeList
;
/** 办件编码 */
private
List
<
String
>
officeCodeList
;
/** 流程状态名称 */
private
List
<
String
>
processStatusNameList
;
/** 流程状态编码 */
private
List
<
String
>
processStatusCodeList
;
/** OR条件集合,列表项之间是OR,项内容之间是AND,如:(list[0].1 and list[0].2) or (list[1].3 and list[1].4) */
private
List
<
InformationExtQuery
>
orConditionList
;
/** AND条件集合,列表项之间是AND,项内容之间是OR,如:(list[0].1 or list[0].2) and (list[1].3 or list[1].4) */
private
List
<
InformationExtQuery
>
andConditionList
;
public
InformationExtQuery
(){
}
/**
* 获取 开始 主键ID,主键,业务生成
* @return idStart
*/
public
Long
getIdStart
(){
return
this
.
idStart
;
}
/**
* 设置 开始 主键ID,主键,业务生成
* @param idStart
*/
public
void
setIdStart
(
Long
idStart
){
this
.
idStart
=
idStart
;
}
/**
* 获取 结束 主键ID,主键,业务生成
* @return idEnd
*/
public
Long
getIdEnd
(){
return
this
.
idEnd
;
}
/**
* 设置 结束 主键ID,主键,业务生成
* @param idEnd
*/
public
void
setIdEnd
(
Long
idEnd
){
this
.
idEnd
=
idEnd
;
}
/**
* 获取 增加 主键ID,主键,业务生成
* @return idIncrement
*/
public
Long
getIdIncrement
(){
return
this
.
idIncrement
;
}
/**
* 设置 增加 主键ID,主键,业务生成
* @param idIncrement
*/
public
void
setIdIncrement
(
Long
idIncrement
){
this
.
idIncrement
=
idIncrement
;
}
/**
* 获取 主键ID,主键,业务生成
* @return idList
*/
public
List
<
Long
>
getIdList
(){
return
this
.
idList
;
}
/**
* 设置 主键ID,主键,业务生成
* @param idList
*/
public
void
setIdList
(
List
<
Long
>
idList
){
this
.
idList
=
idList
;
}
/**
* 获取 开始 办件id
* @return pieceIdStart
*/
public
Long
getPieceIdStart
(){
return
this
.
pieceIdStart
;
}
/**
* 设置 开始 办件id
* @param pieceIdStart
*/
public
void
setPieceIdStart
(
Long
pieceIdStart
){
this
.
pieceIdStart
=
pieceIdStart
;
}
/**
* 获取 结束 办件id
* @return pieceIdEnd
*/
public
Long
getPieceIdEnd
(){
return
this
.
pieceIdEnd
;
}
/**
* 设置 结束 办件id
* @param pieceIdEnd
*/
public
void
setPieceIdEnd
(
Long
pieceIdEnd
){
this
.
pieceIdEnd
=
pieceIdEnd
;
}
/**
* 获取 增加 办件id
* @return pieceIdIncrement
*/
public
Long
getPieceIdIncrement
(){
return
this
.
pieceIdIncrement
;
}
/**
* 设置 增加 办件id
* @param pieceIdIncrement
*/
public
void
setPieceIdIncrement
(
Long
pieceIdIncrement
){
this
.
pieceIdIncrement
=
pieceIdIncrement
;
}
/**
* 获取 办件id
* @return pieceIdList
*/
public
List
<
Long
>
getPieceIdList
(){
return
this
.
pieceIdList
;
}
/**
* 设置 办件id
* @param pieceIdList
*/
public
void
setPieceIdList
(
List
<
Long
>
pieceIdList
){
this
.
pieceIdList
=
pieceIdList
;
}
/**
* 获取 系统编码
* @return systemCodeList
*/
public
List
<
String
>
getSystemCodeList
(){
return
this
.
systemCodeList
;
}
/**
* 设置 系统编码
* @param systemCodeList
*/
public
void
setSystemCodeList
(
List
<
String
>
systemCodeList
){
this
.
systemCodeList
=
systemCodeList
;
}
/**
* 获取 办件编码
* @return officeCodeList
*/
public
List
<
String
>
getOfficeCodeList
(){
return
this
.
officeCodeList
;
}
/**
* 设置 办件编码
* @param officeCodeList
*/
public
void
setOfficeCodeList
(
List
<
String
>
officeCodeList
){
this
.
officeCodeList
=
officeCodeList
;
}
/**
* 获取 流程状态名称
* @return processStatusNameList
*/
public
List
<
String
>
getProcessStatusNameList
(){
return
this
.
processStatusNameList
;
}
/**
* 设置 流程状态名称
* @param processStatusNameList
*/
public
void
setProcessStatusNameList
(
List
<
String
>
processStatusNameList
){
this
.
processStatusNameList
=
processStatusNameList
;
}
/**
* 获取 流程状态编码
* @return processStatusCodeList
*/
public
List
<
String
>
getProcessStatusCodeList
(){
return
this
.
processStatusCodeList
;
}
/**
* 设置 流程状态编码
* @param processStatusCodeList
*/
public
void
setProcessStatusCodeList
(
List
<
String
>
processStatusCodeList
){
this
.
processStatusCodeList
=
processStatusCodeList
;
}
/**
* 获取 OR条件集合,列表项之间是OR,项内容之间是AND,如:(list[0].1 and list[0].2) or (list[1].3 and list[1].4)
* @return orConditionList
*/
public
List
<
InformationExtQuery
>
getOrConditionList
(){
return
this
.
orConditionList
;
}
/**
* 设置 OR条件集合,列表项之间是OR,项内容之间是AND,如:(list[0].1 and list[0].2) or (list[1].3 and list[1].4)
* @param orConditionList
*/
public
void
setOrConditionList
(
List
<
InformationExtQuery
>
orConditionList
){
this
.
orConditionList
=
orConditionList
;
}
/**
* 获取 AND条件集合,列表项之间是AND,项内容之间是OR,如:(list[0].1 or list[0].2) and (list[1].3 or list[1].4)
* @return andConditionList
*/
public
List
<
InformationExtQuery
>
getAndConditionList
(){
return
this
.
andConditionList
;
}
/**
* 设置 AND条件集合,列表项之间是AND,项内容之间是OR,如:(list[0].1 or list[0].2) and (list[1].3 or list[1].4)
* @param andConditionList
*/
public
void
setAndConditionList
(
List
<
InformationExtQuery
>
andConditionList
){
this
.
andConditionList
=
andConditionList
;
}
}
\ No newline at end of file
dataCenter-manager/src/main/java/com/mortals/xhx/office/model/InformationQuery.java
0 → 100644
View file @
c76be06d
This diff is collapsed.
Click to expand it.
dataCenter-manager/src/main/java/com/mortals/xhx/office/service/InformationExtService.java
0 → 100644
View file @
c76be06d
package
com.mortals.xhx.office.service
;
import
com.mortals.framework.service.ICRUDService
;
import
com.mortals.xhx.office.model.InformationExtEntity
;
/**
* <p>Title: 办件信息拓展表</p>
* <p>Description: InformationExtService service接口 </p>
* <p>Copyright: Copyright ® </p>
* @version 1.0.0
*/
public
interface
InformationExtService
extends
ICRUDService
<
InformationExtEntity
,
Long
>{
}
\ No newline at end of file
dataCenter-manager/src/main/java/com/mortals/xhx/office/service/InformationService.java
0 → 100644
View file @
c76be06d
package
com.mortals.xhx.office.service
;
import
com.mortals.framework.service.ICRUDService
;
import
com.mortals.xhx.office.model.InformationEntity
;
/**
* <p>Title: 办件信息</p>
* <p>Description: InformationService service接口 </p>
* <p>Copyright: Copyright ® </p>
* @version 1.0.0
*/
public
interface
InformationService
extends
ICRUDService
<
InformationEntity
,
Long
>{
}
\ No newline at end of file
dataCenter-manager/src/main/java/com/mortals/xhx/office/service/impl/InformationExtServiceImpl.java
0 → 100644
View file @
c76be06d
package
com.mortals.xhx.office.service.impl
;
import
com.mortals.xhx.office.dao.InformationExtDao
;
import
com.mortals.xhx.office.model.InformationExtEntity
;
import
com.mortals.xhx.office.service.InformationExtService
;
import
org.springframework.stereotype.Service
;
import
com.mortals.framework.service.impl.AbstractCRUDServiceImpl
;
/**
* <p>Title: 办件信息拓展表</p>
* <p>Description: InformationExtService service接口 </p>
* <p>Copyright: Copyright ® </p>
* @version 1.0.0
*/
@Service
(
"informationExtService"
)
public
class
InformationExtServiceImpl
extends
AbstractCRUDServiceImpl
<
InformationExtDao
,
InformationExtEntity
,
Long
>
implements
InformationExtService
{
}
\ No newline at end of file
dataCenter-manager/src/main/java/com/mortals/xhx/office/service/impl/InformationServiceImpl.java
0 → 100644
View file @
c76be06d
package
com.mortals.xhx.office.service.impl
;
import
com.mortals.xhx.office.dao.InformationDao
;
import
com.mortals.xhx.office.model.InformationEntity
;
import
com.mortals.xhx.office.service.InformationService
;
import
org.springframework.stereotype.Service
;
import
com.mortals.framework.service.impl.AbstractCRUDServiceImpl
;
/**
* <p>Title: 办件信息</p>
* <p>Description: InformationService service接口 </p>
* <p>Copyright: Copyright ® </p>
* @version 1.0.0
*/
@Service
(
"informationService"
)
public
class
InformationServiceImpl
extends
AbstractCRUDServiceImpl
<
InformationDao
,
InformationEntity
,
Long
>
implements
InformationService
{
}
\ No newline at end of file
dataCenter-manager/src/main/java/com/mortals/xhx/office/web/InformationController.java
0 → 100644
View file @
c76be06d
package
com.mortals.xhx.office.web
;
import
javax.servlet.http.HttpServletRequest
;
import
javax.servlet.http.HttpServletResponse
;
import
com.alibaba.excel.EasyExcel
;
import
com.mortals.xhx.common.pdu.ApiRespPdu
;
import
com.mortals.xhx.office.model.InformationEntity
;
import
com.mortals.xhx.office.service.InformationService
;
import
org.springframework.web.bind.annotation.RequestMapping
;
import
org.springframework.web.bind.annotation.RequestPart
;
import
org.springframework.web.bind.annotation.RestController
;
import
com.mortals.framework.web.BaseCRUDJsonController
;
import
org.springframework.web.bind.annotation.PostMapping
;
import
com.alibaba.fastjson.JSONObject
;
import
org.springframework.web.multipart.MultipartFile
;
/**
* <p>Title: 办件信息</p>
* <p>Description: InformationController </p>
* <p>Copyright: Copyright ® </p>
* <p>Company: </p>
* @author
* @version 1.0.0
*/
@RestController
@RequestMapping
(
"information"
)
public
class
InformationController
extends
BaseCRUDJsonController
<
InformationService
,
InformationForm
,
InformationEntity
,
Long
>
{
public
InformationController
(){
super
.
setFormClass
(
InformationForm
.
class
);
super
.
setModuleDesc
(
"办件信息"
);
}
/**
* 查询办件信息
*/
@PostMapping
(
value
=
"list"
)
public
String
list
(
HttpServletRequest
request
,
HttpServletResponse
response
,
InformationForm
form
)
{
try
{
return
super
.
list
(
request
,
response
,
form
);
}
catch
(
Exception
e
){
log
.
error
(
"查询办件信息列表错误"
,
e
);
JSONObject
ret
=
new
JSONObject
();
ret
.
put
(
KEY_RESULT_CODE
,
VALUE_RESULT_FAILURE
);
ret
.
put
(
KEY_RESULT_MSG
,
super
.
convertException
(
e
));
return
ret
.
toJSONString
();
}
}
/**
* 添加办件信息
*/
@PostMapping
(
value
=
"add"
)
public
String
add
(
HttpServletRequest
request
,
HttpServletResponse
response
,
InformationForm
form
)
{
try
{
return
super
.
add
(
request
,
response
,
form
);
}
catch
(
Exception
e
){
log
.
error
(
"添加办件信息错误"
,
e
);
JSONObject
ret
=
new
JSONObject
();
ret
.
put
(
KEY_RESULT_CODE
,
VALUE_RESULT_FAILURE
);
ret
.
put
(
KEY_RESULT_MSG
,
super
.
convertException
(
e
));
return
ret
.
toJSONString
();
}
}
/**
* 编辑办件信息
*/
@PostMapping
(
value
=
"edit"
)
public
String
edit
(
HttpServletRequest
request
,
HttpServletResponse
response
,
InformationForm
form
)
{
try
{
return
super
.
edit
(
request
,
response
,
form
);
}
catch
(
Exception
e
){
log
.
error
(
"编辑办件信息错误"
,
e
);
JSONObject
ret
=
new
JSONObject
();
ret
.
put
(
KEY_RESULT_CODE
,
VALUE_RESULT_FAILURE
);
ret
.
put
(
KEY_RESULT_MSG
,
super
.
convertException
(
e
));
return
ret
.
toJSONString
();
}
}
/**
* 保存办件信息
*/
@PostMapping
(
value
=
"save"
)
public
String
save
(
HttpServletRequest
request
,
HttpServletResponse
response
,
InformationForm
form
)
{
try
{
return
super
.
save
(
request
,
response
,
form
);
}
catch
(
Exception
e
){
log
.
error
(
"保存办件信息错误"
,
e
);
JSONObject
ret
=
new
JSONObject
();
ret
.
put
(
KEY_RESULT_CODE
,
VALUE_RESULT_FAILURE
);
ret
.
put
(
KEY_RESULT_MSG
,
super
.
convertException
(
e
));
return
ret
.
toJSONString
();
}
}
/**
* 删除办件信息
*/
@PostMapping
(
value
=
"delete"
)
public
String
delete
(
HttpServletRequest
request
,
HttpServletResponse
response
,
InformationForm
form
)
{
try
{
return
super
.
delete
(
request
,
response
,
form
);
}
catch
(
Exception
e
){
log
.
error
(
"删除办件信息错误"
,
e
);
JSONObject
ret
=
new
JSONObject
();
ret
.
put
(
KEY_RESULT_CODE
,
VALUE_RESULT_FAILURE
);
ret
.
put
(
KEY_RESULT_MSG
,
super
.
convertException
(
e
));
return
ret
.
toJSONString
();
}
}
/**
* 查看办件信息
*/
@PostMapping
(
value
=
"view"
)
public
String
view
(
HttpServletRequest
request
,
HttpServletResponse
response
,
InformationForm
form
)
{
try
{
return
super
.
view
(
request
,
response
,
form
);
}
catch
(
Exception
e
){
log
.
error
(
"查看办件信息错误"
,
e
);
JSONObject
ret
=
new
JSONObject
();
ret
.
put
(
KEY_RESULT_CODE
,
VALUE_RESULT_FAILURE
);
ret
.
put
(
KEY_RESULT_MSG
,
super
.
convertException
(
e
));
return
ret
.
toJSONString
();
}
}
// /**
// * 导入办件信息,一阶段通过excel表格导入
// */
// @PostMapping(value="importOfficeInformation")
// public ApiRespPdu importOfficeInformation(@RequestPart("file") MultipartFile file) {
// ApiRespPdu<Object> objectApiRespPdu = new ApiRespPdu<>();
// try{
// EasyExcel.read(file.getInputStream(),)
// objectApiRespPdu.setCode(200);
// objectApiRespPdu.setMsg("数据上传成功");
// return objectApiRespPdu;
// }catch(Exception e){
// e.printStackTrace();
// objectApiRespPdu.setCode(500);
// objectApiRespPdu.setMsg("数据上传失败,失败原因:"+e.getMessage());
// return objectApiRespPdu;
// }
// }
}
\ No newline at end of file
dataCenter-manager/src/main/java/com/mortals/xhx/office/web/InformationExtController.java
0 → 100644
View file @
c76be06d
package
com.mortals.xhx.office.web
;
import
javax.servlet.http.HttpServletRequest
;
import
javax.servlet.http.HttpServletResponse
;
import
com.mortals.xhx.office.model.InformationExtEntity
;
import
com.mortals.xhx.office.service.InformationExtService
;
import
org.springframework.web.bind.annotation.RequestMapping
;
import
org.springframework.web.bind.annotation.RestController
;
import
com.mortals.framework.web.BaseCRUDJsonController
;
import
org.springframework.web.bind.annotation.PostMapping
;
import
com.alibaba.fastjson.JSONObject
;
/**
* <p>Title: 办件信息拓展表</p>
* <p>Description: InformationExtController </p>
* <p>Copyright: Copyright ® </p>
* <p>Company: </p>
* @author
* @version 1.0.0
*/
@RestController
@RequestMapping
(
"information/ext"
)
public
class
InformationExtController
extends
BaseCRUDJsonController
<
InformationExtService
,
InformationExtForm
,
InformationExtEntity
,
Long
>
{
public
InformationExtController
(){
super
.
setFormClass
(
InformationExtForm
.
class
);
super
.
setModuleDesc
(
"办件信息拓展表"
);
}
/**
* 查询办件信息拓展表
*/
@PostMapping
(
value
=
"list"
)
public
String
list
(
HttpServletRequest
request
,
HttpServletResponse
response
,
InformationExtForm
form
)
{
try
{
return
super
.
list
(
request
,
response
,
form
);
}
catch
(
Exception
e
){
log
.
error
(
"查询办件信息拓展表列表错误"
,
e
);
JSONObject
ret
=
new
JSONObject
();
ret
.
put
(
KEY_RESULT_CODE
,
VALUE_RESULT_FAILURE
);
ret
.
put
(
KEY_RESULT_MSG
,
super
.
convertException
(
e
));
return
ret
.
toJSONString
();
}
}
/**
* 添加办件信息拓展表
*/
@PostMapping
(
value
=
"add"
)
public
String
add
(
HttpServletRequest
request
,
HttpServletResponse
response
,
InformationExtForm
form
)
{
try
{
return
super
.
add
(
request
,
response
,
form
);
}
catch
(
Exception
e
){
log
.
error
(
"添加办件信息拓展表错误"
,
e
);
JSONObject
ret
=
new
JSONObject
();
ret
.
put
(
KEY_RESULT_CODE
,
VALUE_RESULT_FAILURE
);
ret
.
put
(
KEY_RESULT_MSG
,
super
.
convertException
(
e
));
return
ret
.
toJSONString
();
}
}
/**
* 编辑办件信息拓展表
*/
@PostMapping
(
value
=
"edit"
)
public
String
edit
(
HttpServletRequest
request
,
HttpServletResponse
response
,
InformationExtForm
form
)
{
try
{
return
super
.
edit
(
request
,
response
,
form
);
}
catch
(
Exception
e
){
log
.
error
(
"编辑办件信息拓展表错误"
,
e
);
JSONObject
ret
=
new
JSONObject
();
ret
.
put
(
KEY_RESULT_CODE
,
VALUE_RESULT_FAILURE
);
ret
.
put
(
KEY_RESULT_MSG
,
super
.
convertException
(
e
));
return
ret
.
toJSONString
();
}
}
/**
* 保存办件信息拓展表
*/
@PostMapping
(
value
=
"save"
)
public
String
save
(
HttpServletRequest
request
,
HttpServletResponse
response
,
InformationExtForm
form
)
{
try
{
return
super
.
save
(
request
,
response
,
form
);
}
catch
(
Exception
e
){
log
.
error
(
"保存办件信息拓展表错误"
,
e
);
JSONObject
ret
=
new
JSONObject
();
ret
.
put
(
KEY_RESULT_CODE
,
VALUE_RESULT_FAILURE
);
ret
.
put
(
KEY_RESULT_MSG
,
super
.
convertException
(
e
));
return
ret
.
toJSONString
();
}
}
/**
* 删除办件信息拓展表
*/
@PostMapping
(
value
=
"delete"
)
public
String
delete
(
HttpServletRequest
request
,
HttpServletResponse
response
,
InformationExtForm
form
)
{
try
{
return
super
.
delete
(
request
,
response
,
form
);
}
catch
(
Exception
e
){
log
.
error
(
"删除办件信息拓展表错误"
,
e
);
JSONObject
ret
=
new
JSONObject
();
ret
.
put
(
KEY_RESULT_CODE
,
VALUE_RESULT_FAILURE
);
ret
.
put
(
KEY_RESULT_MSG
,
super
.
convertException
(
e
));
return
ret
.
toJSONString
();
}
}
/**
* 查看办件信息拓展表
*/
@PostMapping
(
value
=
"view"
)
public
String
view
(
HttpServletRequest
request
,
HttpServletResponse
response
,
InformationExtForm
form
)
{
try
{
return
super
.
view
(
request
,
response
,
form
);
}
catch
(
Exception
e
){
log
.
error
(
"查看办件信息拓展表错误"
,
e
);
JSONObject
ret
=
new
JSONObject
();
ret
.
put
(
KEY_RESULT_CODE
,
VALUE_RESULT_FAILURE
);
ret
.
put
(
KEY_RESULT_MSG
,
super
.
convertException
(
e
));
return
ret
.
toJSONString
();
}
}
}
\ No newline at end of file
dataCenter-manager/src/main/java/com/mortals/xhx/office/web/InformationExtForm.java
0 → 100644
View file @
c76be06d
package
com.mortals.xhx.office.web
;
import
com.mortals.framework.web.BaseCRUDFormLong
;
import
com.mortals.xhx.office.model.InformationExtEntity
;
import
com.mortals.xhx.office.model.InformationExtQuery
;
/**
* <p>Title: 办件信息拓展表</p>
* <p>Description: InformationExtForm </p>
* @author
* @version 1.0.0
*/
public
class
InformationExtForm
extends
BaseCRUDFormLong
<
InformationExtEntity
>
{
private
InformationExtEntity
informationext
=
new
InformationExtEntity
();
private
InformationExtQuery
query
=
new
InformationExtQuery
();
public
InformationExtForm
(){
}
@Override
public
InformationExtEntity
getEntity
()
{
return
informationext
;
}
public
InformationExtEntity
getInformationExt
()
{
return
informationext
;
}
public
void
setInformationExt
(
InformationExtEntity
informationext
)
{
this
.
informationext
=
informationext
;
}
@Override
public
InformationExtQuery
getQuery
()
{
return
query
;
}
public
void
setQuery
(
InformationExtQuery
query
)
{
this
.
query
=
query
;
}
}
\ No newline at end of file
dataCenter-manager/src/main/java/com/mortals/xhx/office/web/InformationForm.java
0 → 100644
View file @
c76be06d
package
com.mortals.xhx.office.web
;
import
com.mortals.framework.web.BaseCRUDFormLong
;
import
com.mortals.xhx.office.model.InformationEntity
;
import
com.mortals.xhx.office.model.InformationQuery
;
/**
* <p>Title: 办件信息</p>
* <p>Description: InformationForm </p>
* @author
* @version 1.0.0
*/
public
class
InformationForm
extends
BaseCRUDFormLong
<
InformationEntity
>
{
private
InformationEntity
information
=
new
InformationEntity
();
private
InformationQuery
query
=
new
InformationQuery
();
public
InformationForm
(){
}
@Override
public
InformationEntity
getEntity
()
{
return
information
;
}
public
InformationEntity
getInformation
()
{
return
information
;
}
public
void
setInformation
(
InformationEntity
information
)
{
this
.
information
=
information
;
}
@Override
public
InformationQuery
getQuery
()
{
return
query
;
}
public
void
setQuery
(
InformationQuery
query
)
{
this
.
query
=
query
;
}
}
\ No newline at end of file
dataCenter-manager/src/main/java/com/mortals/xhx/records/dao/RecordDao.java
0 → 100644
View file @
c76be06d
package
com.mortals.xhx.records.dao
;
import
com.mortals.framework.dao.ICRUDSubmeterDao
;
import
com.mortals.xhx.records.model.RecordEntity
;
/**
* <p>Title: 接口调用记录</p>
* <p>Description: RecordDao DAO接口 </p>
* @author
* @version 1.0.0
*/
public
interface
RecordDao
extends
ICRUDSubmeterDao
<
RecordEntity
,
Long
>{
}
dataCenter-manager/src/main/java/com/mortals/xhx/records/dao/ibatis/RecordDaoImpl.java
0 → 100644
View file @
c76be06d
package
com.mortals.xhx.records.dao.ibatis
;
import
com.mortals.xhx.records.dao.RecordDao
;
import
com.mortals.xhx.records.model.RecordEntity
;
import
org.springframework.stereotype.Repository
;
import
com.mortals.framework.dao.ibatis.SubmeterDaoImpl
;
import
com.mortals.framework.model.TableParam
;
import
com.mortals.framework.model.TableStrategy
;
/**
* <p>Title: 接口调用记录</p>
* <p>Description: RecordDaoImpl DAO接口 </p>
* @author
* @version 1.0.0
*/
@Repository
(
"recordDao"
)
public
class
RecordDaoImpl
extends
SubmeterDaoImpl
<
RecordEntity
,
Long
>
implements
RecordDao
{
@Override
protected
TableStrategy
getTableStrategy
()
{
return
new
TableStrategy
(
"mortals_iot_zd_record_${unionTime}"
,
TableStrategy
.
STRATEGY_BY_MONTH
);
}
@Override
public
TableParam
getTableParam
(
RecordEntity
entity
)
{
TableParam
param
=
new
TableParam
();
return
param
;
}
}
dataCenter-manager/src/main/java/com/mortals/xhx/records/model/RecordEntity.java
0 → 100644
View file @
c76be06d
package
com.mortals.xhx.records.model
;
import
java.util.Date
;
import
com.mortals.framework.model.BaseEntityLong
;
/**
*
* Description:Record
* date: 2021-7-29 14:50:18
*/
public
class
RecordEntity
extends
BaseEntityLong
{
private
static
final
long
serialVersionUID
=
1627541418302L
;
/**
* 办件id
*/
private
Long
pieceId
;
/**
* 当前步骤名称
*/
private
String
currentStepName
;
/**
* 当前步骤编码
*/
private
String
currentStepCode
;
/**
* 传入报文
*/
private
String
incomingMessage
;
/**
* 返回报文
*/
private
String
returnMessage
;
/**
* 接口调用时间
*/
private
Date
interfaceCallTime
;
/**
* 调用状态
*/
private
String
interfaceCallStatus
;
/**
* 系统编码
*/
private
String
systemCode
;
public
RecordEntity
(){
}
/**
* 获取 办件id
* @return pieceId
*/
public
Long
getPieceId
()
{
return
this
.
pieceId
;
}
/**
* 设置 办件id
* @param pieceId
*/
public
void
setPieceId
(
Long
pieceId
)
{
this
.
pieceId
=
pieceId
;
}
/**
* 获取 当前步骤名称
* @return currentStepName
*/
public
String
getCurrentStepName
()
{
return
this
.
currentStepName
;
}
/**
* 设置 当前步骤名称
* @param currentStepName
*/
public
void
setCurrentStepName
(
String
currentStepName
)
{
this
.
currentStepName
=
currentStepName
;
}
/**
* 获取 当前步骤编码
* @return currentStepCode
*/
public
String
getCurrentStepCode
()
{
return
this
.
currentStepCode
;
}
/**
* 设置 当前步骤编码
* @param currentStepCode
*/
public
void
setCurrentStepCode
(
String
currentStepCode
)
{
this
.
currentStepCode
=
currentStepCode
;
}
/**
* 获取 传入报文
* @return incomingMessage
*/
public
String
getIncomingMessage
()
{
return
this
.
incomingMessage
;
}
/**
* 设置 传入报文
* @param incomingMessage
*/
public
void
setIncomingMessage
(
String
incomingMessage
)
{
this
.
incomingMessage
=
incomingMessage
;
}
/**
* 获取 返回报文
* @return returnMessage
*/
public
String
getReturnMessage
()
{
return
this
.
returnMessage
;
}
/**
* 设置 返回报文
* @param returnMessage
*/
public
void
setReturnMessage
(
String
returnMessage
)
{
this
.
returnMessage
=
returnMessage
;
}
/**
* 获取 接口调用时间
* @return interfaceCallTime
*/
public
Date
getInterfaceCallTime
()
{
return
this
.
interfaceCallTime
;
}
/**
* 设置 接口调用时间
* @param interfaceCallTime
*/
public
void
setInterfaceCallTime
(
Date
interfaceCallTime
)
{
this
.
interfaceCallTime
=
interfaceCallTime
;
}
/**
* 获取 调用状态
* @return interfaceCallStatus
*/
public
String
getInterfaceCallStatus
()
{
return
this
.
interfaceCallStatus
;
}
/**
* 设置 调用状态
* @param interfaceCallStatus
*/
public
void
setInterfaceCallStatus
(
String
interfaceCallStatus
)
{
this
.
interfaceCallStatus
=
interfaceCallStatus
;
}
/**
* 获取 系统编码
* @return systemCode
*/
public
String
getSystemCode
()
{
return
this
.
systemCode
;
}
/**
* 设置 系统编码
* @param systemCode
*/
public
void
setSystemCode
(
String
systemCode
)
{
this
.
systemCode
=
systemCode
;
}
@Override
public
int
hashCode
()
{
return
this
.
getId
().
hashCode
();
}
@Override
public
boolean
equals
(
Object
obj
)
{
if
(
obj
==
null
)
return
false
;
if
(
obj
instanceof
RecordEntity
)
{
RecordEntity
tmp
=
(
RecordEntity
)
obj
;
if
(
this
.
getId
().
longValue
()
==
tmp
.
getId
().
longValue
())
{
return
true
;
}
}
return
false
;
}
public
String
toString
(){
StringBuilder
sb
=
new
StringBuilder
(
""
);
sb
.
append
(
",id:"
).
append
(
getId
())
.
append
(
",pieceId:"
).
append
(
getPieceId
())
.
append
(
",currentStepName:"
).
append
(
getCurrentStepName
())
.
append
(
",currentStepCode:"
).
append
(
getCurrentStepCode
())
.
append
(
",incomingMessage:"
).
append
(
getIncomingMessage
())
.
append
(
",returnMessage:"
).
append
(
getReturnMessage
())
.
append
(
",interfaceCallTime:"
).
append
(
getInterfaceCallTime
())
.
append
(
",interfaceCallStatus:"
).
append
(
getInterfaceCallStatus
())
.
append
(
",systemCode:"
).
append
(
getSystemCode
())
;
return
sb
.
toString
();
}
public
void
initAttrValue
(){
this
.
pieceId
=
null
;
this
.
currentStepName
=
null
;
this
.
currentStepCode
=
null
;
this
.
incomingMessage
=
null
;
this
.
returnMessage
=
null
;
this
.
interfaceCallTime
=
null
;
this
.
interfaceCallStatus
=
null
;
this
.
systemCode
=
null
;
}
}
\ No newline at end of file
dataCenter-manager/src/main/java/com/mortals/xhx/records/model/RecordQuery.java
0 → 100644
View file @
c76be06d
package
com.mortals.xhx.records.model
;
import
java.util.List
;
import
java.util.Date
;
/**
*
* Description:Record
* date: 2021-7-29 14:50:18
*/
public
class
RecordQuery
extends
RecordEntity
{
private
static
final
long
serialVersionUID
=
1627541418303L
;
/** 开始 主键ID,主键,业务生成 */
private
Long
idStart
;
/** 结束 主键ID,主键,业务生成 */
private
Long
idEnd
;
/** 增加 主键ID,主键,业务生成 */
private
Long
idIncrement
;
/** 主键ID,主键,业务生成 */
private
List
<
Long
>
idList
;
/** 开始 办件id */
private
Long
pieceIdStart
;
/** 结束 办件id */
private
Long
pieceIdEnd
;
/** 增加 办件id */
private
Long
pieceIdIncrement
;
/** 办件id */
private
List
<
Long
>
pieceIdList
;
/** 当前步骤名称 */
private
List
<
String
>
currentStepNameList
;
/** 当前步骤编码 */
private
List
<
String
>
currentStepCodeList
;
/** 传入报文 */
private
List
<
String
>
incomingMessageList
;
/** 返回报文 */
private
List
<
String
>
returnMessageList
;
/** 开始 接口调用时间 */
private
String
interfaceCallTimeStart
;
/** 结束 接口调用时间 */
private
String
interfaceCallTimeEnd
;
/** 调用状态 */
private
List
<
String
>
interfaceCallStatusList
;
/** 系统编码 */
private
List
<
String
>
systemCodeList
;
/** OR条件集合,列表项之间是OR,项内容之间是AND,如:(list[0].1 and list[0].2) or (list[1].3 and list[1].4) */
private
List
<
RecordQuery
>
orConditionList
;
/** AND条件集合,列表项之间是AND,项内容之间是OR,如:(list[0].1 or list[0].2) and (list[1].3 or list[1].4) */
private
List
<
RecordQuery
>
andConditionList
;
public
RecordQuery
(){
}
/**
* 获取 开始 主键ID,主键,业务生成
* @return idStart
*/
public
Long
getIdStart
(){
return
this
.
idStart
;
}
/**
* 设置 开始 主键ID,主键,业务生成
* @param idStart
*/
public
void
setIdStart
(
Long
idStart
){
this
.
idStart
=
idStart
;
}
/**
* 获取 结束 主键ID,主键,业务生成
* @return idEnd
*/
public
Long
getIdEnd
(){
return
this
.
idEnd
;
}
/**
* 设置 结束 主键ID,主键,业务生成
* @param idEnd
*/
public
void
setIdEnd
(
Long
idEnd
){
this
.
idEnd
=
idEnd
;
}
/**
* 获取 增加 主键ID,主键,业务生成
* @return idIncrement
*/
public
Long
getIdIncrement
(){
return
this
.
idIncrement
;
}
/**
* 设置 增加 主键ID,主键,业务生成
* @param idIncrement
*/
public
void
setIdIncrement
(
Long
idIncrement
){
this
.
idIncrement
=
idIncrement
;
}
/**
* 获取 主键ID,主键,业务生成
* @return idList
*/
public
List
<
Long
>
getIdList
(){
return
this
.
idList
;
}
/**
* 设置 主键ID,主键,业务生成
* @param idList
*/
public
void
setIdList
(
List
<
Long
>
idList
){
this
.
idList
=
idList
;
}
/**
* 获取 开始 办件id
* @return pieceIdStart
*/
public
Long
getPieceIdStart
(){
return
this
.
pieceIdStart
;
}
/**
* 设置 开始 办件id
* @param pieceIdStart
*/
public
void
setPieceIdStart
(
Long
pieceIdStart
){
this
.
pieceIdStart
=
pieceIdStart
;
}
/**
* 获取 结束 办件id
* @return pieceIdEnd
*/
public
Long
getPieceIdEnd
(){
return
this
.
pieceIdEnd
;
}
/**
* 设置 结束 办件id
* @param pieceIdEnd
*/
public
void
setPieceIdEnd
(
Long
pieceIdEnd
){
this
.
pieceIdEnd
=
pieceIdEnd
;
}
/**
* 获取 增加 办件id
* @return pieceIdIncrement
*/
public
Long
getPieceIdIncrement
(){
return
this
.
pieceIdIncrement
;
}
/**
* 设置 增加 办件id
* @param pieceIdIncrement
*/
public
void
setPieceIdIncrement
(
Long
pieceIdIncrement
){
this
.
pieceIdIncrement
=
pieceIdIncrement
;
}
/**
* 获取 办件id
* @return pieceIdList
*/
public
List
<
Long
>
getPieceIdList
(){
return
this
.
pieceIdList
;
}
/**
* 设置 办件id
* @param pieceIdList
*/
public
void
setPieceIdList
(
List
<
Long
>
pieceIdList
){
this
.
pieceIdList
=
pieceIdList
;
}
/**
* 获取 当前步骤名称
* @return currentStepNameList
*/
public
List
<
String
>
getCurrentStepNameList
(){
return
this
.
currentStepNameList
;
}
/**
* 设置 当前步骤名称
* @param currentStepNameList
*/
public
void
setCurrentStepNameList
(
List
<
String
>
currentStepNameList
){
this
.
currentStepNameList
=
currentStepNameList
;
}
/**
* 获取 当前步骤编码
* @return currentStepCodeList
*/
public
List
<
String
>
getCurrentStepCodeList
(){
return
this
.
currentStepCodeList
;
}
/**
* 设置 当前步骤编码
* @param currentStepCodeList
*/
public
void
setCurrentStepCodeList
(
List
<
String
>
currentStepCodeList
){
this
.
currentStepCodeList
=
currentStepCodeList
;
}
/**
* 获取 传入报文
* @return incomingMessageList
*/
public
List
<
String
>
getIncomingMessageList
(){
return
this
.
incomingMessageList
;
}
/**
* 设置 传入报文
* @param incomingMessageList
*/
public
void
setIncomingMessageList
(
List
<
String
>
incomingMessageList
){
this
.
incomingMessageList
=
incomingMessageList
;
}
/**
* 获取 返回报文
* @return returnMessageList
*/
public
List
<
String
>
getReturnMessageList
(){
return
this
.
returnMessageList
;
}
/**
* 设置 返回报文
* @param returnMessageList
*/
public
void
setReturnMessageList
(
List
<
String
>
returnMessageList
){
this
.
returnMessageList
=
returnMessageList
;
}
/**
* 获取 开始 接口调用时间
* @return interfaceCallTimeStart
*/
public
String
getInterfaceCallTimeStart
(){
return
this
.
interfaceCallTimeStart
;
}
/**
* 设置 开始 接口调用时间
* @param interfaceCallTimeStart
*/
public
void
setInterfaceCallTimeStart
(
String
interfaceCallTimeStart
){
this
.
interfaceCallTimeStart
=
interfaceCallTimeStart
;
}
/**
* 获取 结束 接口调用时间
* @return interfaceCallTimeEnd
*/
public
String
getInterfaceCallTimeEnd
(){
return
this
.
interfaceCallTimeEnd
;
}
/**
* 设置 结束 接口调用时间
* @param interfaceCallTimeEnd
*/
public
void
setInterfaceCallTimeEnd
(
String
interfaceCallTimeEnd
){
this
.
interfaceCallTimeEnd
=
interfaceCallTimeEnd
;
}
/**
* 获取 调用状态
* @return interfaceCallStatusList
*/
public
List
<
String
>
getInterfaceCallStatusList
(){
return
this
.
interfaceCallStatusList
;
}
/**
* 设置 调用状态
* @param interfaceCallStatusList
*/
public
void
setInterfaceCallStatusList
(
List
<
String
>
interfaceCallStatusList
){
this
.
interfaceCallStatusList
=
interfaceCallStatusList
;
}
/**
* 获取 系统编码
* @return systemCodeList
*/
public
List
<
String
>
getSystemCodeList
(){
return
this
.
systemCodeList
;
}
/**
* 设置 系统编码
* @param systemCodeList
*/
public
void
setSystemCodeList
(
List
<
String
>
systemCodeList
){
this
.
systemCodeList
=
systemCodeList
;
}
/**
* 获取 OR条件集合,列表项之间是OR,项内容之间是AND,如:(list[0].1 and list[0].2) or (list[1].3 and list[1].4)
* @return orConditionList
*/
public
List
<
RecordQuery
>
getOrConditionList
(){
return
this
.
orConditionList
;
}
/**
* 设置 OR条件集合,列表项之间是OR,项内容之间是AND,如:(list[0].1 and list[0].2) or (list[1].3 and list[1].4)
* @param orConditionList
*/
public
void
setOrConditionList
(
List
<
RecordQuery
>
orConditionList
){
this
.
orConditionList
=
orConditionList
;
}
/**
* 获取 AND条件集合,列表项之间是AND,项内容之间是OR,如:(list[0].1 or list[0].2) and (list[1].3 or list[1].4)
* @return andConditionList
*/
public
List
<
RecordQuery
>
getAndConditionList
(){
return
this
.
andConditionList
;
}
/**
* 设置 AND条件集合,列表项之间是AND,项内容之间是OR,如:(list[0].1 or list[0].2) and (list[1].3 or list[1].4)
* @param andConditionList
*/
public
void
setAndConditionList
(
List
<
RecordQuery
>
andConditionList
){
this
.
andConditionList
=
andConditionList
;
}
}
\ No newline at end of file
dataCenter-manager/src/main/java/com/mortals/xhx/records/service/RecordService.java
0 → 100644
View file @
c76be06d
package
com.mortals.xhx.records.service
;
import
com.mortals.framework.service.ICRUDService
;
import
com.mortals.xhx.records.model.RecordEntity
;
/**
* <p>Title: 接口调用记录</p>
* <p>Description: RecordService service接口 </p>
* <p>Copyright: Copyright ® </p>
* @version 1.0.0
*/
public
interface
RecordService
extends
ICRUDService
<
RecordEntity
,
Long
>{
}
\ No newline at end of file
dataCenter-manager/src/main/java/com/mortals/xhx/records/service/impl/RecordServiceImpl.java
0 → 100644
View file @
c76be06d
package
com.mortals.xhx.records.service.impl
;
import
com.mortals.framework.service.impl.AbstractCRUDServiceImpl
;
import
com.mortals.xhx.records.dao.RecordDao
;
import
com.mortals.xhx.records.model.RecordEntity
;
import
com.mortals.xhx.records.service.RecordService
;
import
org.springframework.stereotype.Service
;
/**
* <p>Title: 接口调用记录</p>
* <p>Description: RecordService service接口 </p>
* <p>Copyright: Copyright ® </p>
* @version 1.0.0
*/
@Service
(
"recordService"
)
public
class
RecordServiceImpl
extends
AbstractCRUDServiceImpl
<
RecordDao
,
RecordEntity
,
Long
>
implements
RecordService
{
}
\ No newline at end of file
dataCenter-manager/src/main/java/com/mortals/xhx/records/web/RecordController.java
0 → 100644
View file @
c76be06d
package
com.mortals.xhx.records.web
;
import
javax.servlet.http.HttpServletRequest
;
import
javax.servlet.http.HttpServletResponse
;
import
com.mortals.xhx.records.model.RecordEntity
;
import
com.mortals.xhx.records.service.RecordService
;
import
org.springframework.web.bind.annotation.RequestMapping
;
import
org.springframework.web.bind.annotation.RestController
;
import
com.mortals.framework.web.BaseCRUDJsonController
;
import
org.springframework.web.bind.annotation.PostMapping
;
import
com.alibaba.fastjson.JSONObject
;
/**
* <p>Title: 接口调用记录</p>
* <p>Description: RecordController </p>
* <p>Copyright: Copyright ® </p>
* <p>Company: </p>
* @author
* @version 1.0.0
*/
@RestController
@RequestMapping
(
"record"
)
public
class
RecordController
extends
BaseCRUDJsonController
<
RecordService
,
RecordForm
,
RecordEntity
,
Long
>
{
public
RecordController
(){
super
.
setFormClass
(
RecordForm
.
class
);
super
.
setModuleDesc
(
"接口调用记录"
);
}
/**
* 查询接口调用记录
*/
@PostMapping
(
value
=
"list"
)
public
String
list
(
HttpServletRequest
request
,
HttpServletResponse
response
,
RecordForm
form
)
{
try
{
return
super
.
list
(
request
,
response
,
form
);
}
catch
(
Exception
e
){
log
.
error
(
"查询接口调用记录列表错误"
,
e
);
JSONObject
ret
=
new
JSONObject
();
ret
.
put
(
KEY_RESULT_CODE
,
VALUE_RESULT_FAILURE
);
ret
.
put
(
KEY_RESULT_MSG
,
super
.
convertException
(
e
));
return
ret
.
toJSONString
();
}
}
/**
* 添加接口调用记录
*/
@PostMapping
(
value
=
"add"
)
public
String
add
(
HttpServletRequest
request
,
HttpServletResponse
response
,
RecordForm
form
)
{
try
{
return
super
.
add
(
request
,
response
,
form
);
}
catch
(
Exception
e
){
log
.
error
(
"添加接口调用记录错误"
,
e
);
JSONObject
ret
=
new
JSONObject
();
ret
.
put
(
KEY_RESULT_CODE
,
VALUE_RESULT_FAILURE
);
ret
.
put
(
KEY_RESULT_MSG
,
super
.
convertException
(
e
));
return
ret
.
toJSONString
();
}
}
/**
* 编辑接口调用记录
*/
@PostMapping
(
value
=
"edit"
)
public
String
edit
(
HttpServletRequest
request
,
HttpServletResponse
response
,
RecordForm
form
)
{
try
{
return
super
.
edit
(
request
,
response
,
form
);
}
catch
(
Exception
e
){
log
.
error
(
"编辑接口调用记录错误"
,
e
);
JSONObject
ret
=
new
JSONObject
();
ret
.
put
(
KEY_RESULT_CODE
,
VALUE_RESULT_FAILURE
);
ret
.
put
(
KEY_RESULT_MSG
,
super
.
convertException
(
e
));
return
ret
.
toJSONString
();
}
}
/**
* 保存接口调用记录
*/
@PostMapping
(
value
=
"save"
)
public
String
save
(
HttpServletRequest
request
,
HttpServletResponse
response
,
RecordForm
form
)
{
try
{
return
super
.
save
(
request
,
response
,
form
);
}
catch
(
Exception
e
){
log
.
error
(
"保存接口调用记录错误"
,
e
);
JSONObject
ret
=
new
JSONObject
();
ret
.
put
(
KEY_RESULT_CODE
,
VALUE_RESULT_FAILURE
);
ret
.
put
(
KEY_RESULT_MSG
,
super
.
convertException
(
e
));
return
ret
.
toJSONString
();
}
}
/**
* 删除接口调用记录
*/
@PostMapping
(
value
=
"delete"
)
public
String
delete
(
HttpServletRequest
request
,
HttpServletResponse
response
,
RecordForm
form
)
{
try
{
return
super
.
delete
(
request
,
response
,
form
);
}
catch
(
Exception
e
){
log
.
error
(
"删除接口调用记录错误"
,
e
);
JSONObject
ret
=
new
JSONObject
();
ret
.
put
(
KEY_RESULT_CODE
,
VALUE_RESULT_FAILURE
);
ret
.
put
(
KEY_RESULT_MSG
,
super
.
convertException
(
e
));
return
ret
.
toJSONString
();
}
}
/**
* 查看接口调用记录
*/
@PostMapping
(
value
=
"view"
)
public
String
view
(
HttpServletRequest
request
,
HttpServletResponse
response
,
RecordForm
form
)
{
try
{
return
super
.
view
(
request
,
response
,
form
);
}
catch
(
Exception
e
){
log
.
error
(
"查看接口调用记录错误"
,
e
);
JSONObject
ret
=
new
JSONObject
();
ret
.
put
(
KEY_RESULT_CODE
,
VALUE_RESULT_FAILURE
);
ret
.
put
(
KEY_RESULT_MSG
,
super
.
convertException
(
e
));
return
ret
.
toJSONString
();
}
}
}
\ No newline at end of file
dataCenter-manager/src/main/java/com/mortals/xhx/records/web/RecordForm.java
0 → 100644
View file @
c76be06d
package
com.mortals.xhx.records.web
;
import
com.mortals.framework.web.BaseCRUDFormLong
;
import
com.mortals.xhx.records.model.RecordEntity
;
import
com.mortals.xhx.records.model.RecordQuery
;
/**
* <p>Title: 接口调用记录</p>
* <p>Description: RecordForm </p>
* @author
* @version 1.0.0
*/
public
class
RecordForm
extends
BaseCRUDFormLong
<
RecordEntity
>
{
private
RecordEntity
record
=
new
RecordEntity
();
private
RecordQuery
query
=
new
RecordQuery
();
public
RecordForm
(){
}
@Override
public
RecordEntity
getEntity
()
{
return
record
;
}
public
RecordEntity
getRecord
()
{
return
record
;
}
public
void
setRecord
(
RecordEntity
record
)
{
this
.
record
=
record
;
}
@Override
public
RecordQuery
getQuery
()
{
return
query
;
}
public
void
setQuery
(
RecordQuery
query
)
{
this
.
query
=
query
;
}
}
\ No newline at end of file
dataCenter-manager/src/main/java/com/mortals/xhx/sqlmaps/information/information.xml
0 → 100644
View file @
c76be06d
This diff is collapsed.
Click to expand it.
dataCenter-manager/src/main/java/com/mortals/xhx/sqlmaps/information/informationExt.xml
0 → 100644
View file @
c76be06d
This diff is collapsed.
Click to expand it.
dataCenter-manager/src/main/java/com/mortals/xhx/sqlmaps/record/record.xml
0 → 100644
View file @
c76be06d
This diff is collapsed.
Click to expand it.
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment