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
28c2dd42
Commit
28c2dd42
authored
Apr 12, 2024
by
tianbo
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
1.设备复制功能bug
2.电梯使用标志微调
parent
725fad7c
Hide whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
11 additions
and
14 deletions
+11
-14
AmosJGApplication.java
...biz/src/main/java/com/yeejoin/amos/AmosJGApplication.java
+1
-3
CommonController.java
.../amos/boot/module/jg/biz/controller/CommonController.java
+1
-1
IdxBizJqEquipmentRegisterController.java
...g/biz/controller/IdxBizJqEquipmentRegisterController.java
+2
-2
IIdxBizJgRegisterInfoService.java
...t/module/jg/biz/service/IIdxBizJgRegisterInfoService.java
+1
-1
IdxBizJgRegisterInfoServiceImpl.java
.../jg/biz/service/impl/IdxBizJgRegisterInfoServiceImpl.java
+6
-1
flag1-use-equip.ftl
...e-jg-biz/src/main/resources/templates/flag1-use-equip.ftl
+0
-0
pom.xml
amos-boot-system-tzs/pom.xml
+0
-6
No files found.
amos-boot-system-tzs/amos-boot-module-jg/amos-boot-module-jg-biz/src/main/java/com/yeejoin/amos/AmosJGApplication.java
View file @
28c2dd42
...
...
@@ -5,7 +5,6 @@ import net.javacrumbs.shedlock.spring.annotation.EnableSchedulerLock;
import
org.mybatis.spring.annotation.MapperScan
;
import
org.slf4j.Logger
;
import
org.slf4j.LoggerFactory
;
import
org.springframework.beans.factory.annotation.Autowired
;
import
org.springframework.boot.SpringApplication
;
import
org.springframework.boot.autoconfigure.SpringBootApplication
;
import
org.springframework.boot.context.properties.EnableConfigurationProperties
;
...
...
@@ -14,7 +13,6 @@ 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.Bean
;
import
org.springframework.context.annotation.ComponentScan
;
import
org.springframework.core.env.Environment
;
import
org.springframework.scheduling.annotation.EnableAsync
;
...
...
@@ -57,7 +55,7 @@ public class AmosJGApplication {
String
path
=
oConvertUtils
.
getString
(
env
.
getProperty
(
"server.servlet.context-path"
));
logger
.
info
(
"\n----------------------------------------------------------\n\t"
+
"Application Amos-JG is running! Access URLs:\n\t"
+
"Swagger文档: \thttp://"
+
ip
+
":"
+
port
+
path
+
"/doc.html\n"
+
"----------------------------------------------------------"
);
+
path
+
"/doc.html\n"
+
"----------------------------------------------------------
\n
"
);
}
}
amos-boot-system-tzs/amos-boot-module-jg/amos-boot-module-jg-biz/src/main/java/com/yeejoin/amos/boot/module/jg/biz/controller/CommonController.java
View file @
28c2dd42
...
...
@@ -441,7 +441,7 @@ public class CommonController extends BaseController {
private
UseFlagParamDto
buildUseFlagParam
(){
UseFlagParamDto
useFlagParamDto
=
new
UseFlagParamDto
();
useFlagParamDto
.
setEquList
(
"设备种类名称"
);
useFlagParamDto
.
setEquListCode
(
"
0
000"
);
useFlagParamDto
.
setEquListCode
(
"
3
000"
);
useFlagParamDto
.
setEquipCode
(
"10001101"
);
useFlagParamDto
.
setEquipDefine
(
"设备品种"
);
useFlagParamDto
.
setUseUnitName
(
"使用单位名称"
);
...
...
amos-boot-system-tzs/amos-boot-module-jg/amos-boot-module-jg-biz/src/main/java/com/yeejoin/amos/boot/module/jg/biz/controller/IdxBizJqEquipmentRegisterController.java
View file @
28c2dd42
...
...
@@ -66,8 +66,8 @@ public class IdxBizJqEquipmentRegisterController extends BaseController {
@TycloudOperation
(
ApiLevel
=
UserType
.
AGENCY
)
@GetMapping
(
value
=
"/{record}"
)
@ApiOperation
(
httpMethod
=
"GET"
,
value
=
"根据record查询设备注册信息详情"
,
notes
=
"根据record查询设备注册信息详情"
)
public
ResponseModel
<
Object
>
selectOne
(
@PathVariable
String
record
)
{
return
ResponseHelper
.
buildResponse
(
idxBizJgRegisterInfoService
.
getEquipmentRegisterByRecord
(
record
));
public
ResponseModel
<
Object
>
selectOne
(
@PathVariable
String
record
,
@RequestParam
(
required
=
false
)
String
isCopy
)
{
return
ResponseHelper
.
buildResponse
(
idxBizJgRegisterInfoService
.
getEquipmentRegisterByRecord
(
record
,
isCopy
));
}
...
...
amos-boot-system-tzs/amos-boot-module-jg/amos-boot-module-jg-biz/src/main/java/com/yeejoin/amos/boot/module/jg/biz/service/IIdxBizJgRegisterInfoService.java
View file @
28c2dd42
...
...
@@ -22,7 +22,7 @@ public interface IIdxBizJgRegisterInfoService {
boolean
batchDeleteByRecord
(
Map
<
String
,
Object
>
map
);
Map
<
String
,
Map
<
String
,
Object
>>
getEquipmentRegisterByRecord
(
String
record
);
Map
<
String
,
Map
<
String
,
Object
>>
getEquipmentRegisterByRecord
(
String
record
,
String
isCopy
);
Page
<
JSONObject
>
queryForEquipmentRegisterPage
(
JSONObject
jsonObject
);
...
...
amos-boot-system-tzs/amos-boot-module-jg/amos-boot-module-jg-biz/src/main/java/com/yeejoin/amos/boot/module/jg/biz/service/impl/IdxBizJgRegisterInfoServiceImpl.java
View file @
28c2dd42
...
...
@@ -330,7 +330,7 @@ public class IdxBizJgRegisterInfoServiceImpl extends BaseService<IdxBizJgRegiste
* @param record
* @return
*/
public
Map
<
String
,
Map
<
String
,
Object
>>
getEquipmentRegisterByRecord
(
String
record
)
{
public
Map
<
String
,
Map
<
String
,
Object
>>
getEquipmentRegisterByRecord
(
String
record
,
String
isCopy
)
{
Map
<
String
,
Map
<
String
,
Object
>>
resultMap
=
new
HashMap
<>();
// 设备种类
Map
<
String
,
Object
>
equIpClassMap
=
this
.
getEquIpClassMap
(
record
,
""
);
...
...
@@ -355,6 +355,11 @@ public class IdxBizJgRegisterInfoServiceImpl extends BaseService<IdxBizJgRegiste
}
}
// 处理复制设备信息
if
(
"1"
.
equals
(
isCopy
))
{
equipInfoMap
.
put
(
"EQU_CODE_TYPE"
,
"1"
);
equipInfoMap
.
put
(
"SUPERVISORY_CODE"
,
null
);
}
return
resultMap
;
}
...
...
amos-boot-system-tzs/amos-boot-module-jg/amos-boot-module-jg-biz/src/main/resources/templates/flag1-use-equip.ftl
View file @
28c2dd42
This source diff could not be displayed because it is too large. You can
view the blob
instead.
amos-boot-system-tzs/pom.xml
View file @
28c2dd42
...
...
@@ -83,12 +83,6 @@
<groupId>
com.yeejoin
</groupId>
<artifactId>
amos-feign-systemctl
</artifactId>
</dependency>
<dependency>
<groupId>
com.amosframework.boot
</groupId>
<artifactId>
amos-boot-module-common-api
</artifactId>
<version>
1.0.1
</version>
<scope>
compile
</scope>
</dependency>
</dependencies>
<dependencyManagement>
...
...
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