Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
O
one-certificate-system
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
赵啸非
one-certificate-system
Commits
1e23e744
Commit
1e23e744
authored
Jul 28, 2024
by
赵啸非
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
添加目录字段
parent
90ce17c4
Changes
6
Expand all
Show whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
3023 additions
and
2399 deletions
+3023
-2399
one-certificate-manager/db/add_db.sql
one-certificate-manager/db/add_db.sql
+5
-0
one-certificate-manager/src/main/java/com/mortals/xhx/module/child/model/ChildLicenseEntity.java
...om/mortals/xhx/module/child/model/ChildLicenseEntity.java
+113
-88
one-certificate-manager/src/main/java/com/mortals/xhx/module/child/model/ChildLicenseQuery.java
...com/mortals/xhx/module/child/model/ChildLicenseQuery.java
+1416
-1059
one-certificate-manager/src/main/java/com/mortals/xhx/module/child/model/vo/ChildLicenseVo.java
...com/mortals/xhx/module/child/model/vo/ChildLicenseVo.java
+5
-0
one-certificate-manager/src/main/java/com/mortals/xhx/module/child/web/ChildLicenseController.java
.../mortals/xhx/module/child/web/ChildLicenseController.java
+10
-0
one-certificate-manager/src/main/resources/sqlmap/module/child/ChildLicenseMapper.xml
...main/resources/sqlmap/module/child/ChildLicenseMapper.xml
+1474
-1252
No files found.
one-certificate-manager/db/add_db.sql
View file @
1e23e744
...
...
@@ -31,9 +31,14 @@ CREATE TABLE `mortals_xhx_child_license` (
`formContent`
mediumtext
COMMENT
'提交的表单'
,
`processStatus`
tinyint
(
2
)
DEFAULT
'0'
COMMENT
'处理状态(0.未处理,1.已处理)'
,
`remark`
varchar
(
2048
)
CHARACTER
SET
utf8
COLLATE
utf8_general_ci
NULL
DEFAULT
NULL
COMMENT
'备注'
,
`reportUserId`
bigint
(
20
)
DEFAULT
NULL
COMMENT
'联报用户'
,
`reportUserName`
varchar
(
64
)
DEFAULT
NULL
COMMENT
'联报用户名称'
,
`reportTime`
datetime
DEFAULT
NULL
COMMENT
'联报时间'
,
`createTime`
datetime
(
0
)
NOT
NULL
COMMENT
'创建时间'
,
`createUserId`
bigint
(
20
)
NOT
NULL
COMMENT
'创建用户'
,
`createUserName`
varchar
(
64
)
DEFAULT
NULL
COMMENT
'创建用户名称'
,
`updateUserId`
bigint
(
20
)
DEFAULT
NULL
COMMENT
'更新用户'
,
`updateUserName`
varchar
(
64
)
DEFAULT
NULL
COMMENT
'更新用户名称'
,
`updateTime`
datetime
DEFAULT
NULL
COMMENT
'更新时间'
,
PRIMARY
KEY
(
`id`
)
USING
BTREE
,
KEY
`siteId`
(
`siteId`
)
USING
BTREE
,
...
...
one-certificate-manager/src/main/java/com/mortals/xhx/module/child/model/ChildLicenseEntity.java
View file @
1e23e744
...
...
@@ -11,11 +11,11 @@ import com.mortals.framework.model.BaseEntityLong;
import
com.mortals.xhx.module.child.model.vo.ChildLicenseVo
;
import
lombok.Data
;
/**
* 行业许可子证实体对象
*
* @author zxfei
* @date 2024-07-28
*/
* 行业许可子证实体对象
*
* @author zxfei
* @date 2024-07-28
*/
@Data
public
class
ChildLicenseEntity
extends
ChildLicenseVo
{
private
static
final
long
serialVersionUID
=
1L
;
...
...
@@ -128,6 +128,26 @@ public class ChildLicenseEntity extends ChildLicenseVo {
* 备注
*/
private
String
remark
;
/**
* 联报用户
*/
private
Long
reportUserId
;
/**
* 联报用户名称
*/
private
String
reportUserName
;
/**
* 联报时间
*/
private
Date
reportTime
;
/**
* 创建用户名称
*/
private
String
createUserName
;
/**
* 更新用户名称
*/
private
String
updateUserName
;
@Override
public
int
hashCode
()
{
return
this
.
getId
().
hashCode
();
...
...
@@ -172,5 +192,10 @@ public class ChildLicenseEntity extends ChildLicenseVo {
this
.
formContent
=
""
;
this
.
processStatus
=
0
;
this
.
remark
=
""
;
this
.
reportUserId
=
null
;
this
.
reportUserName
=
""
;
this
.
reportTime
=
null
;
this
.
createUserName
=
""
;
this
.
updateUserName
=
""
;
}
}
\ No newline at end of file
one-certificate-manager/src/main/java/com/mortals/xhx/module/child/model/ChildLicenseQuery.java
View file @
1e23e744
This diff is collapsed.
Click to expand it.
one-certificate-manager/src/main/java/com/mortals/xhx/module/child/model/vo/ChildLicenseVo.java
View file @
1e23e744
...
...
@@ -19,5 +19,10 @@ public class ChildLicenseVo extends BaseEntityLong {
/** 主键ID,主键,自增长列表 */
private
List
<
Long
>
idList
;
/** 开始 创建时间 */
private
String
createTimeStart
;
/** 结束 创建时间 */
private
String
createTimeEnd
;
}
\ No newline at end of file
one-certificate-manager/src/main/java/com/mortals/xhx/module/child/web/ChildLicenseController.java
View file @
1e23e744
...
...
@@ -5,6 +5,8 @@ import com.mortals.framework.exception.AppException;
import
com.mortals.framework.web.BaseCRUDJsonBodyMappingController
;
import
com.mortals.xhx.annotation.DataPermission
;
import
com.mortals.xhx.base.system.param.service.ParamService
;
import
com.mortals.xhx.module.certificate.model.CertificateDocumentQuery
;
import
com.mortals.xhx.module.certificate.service.CertificateDocumentService
;
import
org.springframework.beans.factory.annotation.Autowired
;
import
org.springframework.web.bind.annotation.RequestMapping
;
import
org.springframework.web.bind.annotation.RestController
;
...
...
@@ -49,6 +51,9 @@ public class ChildLicenseController extends BaseCRUDJsonBodyMappingController<Ch
@Autowired
private
ParamService
paramService
;
@Autowired
private
CertificateDocumentService
certificateDocumentService
;
public
ChildLicenseController
()
{
super
.
setModuleDesc
(
"行业许可子证"
);
}
...
...
@@ -57,6 +62,11 @@ public class ChildLicenseController extends BaseCRUDJsonBodyMappingController<Ch
protected
void
init
(
Map
<
String
,
Object
>
model
,
Context
context
)
{
this
.
addDict
(
model
,
"legalPersonName"
,
LegalPersonNameEnum
.
getEnumMap
());
this
.
addDict
(
model
,
"processStatus"
,
ProcessStatusEnum
.
getEnumMap
());
this
.
addDict
(
model
,
"documentId"
,
certificateDocumentService
.
find
(
new
CertificateDocumentQuery
())
.
stream
().
collect
(
Collectors
.
toMap
(
x
->
x
.
getId
(),
y
->
y
.
getDocumentName
(),(
o
,
n
)->
n
)));
super
.
init
(
model
,
context
);
}
...
...
one-certificate-manager/src/main/resources/sqlmap/module/child/ChildLicenseMapper.xml
View file @
1e23e744
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