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
17439dc8
Commit
17439dc8
authored
Sep 04, 2023
by
tianbo
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'develop_tzs_ymt' into develop_tzs_register
parents
a27df97d
9c605f0c
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
9 changed files
with
65 additions
and
48 deletions
+65
-48
RedissonManager.java
...amos/boot/module/elevator/biz/config/RedissonManager.java
+4
-4
AlertCalledServiceImpl.java
...ule/elevator/biz/service/impl/AlertCalledServiceImpl.java
+2
-1
TzsCitInfoServiceImpl.java
...dule/elevator/biz/service/impl/TzsCitInfoServiceImpl.java
+6
-6
CylinderEquBaseInfoForWXModel.java
...oot/module/app/api/dto/CylinderEquBaseInfoForWXModel.java
+22
-0
ElevatorBaseInfoForWXModel.java
...s/boot/module/app/api/dto/ElevatorBaseInfoForWXModel.java
+1
-16
EquBaseInfoForWXModel.java
...n/amos/boot/module/app/api/dto/EquBaseInfoForWXModel.java
+27
-0
OtherEquBaseInfoForWXModel.java
...s/boot/module/app/api/dto/OtherEquBaseInfoForWXModel.java
+1
-20
IdxFeignService.java
...n/amos/boot/module/app/flc/api/feign/IdxFeignService.java
+2
-1
TzsAppService.java
.../amos/boot/module/app/biz/service/impl/TzsAppService.java
+0
-0
No files found.
amos-boot-system-tzs/amos-boot-module-96333/amos-boot-module-96333-biz/src/main/java/com/yeejoin/amos/boot/module/elevator/biz/config/RedissonManager.java
View file @
17439dc8
...
@@ -24,25 +24,25 @@ public class RedissonManager {
...
@@ -24,25 +24,25 @@ public class RedissonManager {
/**
/**
* 公共-密码
* 公共-密码
*/
*/
@Value
(
"${spring.redis.password}"
)
@Value
(
"${spring.redis.password
:default
}"
)
private
String
password
;
private
String
password
;
/**
/**
* 单机环境使用
* 单机环境使用
*/
*/
@Value
(
"${spring.redis.host}"
)
@Value
(
"${spring.redis.host
:default
}"
)
private
String
host
;
private
String
host
;
/**
/**
* 单机环境使用
* 单机环境使用
*/
*/
@Value
(
"${spring.redis.port}"
)
@Value
(
"${spring.redis.port
:6379
}"
)
private
String
port
;
private
String
port
;
/**
/**
* 单机环境使用
* 单机环境使用
*/
*/
@Value
(
"${spring.redis.database}"
)
@Value
(
"${spring.redis.database
:0
}"
)
private
int
database
;
private
int
database
;
@Bean
@Bean
...
...
amos-boot-system-tzs/amos-boot-module-96333/amos-boot-module-96333-biz/src/main/java/com/yeejoin/amos/boot/module/elevator/biz/service/impl/AlertCalledServiceImpl.java
View file @
17439dc8
...
@@ -62,6 +62,7 @@ import org.typroject.tyboot.core.restful.exception.instance.BadRequest;
...
@@ -62,6 +62,7 @@ import org.typroject.tyboot.core.restful.exception.instance.BadRequest;
import
java.text.ParseException
;
import
java.text.ParseException
;
import
java.text.SimpleDateFormat
;
import
java.text.SimpleDateFormat
;
import
java.time.LocalDateTime
;
import
java.time.LocalDateTime
;
import
java.time.ZoneId
;
import
java.time.ZoneOffset
;
import
java.time.ZoneOffset
;
import
java.time.temporal.ChronoUnit
;
import
java.time.temporal.ChronoUnit
;
import
java.util.ArrayList
;
import
java.util.ArrayList
;
...
@@ -864,7 +865,7 @@ public class AlertCalledServiceImpl extends BaseService<AlertCalledDto,AlertCall
...
@@ -864,7 +865,7 @@ public class AlertCalledServiceImpl extends BaseService<AlertCalledDto,AlertCall
private
long
calculateExpirationTime
()
{
private
long
calculateExpirationTime
()
{
LocalDateTime
now
=
LocalDateTime
.
now
();
LocalDateTime
now
=
LocalDateTime
.
now
();
LocalDateTime
nextDay
=
now
.
plus
(
1
,
ChronoUnit
.
DAYS
).
withHour
(
0
).
withMinute
(
0
).
withSecond
(
0
).
withNano
(
0
);
LocalDateTime
nextDay
=
now
.
plus
(
1
,
ChronoUnit
.
DAYS
).
withHour
(
0
).
withMinute
(
0
).
withSecond
(
0
).
withNano
(
0
);
return
nextDay
.
toInstant
(
ZoneOffset
.
of
(
"+0"
)
).
toEpochMilli
();
return
nextDay
.
atZone
(
ZoneId
.
systemDefault
()).
toInstant
(
).
toEpochMilli
();
}
}
...
...
amos-boot-system-tzs/amos-boot-module-96333/amos-boot-module-96333-biz/src/main/java/com/yeejoin/amos/boot/module/elevator/biz/service/impl/TzsCitInfoServiceImpl.java
View file @
17439dc8
...
@@ -88,12 +88,12 @@ public class TzsCitInfoServiceImpl extends BaseService<TzsCitInfoDto, TzsCitInfo
...
@@ -88,12 +88,12 @@ public class TzsCitInfoServiceImpl extends BaseService<TzsCitInfoDto, TzsCitInfo
return
massage
;
return
massage
;
}
}
}
}
if
(!
extphone
.
equals
(
tzsCitInfo
.
getExtphone
()))
{
//
if(!extphone.equals(tzsCitInfo.getExtphone())) {
if
(!
ValidationUtil
.
isEmpty
(
this
.
list
(
new
LambdaQueryWrapper
<
TzsCitInfo
>().
eq
(
TzsCitInfo:
:
getExtphone
,
tzsCitInfo
.
getExtphone
()))))
{
//
if (!ValidationUtil.isEmpty(this.list(new LambdaQueryWrapper<TzsCitInfo>().eq(TzsCitInfo::getExtphone, tzsCitInfo.getExtphone())))) {
massage
=
"登录坐席参数extphone已存在,不可重复添加!"
;
//
massage = "登录坐席参数extphone已存在,不可重复添加!";
return
massage
;
//
return massage;
}
//
}
}
//
}
//保存数据
//保存数据
if
(!
ValidationUtil
.
isEmpty
(
tzsCitInfo
.
getCtiUserId
()))
{
if
(!
ValidationUtil
.
isEmpty
(
tzsCitInfo
.
getCtiUserId
()))
{
...
...
amos-boot-system-tzs/amos-boot-module-app/amos-boot-module-app-api/src/main/java/com/yeejoin/amos/boot/module/app/api/dto/CylinderEquBaseInfoForWXModel.java
0 → 100644
View file @
17439dc8
package
com
.
yeejoin
.
amos
.
boot
.
module
.
app
.
api
.
dto
;
import
io.swagger.annotations.ApiModel
;
import
io.swagger.annotations.ApiModelProperty
;
import
lombok.Data
;
@Data
@ApiModel
(
value
=
"OtherEquBaseInfoForWXModel"
,
description
=
""
)
public
class
CylinderEquBaseInfoForWXModel
extends
EquipTechParamBoilerModel
{
@ApiModelProperty
(
value
=
"气瓶充装介M质"
)
private
String
fillingMedium
;
@ApiModelProperty
(
value
=
"充装量"
)
private
String
fillingCapacity
;
@ApiModelProperty
(
value
=
"最近一次充装时间"
)
private
String
lastFillingTime
;
@ApiModelProperty
(
value
=
"使用期限"
)
private
String
termOfUse
;
}
amos-boot-system-tzs/amos-boot-module-app/amos-boot-module-app-api/src/main/java/com/yeejoin/amos/boot/module/app/api/dto/ElevatorBaseInfoForWXModel.java
View file @
17439dc8
...
@@ -6,32 +6,17 @@ import lombok.Data;
...
@@ -6,32 +6,17 @@ import lombok.Data;
@Data
@Data
@ApiModel
(
value
=
"ElevatorBaseInfoForWXModel"
,
description
=
""
)
@ApiModel
(
value
=
"ElevatorBaseInfoForWXModel"
,
description
=
""
)
public
class
ElevatorBaseInfoForWXModel
{
public
class
ElevatorBaseInfoForWXModel
extends
EquBaseInfoForWXModel
{
@ApiModelProperty
(
value
=
"电梯识别码"
)
@ApiModelProperty
(
value
=
"电梯识别码"
)
private
String
code96333
;
private
String
code96333
;
@ApiModelProperty
(
value
=
"设备代码"
)
private
String
equCode
;
@ApiModelProperty
(
value
=
"使用登记证编号"
)
private
String
useOrgCode
;
@ApiModelProperty
(
value
=
"设备类别"
)
private
String
equCategory
;
@ApiModelProperty
(
value
=
"制造单位名"
)
@ApiModelProperty
(
value
=
"制造单位名"
)
private
String
produceUnitName
;
private
String
produceUnitName
;
@ApiModelProperty
(
value
=
"出厂编号"
)
@ApiModelProperty
(
value
=
"出厂编号"
)
private
String
factoryNum
;
private
String
factoryNum
;
@ApiModelProperty
(
value
=
"所属区域"
)
private
String
area
;
@ApiModelProperty
(
value
=
"使用地址"
)
@ApiModelProperty
(
value
=
"使用地址"
)
private
String
address
;
private
String
address
;
@ApiModelProperty
(
value
=
"单位内编号"
)
private
String
intraUnitNumber
;
}
}
amos-boot-system-tzs/amos-boot-module-app/amos-boot-module-app-api/src/main/java/com/yeejoin/amos/boot/module/app/api/dto/EquBaseInfoForWXModel.java
0 → 100644
View file @
17439dc8
package
com
.
yeejoin
.
amos
.
boot
.
module
.
app
.
api
.
dto
;
import
io.swagger.annotations.ApiModel
;
import
io.swagger.annotations.ApiModelProperty
;
import
lombok.Data
;
@Data
@ApiModel
(
value
=
"EquBaseInfoForWXModel"
,
description
=
""
)
public
class
EquBaseInfoForWXModel
{
@ApiModelProperty
(
value
=
"设备代码"
)
private
String
equCode
;
@ApiModelProperty
(
value
=
"使用登记证编号"
)
private
String
useOrgCode
;
@ApiModelProperty
(
value
=
"设备类别"
)
private
String
equCategory
;
@ApiModelProperty
(
value
=
"所属区域"
)
private
String
county
;
@ApiModelProperty
(
value
=
"单位内编号"
)
private
String
intraUnitNumber
;
}
amos-boot-system-tzs/amos-boot-module-app/amos-boot-module-app-api/src/main/java/com/yeejoin/amos/boot/module/app/api/dto/OtherEquBaseInfoForWXModel.java
View file @
17439dc8
...
@@ -6,30 +6,11 @@ import lombok.Data;
...
@@ -6,30 +6,11 @@ import lombok.Data;
@Data
@Data
@ApiModel
(
value
=
"OtherEquBaseInfoForWXModel"
,
description
=
""
)
@ApiModel
(
value
=
"OtherEquBaseInfoForWXModel"
,
description
=
""
)
public
class
OtherEquBaseInfoForWXModel
{
public
class
OtherEquBaseInfoForWXModel
extends
EquBaseInfoForWXModel
{
@ApiModelProperty
(
value
=
"设备代码"
)
private
String
equCode
;
@ApiModelProperty
(
value
=
"使用登记证编号"
)
private
String
useOrgCode
;
@ApiModelProperty
(
value
=
"设备类别"
)
private
String
equCategory
;
@ApiModelProperty
(
value
=
"制造单位名"
)
@ApiModelProperty
(
value
=
"制造单位名"
)
private
String
produceUnitName
;
private
String
produceUnitName
;
@ApiModelProperty
(
value
=
"出厂编号"
)
@ApiModelProperty
(
value
=
"出厂编号"
)
private
String
factoryNum
;
private
String
factoryNum
;
@ApiModelProperty
(
value
=
"所属区域"
)
private
String
area
;
@ApiModelProperty
(
value
=
"使用地址"
)
private
String
address
;
@ApiModelProperty
(
value
=
"单位内编号"
)
private
String
intraUnitNumber
;
}
}
amos-boot-system-tzs/amos-boot-module-app/amos-boot-module-app-api/src/main/java/com/yeejoin/amos/boot/module/app/flc/api/feign/IdxFeignService.java
View file @
17439dc8
...
@@ -11,7 +11,8 @@ import org.typroject.tyboot.core.restful.utils.ResponseModel;
...
@@ -11,7 +11,8 @@ import org.typroject.tyboot.core.restful.utils.ResponseModel;
import
java.util.List
;
import
java.util.List
;
import
java.util.Map
;
import
java.util.Map
;
@FeignClient
(
value
=
"AMOS-IDX"
,
path
=
"idx"
,
configuration
=
{
FeignConfiguration
.
class
})
@FeignClient
(
value
=
"AMOS-IDX"
,
path
=
"idx"
,
configuration
=
{
FeignConfiguration
.
class
})
public
interface
IdxFeignService
{
public
interface
IdxFeignService
{
@RequestMapping
(
"/dimensionTable/getTreeChildIds"
)
@RequestMapping
(
"/dimensionTable/getTreeChildIds"
)
...
...
amos-boot-system-tzs/amos-boot-module-app/amos-boot-module-app-biz/src/main/java/com/yeejoin/amos/boot/module/app/biz/service/impl/TzsAppService.java
View file @
17439dc8
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