Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
A
amos-boot-biz
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
项目统一框架
amos-boot-biz
Commits
5e11bf24
Commit
5e11bf24
authored
Dec 13, 2023
by
LiuLin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix(jyjx):添加检验检测代码
parent
19c3747c
Hide whitespace changes
Inline
Side-by-side
Showing
26 changed files
with
654 additions
and
8 deletions
+654
-8
pom.xml
...s/amos-boot-module-jyjc/amos-boot-module-jyjc-api/pom.xml
+22
-0
JyjcOpeningApplicationMapper.java
.../module/jyjc/api/mapper/JyjcOpeningApplicationMapper.java
+14
-0
IJyjcOpeningApplicationService.java
...dule/jyjc/api/service/IJyjcOpeningApplicationService.java
+12
-0
JyjcOpeningApplicationMapper.xml
...rc/main/resources/mapper/JyjcOpeningApplicationMapper.xml
+5
-0
pom.xml
...s/amos-boot-module-jyjc/amos-boot-module-jyjc-biz/pom.xml
+30
-0
AmosJyjcApplication.java
...z/src/main/java/com/yeejoin/amos/AmosJyjcApplication.java
+59
-0
ElasticSearchClientConfig.java
...oot/module/jyjc/biz/config/ElasticSearchClientConfig.java
+1
-1
JyjcOpeningApplicationController.java
...jyjc/biz/controller/JyjcOpeningApplicationController.java
+115
-0
JyjcOpeningApplicationServiceImpl.java
...c/biz/service/impl/JyjcOpeningApplicationServiceImpl.java
+34
-0
application-dev.properties
...le-jyjc-biz/src/main/resources/application-dev.properties
+38
-0
application.properties
...module-jyjc-biz/src/main/resources/application.properties
+59
-0
changelog-master.xml
...-biz/src/main/resources/db/changelog/changelog-master.xml
+10
-0
jyjc-1.0.0.0.xml
...jyjc-biz/src/main/resources/db/changelog/jyjc-1.0.0.0.xml
+9
-0
logback-dev.xml
...s-boot-module-jyjc-biz/src/main/resources/logback-dev.xml
+59
-0
pom.xml
...mos-boot-module-jyjc/amos-boot-module-jyjc-common/pom.xml
+25
-0
BaseEntity.java
.../yeejoin/amos/boot/module/jyjc/api/common/BaseEntity.java
+1
-1
BizCommonConstant.java
...n/amos/boot/module/jyjc/api/common/BizCommonConstant.java
+1
-1
DesUtil.java
...com/yeejoin/amos/boot/module/jyjc/api/common/DesUtil.java
+1
-1
ExtendedIOUtils.java
...oin/amos/boot/module/jyjc/api/common/ExtendedIOUtils.java
+1
-1
GlobalCache.java
...yeejoin/amos/boot/module/jyjc/api/common/GlobalCache.java
+1
-1
MobileLoginParam.java
...in/amos/boot/module/jyjc/api/common/MobileLoginParam.java
+1
-1
StringUtil.java
.../yeejoin/amos/boot/module/jyjc/api/common/StringUtil.java
+1
-1
JyjcOpeningApplicationDto.java
...s/boot/module/jyjc/api/dto/JyjcOpeningApplicationDto.java
+52
-0
JyjcOpeningApplication.java
...s/boot/module/jyjc/api/entity/JyjcOpeningApplication.java
+80
-0
pom.xml
amos-boot-system-tzs/amos-boot-module-jyjc/pom.xml
+22
-0
pom.xml
amos-boot-system-tzs/pom.xml
+1
-0
No files found.
amos-boot-system-tzs/amos-boot-module-jyjc/amos-boot-module-jyjc-api/pom.xml
0 → 100644
View file @
5e11bf24
<?xml version="1.0" encoding="UTF-8"?>
<project
xmlns=
"http://maven.apache.org/POM/4.0.0"
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"
>
<parent>
<artifactId>
amos-boot-module-jyjc
</artifactId>
<groupId>
com.amosframework.boot
</groupId>
<version>
1.0.0
</version>
</parent>
<modelVersion>
4.0.0
</modelVersion>
<version>
1.0.0
</version>
<artifactId>
amos-boot-module-jyjc-api
</artifactId>
<dependencies>
<dependency>
<groupId>
com.amosframework.boot
</groupId>
<artifactId>
amos-boot-module-jyjc-common
</artifactId>
<version>
${amos-biz-boot.version}
</version>
</dependency>
</dependencies>
</project>
\ No newline at end of file
amos-boot-system-tzs/amos-boot-module-jyjc/amos-boot-module-jyjc-api/src/main/java/com/yeejoin/amos/boot/module/jyjc/api/mapper/JyjcOpeningApplicationMapper.java
0 → 100644
View file @
5e11bf24
package
com
.
yeejoin
.
amos
.
boot
.
module
.
jyjc
.
api
.
mapper
;
import
com.yeejoin.amos.boot.module.jyjc.api.entity.JyjcOpeningApplication
;
import
com.baomidou.mybatisplus.core.mapper.BaseMapper
;
/**
* Mapper 接口
*
* @author system_generator
* @date 2023-12-13
*/
public
interface
JyjcOpeningApplicationMapper
extends
BaseMapper
<
JyjcOpeningApplication
>
{
}
amos-boot-system-tzs/amos-boot-module-jyjc/amos-boot-module-jyjc-api/src/main/java/com/yeejoin/amos/boot/module/jyjc/api/service/IJyjcOpeningApplicationService.java
0 → 100644
View file @
5e11bf24
package
com
.
yeejoin
.
amos
.
boot
.
module
.
jyjc
.
api
.
service
;
/**
* 接口类
*
* @author system_generator
* @date 2023-12-13
*/
public
interface
IJyjcOpeningApplicationService
{
}
amos-boot-system-tzs/amos-boot-module-jyjc/amos-boot-module-jyjc-api/src/main/resources/mapper/JyjcOpeningApplicationMapper.xml
0 → 100644
View file @
5e11bf24
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd">
<mapper
namespace=
"com.yeejoin.amos.boot.module.jyjc.api.mapper.JyjcOpeningApplicationMapper"
>
</mapper>
amos-boot-system-tzs/amos-boot-module-jyjc/amos-boot-module-jyjc-biz/pom.xml
0 → 100644
View file @
5e11bf24
<?xml version="1.0" encoding="UTF-8"?>
<project
xmlns=
"http://maven.apache.org/POM/4.0.0"
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"
>
<parent>
<artifactId>
amos-boot-module-jyjc
</artifactId>
<groupId>
com.amosframework.boot
</groupId>
<version>
1.0.0
</version>
</parent>
<modelVersion>
4.0.0
</modelVersion>
<artifactId>
amos-boot-module-jyjc-biz
</artifactId>
<dependencies>
<dependency>
<groupId>
com.amosframework.boot
</groupId>
<artifactId>
amos-boot-module-jyjc-api
</artifactId>
<version>
1.0.0
</version>
</dependency>
</dependencies>
<build>
<plugins>
<plugin>
<groupId>
org.springframework.boot
</groupId>
<artifactId>
spring-boot-maven-plugin
</artifactId>
<version>
2.7.8
</version>
</plugin>
</plugins>
</build>
</project>
\ No newline at end of file
amos-boot-system-tzs/amos-boot-module-jyjc/amos-boot-module-jyjc-biz/src/main/java/com/yeejoin/amos/AmosJyjcApplication.java
0 → 100644
View file @
5e11bf24
package
com
.
yeejoin
.
amos
;
import
com.yeejoin.amos.boot.biz.common.utils.oConvertUtils
;
import
org.mybatis.spring.annotation.MapperScan
;
import
org.slf4j.Logger
;
import
org.slf4j.LoggerFactory
;
import
org.springframework.boot.SpringApplication
;
import
org.springframework.boot.autoconfigure.SpringBootApplication
;
import
org.springframework.boot.context.properties.EnableConfigurationProperties
;
import
org.springframework.boot.web.servlet.ServletComponentScan
;
import
org.springframework.cloud.client.discovery.EnableDiscoveryClient
;
import
org.springframework.cloud.netflix.eureka.EnableEurekaClient
;
import
org.springframework.cloud.openfeign.EnableFeignClients
;
import
org.springframework.context.ConfigurableApplicationContext
;
import
org.springframework.context.annotation.ComponentScan
;
import
org.springframework.core.env.Environment
;
import
org.springframework.scheduling.annotation.EnableAsync
;
import
org.springframework.transaction.annotation.EnableTransactionManagement
;
import
springfox.documentation.swagger2.annotations.EnableSwagger2WebMvc
;
import
java.net.InetAddress
;
import
java.net.UnknownHostException
;
/**
* <pre>
* 特种设备服务启动类
* </pre>
*
* @author DELL
*/
@SpringBootApplication
@EnableTransactionManagement
@EnableConfigurationProperties
@ServletComponentScan
@EnableDiscoveryClient
@EnableFeignClients
@EnableAsync
@EnableSwagger2WebMvc
@EnableEurekaClient
//@EnableScheduling
@MapperScan
({
"org.typroject.tyboot.demo.face.orm.dao*"
,
"org.typroject.tyboot.face.*.orm.dao*"
,
"org.typroject.tyboot.core.auth.face.orm.dao*"
,
"org.typroject.tyboot.component.*.face.orm.dao*"
,
"com.yeejoin.amos.boot.module.**.api.mapper"
,
"com.yeejoin.amos.boot.biz.common.dao.mapper"
})
@ComponentScan
(
basePackages
=
{
"org.typroject"
,
"com.yeejoin.amos"
})
public
class
AmosJyjcApplication
{
private
static
final
Logger
logger
=
LoggerFactory
.
getLogger
(
AmosJyjcApplication
.
class
);
public
static
void
main
(
String
[]
args
)
throws
UnknownHostException
{
ConfigurableApplicationContext
context
=
SpringApplication
.
run
(
AmosJyjcApplication
.
class
,
args
);
Environment
env
=
context
.
getEnvironment
();
String
ip
=
InetAddress
.
getLocalHost
().
getHostAddress
();
String
port
=
env
.
getProperty
(
"server.port"
);
String
path
=
oConvertUtils
.
getString
(
env
.
getProperty
(
"server.servlet.context-path"
));
logger
.
info
(
"\n----------------------------------------------------------\n\t"
+
"Application Amos-Biz-Boot is running! Access URLs:\n\t"
+
"Swagger文档: \thttp://"
+
ip
+
":"
+
port
+
path
+
"/doc.html\n"
+
"----------------------------------------------------------"
);
}
}
amos-boot-system-tzs/amos-boot-module-
ymt/amos-boot-module-ymt-biz/src/main/java/com/yeejoin/amos/boot/module/ymt
/biz/config/ElasticSearchClientConfig.java
→
amos-boot-system-tzs/amos-boot-module-
jyjc/amos-boot-module-jyjc-biz/src/main/java/com/yeejoin/amos/boot/module/jyjc
/biz/config/ElasticSearchClientConfig.java
View file @
5e11bf24
package
com
.
yeejoin
.
amos
.
boot
.
module
.
ymt
.
biz
.
config
;
package
com
.
yeejoin
.
amos
.
boot
.
module
.
jyjc
.
biz
.
config
;
import
org.apache.http.HttpHost
;
import
org.apache.http.auth.AuthScope
;
...
...
amos-boot-system-tzs/amos-boot-module-jyjc/amos-boot-module-jyjc-biz/src/main/java/com/yeejoin/amos/boot/module/jyjc/biz/controller/JyjcOpeningApplicationController.java
0 → 100644
View file @
5e11bf24
package
com
.
yeejoin
.
amos
.
boot
.
module
.
jyjc
.
biz
.
controller
;
import
org.springframework.web.bind.annotation.RequestMapping
;
import
io.swagger.annotations.ApiOperation
;
import
io.swagger.annotations.Api
;
import
org.springframework.web.bind.annotation.RestController
;
import
com.yeejoin.amos.boot.biz.common.controller.BaseController
;
import
java.util.List
;
import
com.yeejoin.amos.boot.module.jyjc.biz.service.impl.JyjcOpeningApplicationServiceImpl
;
import
org.typroject.tyboot.core.restful.utils.ResponseHelper
;
import
org.typroject.tyboot.core.restful.utils.ResponseModel
;
import
org.springframework.beans.factory.annotation.Autowired
;
import
javax.servlet.http.HttpServletRequest
;
import
org.springframework.web.bind.annotation.*
;
import
com.baomidou.mybatisplus.extension.plugins.pagination.Page
;
import
com.yeejoin.amos.boot.module.jyjc.api.dto.JyjcOpeningApplicationDto
;
import
org.typroject.tyboot.core.restful.doc.TycloudOperation
;
import
org.typroject.tyboot.core.foundation.enumeration.UserType
;
/**
*
* @author system_generator
* @date 2023-12-13
*/
@RestController
@Api
(
tags
=
"Api"
)
@RequestMapping
(
value
=
"/jyjc-opening-application"
)
public
class
JyjcOpeningApplicationController
extends
BaseController
{
@Autowired
JyjcOpeningApplicationServiceImpl
jyjcOpeningApplicationServiceImpl
;
/**
* 新增
*
* @return
*/
@TycloudOperation
(
ApiLevel
=
UserType
.
AGENCY
)
@PostMapping
(
value
=
"/save"
)
@ApiOperation
(
httpMethod
=
"POST"
,
value
=
"新增"
,
notes
=
"新增"
)
public
ResponseModel
<
JyjcOpeningApplicationDto
>
save
(
@RequestBody
JyjcOpeningApplicationDto
model
)
{
model
=
jyjcOpeningApplicationServiceImpl
.
createWithModel
(
model
);
return
ResponseHelper
.
buildResponse
(
model
);
}
/**
* 根据sequenceNbr更新
*
* @param sequenceNbr 主键
* @return
*/
@TycloudOperation
(
ApiLevel
=
UserType
.
AGENCY
)
@PutMapping
(
value
=
"/{sequenceNbr}"
)
@ApiOperation
(
httpMethod
=
"PUT"
,
value
=
"根据sequenceNbr更新"
,
notes
=
"根据sequenceNbr更新"
)
public
ResponseModel
<
JyjcOpeningApplicationDto
>
updateBySequenceNbrJyjcOpeningApplication
(
@RequestBody
JyjcOpeningApplicationDto
model
,
@PathVariable
(
value
=
"sequenceNbr"
)
Long
sequenceNbr
)
{
model
.
setSequenceNbr
(
sequenceNbr
);
return
ResponseHelper
.
buildResponse
(
jyjcOpeningApplicationServiceImpl
.
updateWithModel
(
model
));
}
/**
* 根据sequenceNbr删除
*
* @param sequenceNbr 主键
* @return
*/
@TycloudOperation
(
ApiLevel
=
UserType
.
AGENCY
)
@DeleteMapping
(
value
=
"/{sequenceNbr}"
)
@ApiOperation
(
httpMethod
=
"DELETE"
,
value
=
"根据sequenceNbr删除"
,
notes
=
"根据sequenceNbr删除"
)
public
ResponseModel
<
Boolean
>
deleteBySequenceNbr
(
HttpServletRequest
request
,
@PathVariable
(
value
=
"sequenceNbr"
)
Long
sequenceNbr
){
return
ResponseHelper
.
buildResponse
(
jyjcOpeningApplicationServiceImpl
.
removeById
(
sequenceNbr
));
}
/**
* 根据sequenceNbr查询
*
* @param sequenceNbr 主键
* @return
*/
@TycloudOperation
(
ApiLevel
=
UserType
.
AGENCY
)
@GetMapping
(
value
=
"/{sequenceNbr}"
)
@ApiOperation
(
httpMethod
=
"GET"
,
value
=
"根据sequenceNbr查询单个"
,
notes
=
"根据sequenceNbr查询单个"
)
public
ResponseModel
<
JyjcOpeningApplicationDto
>
selectOne
(
@PathVariable
Long
sequenceNbr
)
{
return
ResponseHelper
.
buildResponse
(
jyjcOpeningApplicationServiceImpl
.
queryBySeq
(
sequenceNbr
));
}
/**
* 列表分页查询
*
* @param current 当前页
* @param current 每页大小
* @return
*/
@TycloudOperation
(
ApiLevel
=
UserType
.
AGENCY
)
@GetMapping
(
value
=
"/page"
)
@ApiOperation
(
httpMethod
=
"GET"
,
value
=
"分页查询"
,
notes
=
"分页查询"
)
public
ResponseModel
<
Page
<
JyjcOpeningApplicationDto
>>
queryForPage
(
@RequestParam
(
value
=
"current"
)
int
current
,
@RequestParam
(
value
=
"size"
)
int
size
)
{
Page
<
JyjcOpeningApplicationDto
>
page
=
new
Page
<
JyjcOpeningApplicationDto
>();
page
.
setCurrent
(
current
);
page
.
setSize
(
size
);
return
ResponseHelper
.
buildResponse
(
jyjcOpeningApplicationServiceImpl
.
queryForJyjcOpeningApplicationPage
(
page
));
}
/**
* 列表全部数据查询
*
* @return
*/
@TycloudOperation
(
ApiLevel
=
UserType
.
AGENCY
)
@ApiOperation
(
httpMethod
=
"GET"
,
value
=
"列表全部数据查询"
,
notes
=
"列表全部数据查询"
)
@GetMapping
(
value
=
"/list"
)
public
ResponseModel
<
List
<
JyjcOpeningApplicationDto
>>
selectForList
()
{
return
ResponseHelper
.
buildResponse
(
jyjcOpeningApplicationServiceImpl
.
queryForJyjcOpeningApplicationList
());
}
}
amos-boot-system-tzs/amos-boot-module-jyjc/amos-boot-module-jyjc-biz/src/main/java/com/yeejoin/amos/boot/module/jyjc/biz/service/impl/JyjcOpeningApplicationServiceImpl.java
0 → 100644
View file @
5e11bf24
package
com
.
yeejoin
.
amos
.
boot
.
module
.
jyjc
.
biz
.
service
.
impl
;
import
com.yeejoin.amos.boot.module.jyjc.api.entity.JyjcOpeningApplication
;
import
com.yeejoin.amos.boot.module.jyjc.api.mapper.JyjcOpeningApplicationMapper
;
import
com.yeejoin.amos.boot.module.jyjc.api.service.IJyjcOpeningApplicationService
;
import
com.yeejoin.amos.boot.module.jyjc.api.dto.JyjcOpeningApplicationDto
;
import
org.typroject.tyboot.core.rdbms.service.BaseService
;
import
org.springframework.stereotype.Service
;
import
com.baomidou.mybatisplus.extension.plugins.pagination.Page
;
import
java.util.List
;
/**
* 服务实现类
*
* @author system_generator
* @date 2023-12-13
*/
@Service
public
class
JyjcOpeningApplicationServiceImpl
extends
BaseService
<
JyjcOpeningApplicationDto
,
JyjcOpeningApplication
,
JyjcOpeningApplicationMapper
>
implements
IJyjcOpeningApplicationService
{
/**
* 分页查询
*/
public
Page
<
JyjcOpeningApplicationDto
>
queryForJyjcOpeningApplicationPage
(
Page
<
JyjcOpeningApplicationDto
>
page
)
{
return
this
.
queryForPage
(
page
,
null
,
false
);
}
/**
* 列表查询 示例
*/
public
List
<
JyjcOpeningApplicationDto
>
queryForJyjcOpeningApplicationList
()
{
return
this
.
queryForList
(
""
,
false
);
}
}
\ No newline at end of file
amos-boot-system-tzs/amos-boot-module-jyjc/amos-boot-module-jyjc-biz/src/main/resources/application-dev.properties
0 → 100644
View file @
5e11bf24
#DB properties:
spring.datasource.url
=
jdbc:vastbase://172.16.10.243:5432/tzs_amos_tzs_biz_init?currentSchema=amos_tzs_biz&allowMultiQueries=true
spring.datasource.username
=
admin
spring.datasource.password
=
Yeejoin@2023
eureka.client.service-url.defaultZone
=
http://172.16.10.210:10001/eureka/
eureka.instance.prefer-ip-address
=
true
management.endpoint.health.show-details
=
always
management.endpoints.web.exposure.include
=
*
eureka.instance.health-check-url
=
http://172.16.3.17:${server.port}${server.servlet.context-path}/actuator/health
eureka.instance.metadata-map.management.context-path
=
${server.servlet.context-path}/actuator
eureka.instance.status-page-url
=
http://172.16.3.17:${server.port}${server.servlet.context-path}/actuator/info
eureka.instance.metadata-map.management.api-docs
=
http://172.16.3.17:${server.port}${server.servlet.context-path}/doc.html
eureka.instance.ip-address
=
172.16.3.17
#redis properties:
spring.redis.database
=
1
spring.redis.host
=
172.16.10.210
spring.redis.port
=
16379
spring.redis.password
=
yeejoin@2020
spring.redis.lettuce.pool.max-active
=
200
spring.redis.lettuce.pool.max-wait
=
-1
spring.redis.lettuce.pool.max-idle
=
10
spring.redis.lettuce.pool.min-idle
=
0
redis.cache.failure.time
=
10800
## ES properties:
elasticsearch.username
=
elastic
elasticsearch.password
=
a123456
spring.elasticsearch.rest.uris
=
http://172.16.10.210:9200
## emqx properties:
emqx.clean-session
=
false
emqx.client-id
=
${spring.application.name}-${random.int[1024,65536]}
emqx.broker
=
tcp://36.46.151.113:1883
emqx.client-user-name
=
super
emqx.client-password
=
123456
emqx.keepAliveInterval
=
1000
\ No newline at end of file
amos-boot-system-tzs/amos-boot-module-jyjc/amos-boot-module-jyjc-biz/src/main/resources/application.properties
0 → 100644
View file @
5e11bf24
spring.application.name
=
TZS-JYJC
server.servlet.context-path
=
/jyjc
server.port
=
12000
spring.profiles.active
=
dev
spring.jackson.time-zone
=
GMT+8
spring.jackson.date-format
=
yyyy-MM-dd HH:mm:ss
logging.config
=
classpath:logback-${spring.profiles.active}.xml
mybatis-plus.configuration.log-impl
=
org.apache.ibatis.logging.stdout.StdOutImpl
##liquibase
spring.liquibase.change-log
=
classpath:/db/changelog/changelog-master.xml
spring.liquibase.enabled
=
true
feign.client.config.default.connect-timeout
=
30000
feign.client.config.default.read-timeout
=
30000
## eureka properties:
eureka.client.registry-fetch-interval-seconds
=
5
eureka.instance.prefer-ip-address
=
true
management.endpoint.health.show-details
=
always
management.endpoints.web.exposure.include
=
*
eureka.instance.health-check-url-path
=
/actuator/health
eureka.instance.lease-expiration-duration-in-seconds
=
10
eureka.instance.lease-renewal-interval-in-seconds
=
5
eureka.instance.metadata-map.management.context-path
=
${server.servlet.context-path}/actuator
eureka.instance.status-page-url-path
=
/actuator/info
eureka.instance.metadata-map.management.api-docs
=
http://localhost:${server.port}${server.servlet.context-path}/doc.html
#DB properties:
spring.datasource.driver-class-name
=
cn.com.vastbase.Driver
spring.datasource.type
=
com.zaxxer.hikari.HikariDataSource
spring.datasource.hikari.minimum-idle
=
10
spring.datasource.hikari.maximum-pool-size
=
25
spring.datasource.hikari.auto-commit
=
true
spring.datasource.hikari.idle-timeout
=
30000
spring.datasource.hikari.pool-name
=
DatebookHikariCP
spring.datasource.hikari.max-lifetime
=
120000
spring.datasource.hikari.connection-timeout
=
30000
spring.datasource.hikari.connection-test-query
=
SELECT 1
iot.fegin.name
=
AMOS-API-IOT
equip.fegin.name
=
AMOS-EQUIPMANAGE
supervision.feign.name
=
AMOS-SUPERVISION-API
knife4j.production
=
false
knife4j.enable
=
true
knife4j.basic.enable
=
true
knife4j.basic.username
=
admin
knife4j.basic.password
=
a1234560
spring.security.user.name
=
admin
spring.security.user.password
=
a1234560
spring.security.user.roles
=
SBA_ADMIN
amos.system.user.user-name
=
robot_admin
amos.system.user.password
=
a1234567
amos.system.user.app-key
=
AMOS_STUDIO
amos.system.user.product
=
AMOS_STUDIO_WEB
amos-boot-system-tzs/amos-boot-module-jyjc/amos-boot-module-jyjc-biz/src/main/resources/db/changelog/changelog-master.xml
0 → 100644
View file @
5e11bf24
<?xml version="1.0" encoding="utf-8"?>
<databaseChangeLog
xmlns=
"http://www.liquibase.org/xml/ns/dbchangelog"
xmlns:xsi=
"http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation=
"http://www.liquibase.org/xml/ns/dbchangelog
http://www.liquibase.org/xml/ns/dbchangelog/dbchangelog-3.4.xsd"
>
<include
file=
"jyjc-1.0.0.0.xml"
relativeToChangelogFile=
"true"
/>
</databaseChangeLog>
amos-boot-system-tzs/amos-boot-module-jyjc/amos-boot-module-jyjc-biz/src/main/resources/db/changelog/jyjc-1.0.0.0.xml
0 → 100644
View file @
5e11bf24
<?xml version="1.0" encoding="utf-8"?>
<databaseChangeLog
xmlns=
"http://www.liquibase.org/xml/ns/dbchangelog"
xmlns:xsi=
"http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation=
"http://www.liquibase.org/xml/ns/dbchangelog
http://www.liquibase.org/xml/ns/dbchangelog/dbchangelog-3.4.xsd"
>
</databaseChangeLog>
amos-boot-system-tzs/amos-boot-module-jyjc/amos-boot-module-jyjc-biz/src/main/resources/logback-dev.xml
0 → 100644
View file @
5e11bf24
<?xml version="1.0" encoding="UTF-8"?>
<configuration
debug=
"false"
>
<!--定义日志文件的存储地址 勿在 LogBack 的配置中使用相对路径-->
<property
name=
"LOG_HOME"
value=
"log"
/>
<!--格式化输出:%d表示日期,%thread表示线程名,%-5level:级别从左显示5个字符宽度%msg:日志消息,%n是换行符-->
<property
name=
"LOG_PATTERN"
value=
"%d{yyyy-MM-dd HH:mm:ss.SSS} [%thread] %-5level %-50.50logger{50} - %msg [%file:%line] %n"
/>
<!-- 按照每天生成日志文件 -->
<appender
name=
"FILE"
class=
"ch.qos.logback.core.rolling.RollingFileAppender"
>
<rollingPolicy
class=
"ch.qos.logback.core.rolling.SizeAndTimeBasedRollingPolicy"
>
<!--日志文件输出的文件名-->
<FileNamePattern>
${LOG_HOME}/jyjc.log.%d{yyyy-MM-dd}.%i.log
</FileNamePattern>
<!--日志文件保留天数-->
<MaxHistory>
30
</MaxHistory>
<!--日志文件大小-->
<MaxFileSize>
30mb
</MaxFileSize>
</rollingPolicy>
<encoder
class=
"ch.qos.logback.classic.encoder.PatternLayoutEncoder"
>
<pattern>
${LOG_PATTERN}
</pattern>
</encoder>
</appender>
<!-- 控制台输出 -->
<appender
name=
"STDOUT"
class=
"ch.qos.logback.core.ConsoleAppender"
>
<encoder
class=
"ch.qos.logback.classic.encoder.PatternLayoutEncoder"
>
<pattern>
${LOG_PATTERN}
</pattern>
</encoder>
</appender>
<!-- <!– ELK管理 –>-->
<!-- <appender name="ELK" class="net.logstash.logback.appender.LogstashTcpSocketAppender">-->
<!-- <destination>172.16.10.210:4560</destination>-->
<!-- <encoder charset="UTF-8" class="net.logstash.logback.encoder.LogstashEncoder"/>-->
<!-- </appender>-->
<!-- show parameters for hibernate sql 专为 Hibernate 定制
<logger name="org.hibernate.type.descriptor.sql.BasicBinder" level="TRACE" />
<logger name="org.hibernate.type.descriptor.sql.BasicExtractor" level="DEBUG" />
<logger name="org.hibernate.SQL" level="DEBUG" />
<logger name="org.hibernate.engine.QueryParameters" level="DEBUG" />
<logger name="org.hibernate.engine.query.HQLQueryPlan" level="DEBUG" />
-->
<!--myibatis log configure-->
<logger
name=
"com.apache.ibatis"
level=
"INFO"
/>
<logger
name=
"org.mybatis"
level=
"INFO"
/>
<logger
name=
"java.sql.Connection"
level=
"INFO"
/>
<logger
name=
"java.sql.Statement"
level=
"INFO"
/>
<logger
name=
"java.sql.PreparedStatement"
level=
"INFO"
/>
<logger
name=
"org.springframework"
level=
"INFO"
/>
<logger
name=
"com.baomidou.mybatisplus"
level=
"INFO"
/>
<logger
name=
"org.apache.activemq"
level=
"INFO"
/>
<logger
name=
"org.typroject"
level=
"INFO"
/>
<logger
name=
"com.yeejoin"
level=
"INFO"
/>
<!-- 日志输出级别 -->
<root
level=
"DEBUG"
>
<!-- <appender-ref ref="FILE" /> -->
<appender-ref
ref=
"STDOUT"
/>
<!-- <appender-ref ref="ELK" />-->
</root>
</configuration>
\ No newline at end of file
amos-boot-system-tzs/amos-boot-module-jyjc/amos-boot-module-jyjc-common/pom.xml
0 → 100644
View file @
5e11bf24
<?xml version="1.0" encoding="UTF-8"?>
<project
xmlns=
"http://maven.apache.org/POM/4.0.0"
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"
>
<parent>
<artifactId>
amos-boot-module-jyjc
</artifactId>
<groupId>
com.amosframework.boot
</groupId>
<version>
1.0.0
</version>
</parent>
<modelVersion>
4.0.0
</modelVersion>
<version>
1.0.0
</version>
<artifactId>
amos-boot-module-jyjc-common
</artifactId>
<dependencies>
<dependency>
<groupId>
org.springframework.data
</groupId>
<artifactId>
spring-data-elasticsearch
</artifactId>
<scope>
compile
</scope>
</dependency>
<dependency>
<artifactId>
amos-component-rule
</artifactId>
<groupId>
com.yeejoin
</groupId>
</dependency>
</dependencies>
</project>
\ No newline at end of file
amos-boot-system-tzs/amos-boot-module-
ymt/amos-boot-module-ymt-common/src/main/java/com/yeejoin/amos/boot/module/ymt
/api/common/BaseEntity.java
→
amos-boot-system-tzs/amos-boot-module-
jyjc/amos-boot-module-jyjc-common/src/main/java/com/yeejoin/amos/boot/module/jyjc
/api/common/BaseEntity.java
View file @
5e11bf24
package
com
.
yeejoin
.
amos
.
boot
.
module
.
ymt
.
api
.
common
;
package
com
.
yeejoin
.
amos
.
boot
.
module
.
jyjc
.
api
.
common
;
import
com.baomidou.mybatisplus.annotation.FieldFill
;
import
com.baomidou.mybatisplus.annotation.IdType
;
...
...
amos-boot-system-tzs/amos-boot-module-
ymt/amos-boot-module-ymt-common/src/main/java/com/yeejoin/amos/boot/module/ymt
/api/common/BizCommonConstant.java
→
amos-boot-system-tzs/amos-boot-module-
jyjc/amos-boot-module-jyjc-common/src/main/java/com/yeejoin/amos/boot/module/jyjc
/api/common/BizCommonConstant.java
View file @
5e11bf24
package
com
.
yeejoin
.
amos
.
boot
.
module
.
ymt
.
api
.
common
;
package
com
.
yeejoin
.
amos
.
boot
.
module
.
jyjc
.
api
.
common
;
/**
* @Description: 通用常量类
...
...
amos-boot-system-tzs/amos-boot-module-
ymt/amos-boot-module-ymt-common/src/main/java/com/yeejoin/amos/boot/module/ymt
/api/common/DesUtil.java
→
amos-boot-system-tzs/amos-boot-module-
jyjc/amos-boot-module-jyjc-common/src/main/java/com/yeejoin/amos/boot/module/jyjc
/api/common/DesUtil.java
View file @
5e11bf24
package
com
.
yeejoin
.
amos
.
boot
.
module
.
ymt
.
api
.
common
;
package
com
.
yeejoin
.
amos
.
boot
.
module
.
jyjc
.
api
.
common
;
import
java.util.ArrayList
;
...
...
amos-boot-system-tzs/amos-boot-module-
ymt/amos-boot-module-ymt-common/src/main/java/com/yeejoin/amos/boot/module/ymt
/api/common/ExtendedIOUtils.java
→
amos-boot-system-tzs/amos-boot-module-
jyjc/amos-boot-module-jyjc-common/src/main/java/com/yeejoin/amos/boot/module/jyjc
/api/common/ExtendedIOUtils.java
View file @
5e11bf24
package
com
.
yeejoin
.
amos
.
boot
.
module
.
ymt
.
api
.
common
;
package
com
.
yeejoin
.
amos
.
boot
.
module
.
jyjc
.
api
.
common
;
import
org.springframework.util.Assert
;
...
...
amos-boot-system-tzs/amos-boot-module-
ymt/amos-boot-module-ymt-common/src/main/java/com/yeejoin/amos/boot/module/ymt
/api/common/GlobalCache.java
→
amos-boot-system-tzs/amos-boot-module-
jyjc/amos-boot-module-jyjc-common/src/main/java/com/yeejoin/amos/boot/module/jyjc
/api/common/GlobalCache.java
View file @
5e11bf24
package
com
.
yeejoin
.
amos
.
boot
.
module
.
ymt
.
api
.
common
;
package
com
.
yeejoin
.
amos
.
boot
.
module
.
jyjc
.
api
.
common
;
import
java.util.HashMap
;
import
java.util.Map
;
...
...
amos-boot-system-tzs/amos-boot-module-
ymt/amos-boot-module-ymt-common/src/main/java/com/yeejoin/amos/boot/module/ymt
/api/common/MobileLoginParam.java
→
amos-boot-system-tzs/amos-boot-module-
jyjc/amos-boot-module-jyjc-common/src/main/java/com/yeejoin/amos/boot/module/jyjc
/api/common/MobileLoginParam.java
View file @
5e11bf24
package
com
.
yeejoin
.
amos
.
boot
.
module
.
ymt
.
api
.
common
;
package
com
.
yeejoin
.
amos
.
boot
.
module
.
jyjc
.
api
.
common
;
import
lombok.Data
;
...
...
amos-boot-system-tzs/amos-boot-module-
ymt/amos-boot-module-ymt-common/src/main/java/com/yeejoin/amos/boot/module/ymt
/api/common/StringUtil.java
→
amos-boot-system-tzs/amos-boot-module-
jyjc/amos-boot-module-jyjc-common/src/main/java/com/yeejoin/amos/boot/module/jyjc
/api/common/StringUtil.java
View file @
5e11bf24
package
com
.
yeejoin
.
amos
.
boot
.
module
.
ymt
.
api
.
common
;
package
com
.
yeejoin
.
amos
.
boot
.
module
.
jyjc
.
api
.
common
;
import
java.math.BigDecimal
;
import
java.util.Collection
;
...
...
amos-boot-system-tzs/amos-boot-module-jyjc/amos-boot-module-jyjc-common/src/main/java/com/yeejoin/amos/boot/module/jyjc/api/dto/JyjcOpeningApplicationDto.java
0 → 100644
View file @
5e11bf24
package
com
.
yeejoin
.
amos
.
boot
.
module
.
jyjc
.
api
.
dto
;
import
com.yeejoin.amos.boot.biz.common.dto.BaseDto
;
import
io.swagger.annotations.ApiModel
;
import
io.swagger.annotations.ApiModelProperty
;
import
lombok.Data
;
import
lombok.EqualsAndHashCode
;
import
java.util.Date
;
/**
*
*
* @author system_generator
* @date 2023-12-13
*/
@Data
@EqualsAndHashCode
(
callSuper
=
true
)
@ApiModel
(
value
=
"JyjcOpeningApplicationDto"
,
description
=
""
)
public
class
JyjcOpeningApplicationDto
extends
BaseDto
{
private
static
final
long
serialVersionUID
=
1L
;
@ApiModelProperty
(
value
=
"单位编码"
)
private
String
unitCode
;
@ApiModelProperty
(
value
=
"检测区域编码"
)
private
String
detectionRegion
;
@ApiModelProperty
(
value
=
"检测区域名称(冗余)"
)
private
String
detectionRegionName
;
@ApiModelProperty
(
value
=
"申请单号"
)
private
String
applicationSeq
;
@ApiModelProperty
(
value
=
"检验结果方式"
)
private
String
resultType
;
@ApiModelProperty
(
value
=
"有效期至"
)
private
Date
expiryDate
;
@ApiModelProperty
(
value
=
"受理日期(接收日期)"
)
private
Date
acceptDate
;
@ApiModelProperty
(
value
=
"状态"
)
private
String
status
;
@ApiModelProperty
(
value
=
"备注"
)
private
String
remark
;
}
amos-boot-system-tzs/amos-boot-module-jyjc/amos-boot-module-jyjc-common/src/main/java/com/yeejoin/amos/boot/module/jyjc/api/entity/JyjcOpeningApplication.java
0 → 100644
View file @
5e11bf24
package
com
.
yeejoin
.
amos
.
boot
.
module
.
jyjc
.
api
.
entity
;
import
com.baomidou.mybatisplus.annotation.TableField
;
import
com.baomidou.mybatisplus.annotation.TableName
;
import
com.yeejoin.amos.boot.biz.common.entity.BaseEntity
;
import
lombok.Data
;
import
lombok.EqualsAndHashCode
;
import
lombok.experimental.Accessors
;
import
java.util.Date
;
/**
*
*
* @author system_generator
* @date 2023-12-13
*/
@Data
@EqualsAndHashCode
(
callSuper
=
true
)
@Accessors
(
chain
=
true
)
@TableName
(
"tz_jyjc_opening_application"
)
public
class
JyjcOpeningApplication
extends
BaseEntity
{
private
static
final
long
serialVersionUID
=
1L
;
/**
* 单位编码
*/
@TableField
(
"unit_code"
)
private
String
unitCode
;
/**
* 检测区域编码
*/
@TableField
(
"detection_region"
)
private
String
detectionRegion
;
/**
* 检测区域名称(冗余)
*/
@TableField
(
"detection_region_name"
)
private
String
detectionRegionName
;
/**
* 申请单号
*/
@TableField
(
"application_seq"
)
private
String
applicationSeq
;
/**
* 检验结果方式
*/
@TableField
(
"result_type"
)
private
String
resultType
;
/**
* 有效期至
*/
@TableField
(
"expiry_date"
)
private
Date
expiryDate
;
/**
* 受理日期(接收日期)
*/
@TableField
(
"accept_date"
)
private
Date
acceptDate
;
/**
* 状态
*/
@TableField
(
"status"
)
private
String
status
;
/**
* 备注
*/
@TableField
(
"remark"
)
private
String
remark
;
}
amos-boot-system-tzs/amos-boot-module-jyjc/pom.xml
0 → 100644
View file @
5e11bf24
<?xml version="1.0" encoding="UTF-8"?>
<project
xmlns=
"http://maven.apache.org/POM/4.0.0"
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"
>
<parent>
<artifactId>
amos-boot-system-tzs
</artifactId>
<groupId>
com.amosframework.boot
</groupId>
<version>
1.0.0
</version>
</parent>
<modelVersion>
4.0.0
</modelVersion>
<artifactId>
amos-boot-module-jyjc
</artifactId>
<packaging>
pom
</packaging>
<version>
1.0.0
</version>
<description>
检验检测模块
</description>
<modules>
<module>
amos-boot-module-jyjc-api
</module>
<module>
amos-boot-module-jyjc-biz
</module>
<module>
amos-boot-module-jyjc-common
</module>
</modules>
</project>
\ No newline at end of file
amos-boot-system-tzs/pom.xml
View file @
5e11bf24
...
...
@@ -17,6 +17,7 @@
<module>
amos-boot-module-app
</module>
<module>
amos-boot-module-tzspatrol
</module>
<module>
amos-boot-module-jg
</module>
<module>
amos-boot-module-jyjc
</module>
</modules>
<properties>
<amos.version.tzs>
1.8.5
</amos.version.tzs>
...
...
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