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
25f1c832
Commit
25f1c832
authored
Oct 27, 2023
by
tianyiming
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
一码通西咸存量数据处理
parent
ed65be87
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
84 additions
and
87 deletions
+84
-87
EquipmentCategoryMapper.java
...s/boot/module/ymt/api/mapper/EquipmentCategoryMapper.java
+1
-0
IEquipmentCategoryService.java
...oot/module/ymt/api/service/IEquipmentCategoryService.java
+2
-2
EquipmentCategoryMapper.xml
...api/src/main/resources/mapper/EquipmentCategoryMapper.xml
+18
-3
EquipmentCategoryController.java
...odule/ymt/biz/controller/EquipmentCategoryController.java
+3
-3
EquipmentCategoryServiceImpl.java
...le/ymt/biz/service/impl/EquipmentCategoryServiceImpl.java
+60
-79
No files found.
amos-boot-system-tzs/amos-boot-module-ymt/amos-boot-module-ymt-api/src/main/java/com/yeejoin/amos/boot/module/ymt/api/mapper/EquipmentCategoryMapper.java
View file @
25f1c832
...
...
@@ -88,5 +88,6 @@ public interface EquipmentCategoryMapper extends BaseMapper<EquipmentCategory> {
List
<
Map
<
String
,
Object
>>
getEquCategory
(
@Param
(
"recordList"
)
List
<
String
>
recordList
);
List
<
String
>
selectXiXianNew
();
}
amos-boot-system-tzs/amos-boot-module-ymt/amos-boot-module-ymt-api/src/main/java/com/yeejoin/amos/boot/module/ymt/api/service/IEquipmentCategoryService.java
View file @
25f1c832
...
...
@@ -21,7 +21,7 @@ public interface IEquipmentCategoryService {
Page
equipClaimOverview
();
Map
<
String
,
String
>
createSupervisorCode
(
Map
<
String
,
Object
>
map
,
String
record
);
Map
<
String
,
String
>
createSupervisorCode
(
Map
<
String
,
Object
>
map
);
List
<
LinkedHashMap
>
getTree
();
List
<
LinkedHashMap
>
creatTree
();
...
...
@@ -42,5 +42,5 @@ public interface IEquipmentCategoryService {
ResponseModel
submit
(
Map
<
String
,
Object
>
map
);
void
creatXiXian
();
void
creatXiXian
(
String
type
);
}
amos-boot-system-tzs/amos-boot-module-ymt/amos-boot-module-ymt-api/src/main/resources/mapper/EquipmentCategoryMapper.xml
View file @
25f1c832
...
...
@@ -601,13 +601,14 @@
SELECT
ibjoi."RECORD"
FROM
"biz_jg_supervisory_code" bjsc
LEFT JOIN idx_biz_jg_other_info ibjoi ON bjsc.code96333 = ibjoi."CODE96333"
idx_biz_jg_other_info ibjoi
LEFT JOIN idx_biz_jg_supervision_info ibjsi ON ibjsi.record = ibjoi.record
LEFT JOIN "biz_jg_supervisory_code" bjsc ON bjsc.supervisory_code = ibjoi."SUPERVISORY_CODE"
WHERE
ibjsi."ORG_BRANCH_CODE" LIKE'50*18667%'
AND ibjoi."SUPERVISORY_CODE" NOT LIKE'X%'
AND ( ibjoi."CODE96333" NOT LIKE'31%' OR ibjoi."CODE96333" IS NULL )
AND ( bjsc.status = '1' OR bjsc.status = '2' )
AND bjsc.supervisory_code NOT LIKE 'X%'
AND create_status = 1
AND "CLAIM_STATUS" = '已认领';
</select>
...
...
@@ -665,4 +666,18 @@
AND "CLAIM_STATUS" = '已认领'
);
</delete>
<select
id=
"selectXiXianNew"
resultType=
"java.lang.String"
>
SELECT
ibjoi."RECORD"
FROM
idx_biz_jg_other_info ibjoi
LEFT JOIN idx_biz_jg_supervision_info ibjsi ON ibjsi.record = ibjoi.record
LEFT JOIN "biz_jg_supervisory_code" bjsc ON bjsc.supervisory_code = ibjoi."SUPERVISORY_CODE"
WHERE
ibjsi."ORG_BRANCH_CODE" LIKE'50*18667%'
AND ibjoi."SUPERVISORY_CODE" NOT LIKE'X%'
AND ( ibjoi."CODE96333" NOT LIKE'31%' OR ibjoi."CODE96333" IS NULL )
AND "CLAIM_STATUS" = '已认领';
</select>
</mapper>
amos-boot-system-tzs/amos-boot-module-ymt/amos-boot-module-ymt-biz/src/main/java/com/yeejoin/amos/boot/module/ymt/biz/controller/EquipmentCategoryController.java
View file @
25f1c832
...
...
@@ -217,7 +217,7 @@ public class EquipmentCategoryController extends BaseController {
@RequestMapping
(
value
=
"/createSupervisorCode"
,
method
=
RequestMethod
.
POST
)
@ApiOperation
(
httpMethod
=
"POST"
,
value
=
"生成监管码和96333码"
,
notes
=
"生成监管码和96333码"
)
public
ResponseModel
<
Object
>
createSupervisorCode
(
@RequestBody
Map
<
String
,
Object
>
map
)
{
return
ResponseHelper
.
buildResponse
(
equipmentCategoryService
.
createSupervisorCode
(
map
,
null
));
return
ResponseHelper
.
buildResponse
(
equipmentCategoryService
.
createSupervisorCode
(
map
));
}
/**
...
...
@@ -307,8 +307,8 @@ public class EquipmentCategoryController extends BaseController {
@TycloudOperation
(
ApiLevel
=
UserType
.
AGENCY
,
needAuth
=
false
)
@GetMapping
(
value
=
"/creatXiXian"
)
@ApiOperation
(
httpMethod
=
"GET"
,
value
=
"西咸存量数据处理功能"
,
notes
=
"西咸存量数据处理功能"
)
public
ResponseModel
<
Object
>
creatXiXian
()
{
equipmentCategoryService
.
creatXiXian
();
public
ResponseModel
<
Object
>
creatXiXian
(
@RequestParam
String
type
)
{
equipmentCategoryService
.
creatXiXian
(
type
);
return
ResponseHelper
.
buildResponse
(
"ok"
);
}
...
...
amos-boot-system-tzs/amos-boot-module-ymt/amos-boot-module-ymt-biz/src/main/java/com/yeejoin/amos/boot/module/ymt/biz/service/impl/EquipmentCategoryServiceImpl.java
View file @
25f1c832
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