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
ce51e580
Commit
ce51e580
authored
May 24, 2024
by
tianbo
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'develop_tzs_register' of…
Merge branch 'develop_tzs_register' of
http://36.40.66.175:5000/moa/amos-boot-biz
into develop_tzs_register
parents
e08a39cb
f6055873
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
9 additions
and
12 deletions
+9
-12
CommonMapper.java
.../yeejoin/amos/boot/module/jg/api/mapper/CommonMapper.java
+1
-1
CommonController.java
.../amos/boot/module/jg/biz/controller/CommonController.java
+1
-1
ICommonService.java
...ejoin/amos/boot/module/jg/biz/service/ICommonService.java
+1
-1
CommonServiceImpl.java
...os/boot/module/jg/biz/service/impl/CommonServiceImpl.java
+1
-1
RuleActionHandler.java
...n/amos/boot/module/jyjc/biz/action/RuleActionHandler.java
+2
-5
TzBaseEnterpriseInfoMapper.xml
.../src/main/resources/mapper/TzBaseEnterpriseInfoMapper.xml
+3
-3
No files found.
amos-boot-system-tzs/amos-boot-module-jg/amos-boot-module-jg-api/src/main/java/com/yeejoin/amos/boot/module/jg/api/mapper/CommonMapper.java
View file @
ce51e580
...
@@ -40,7 +40,7 @@ public interface CommonMapper extends BaseMapper<EquipmentCategory> {
...
@@ -40,7 +40,7 @@ public interface CommonMapper extends BaseMapper<EquipmentCategory> {
Map
<
String
,
Object
>
getUserPhone
(
String
name
,
String
companyCode
);
Map
<
String
,
Object
>
getUserPhone
(
String
name
,
String
companyCode
);
Map
<
String
,
Object
>
equOnJgServiceOperationRecords
(
String
record
);
List
<
Map
<
String
,
Object
>
>
equOnJgServiceOperationRecords
(
String
record
);
/**
/**
* 统计指定设备流程中的引用次数(12个流程中,非待提交、非已撤回、非已驳回)
* 统计指定设备流程中的引用次数(12个流程中,非待提交、非已撤回、非已驳回)
...
...
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 @
ce51e580
...
@@ -439,7 +439,7 @@ public class CommonController extends BaseController {
...
@@ -439,7 +439,7 @@ public class CommonController extends BaseController {
@TycloudOperation
(
ApiLevel
=
UserType
.
AGENCY
)
@TycloudOperation
(
ApiLevel
=
UserType
.
AGENCY
)
@GetMapping
(
value
=
"/equOnJgServiceOperationRecords"
)
@GetMapping
(
value
=
"/equOnJgServiceOperationRecords"
)
@ApiOperation
(
httpMethod
=
"GET"
,
value
=
"查询设备在jg业务中的记录"
,
notes
=
"查询设备在jg业务中的记录"
)
@ApiOperation
(
httpMethod
=
"GET"
,
value
=
"查询设备在jg业务中的记录"
,
notes
=
"查询设备在jg业务中的记录"
)
public
ResponseModel
<
Map
<
String
,
Object
>>
equOnJgServiceOperationRecords
(
@RequestParam
(
value
=
"record"
)
String
record
)
{
public
ResponseModel
<
List
<
Map
<
String
,
Object
>
>>
equOnJgServiceOperationRecords
(
@RequestParam
(
value
=
"record"
)
String
record
)
{
return
ResponseHelper
.
buildResponse
(
commonService
.
equOnJgServiceOperationRecords
(
record
));
return
ResponseHelper
.
buildResponse
(
commonService
.
equOnJgServiceOperationRecords
(
record
));
}
}
...
...
amos-boot-system-tzs/amos-boot-module-jg/amos-boot-module-jg-biz/src/main/java/com/yeejoin/amos/boot/module/jg/biz/service/ICommonService.java
View file @
ce51e580
...
@@ -91,7 +91,7 @@ public interface ICommonService {
...
@@ -91,7 +91,7 @@ public interface ICommonService {
Map
<
String
,
Object
>
getUserPhone
(
String
name
);
Map
<
String
,
Object
>
getUserPhone
(
String
name
);
Map
<
String
,
Object
>
equOnJgServiceOperationRecords
(
String
record
);
List
<
Map
<
String
,
Object
>
>
equOnJgServiceOperationRecords
(
String
record
);
/**
/**
* 执行流程时前置校验
* 执行流程时前置校验
...
...
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/CommonServiceImpl.java
View file @
ce51e580
...
@@ -540,7 +540,7 @@ public class CommonServiceImpl implements ICommonService {
...
@@ -540,7 +540,7 @@ public class CommonServiceImpl implements ICommonService {
* @return
* @return
*/
*/
@Override
@Override
public
Map
<
String
,
Object
>
equOnJgServiceOperationRecords
(
String
record
)
{
public
List
<
Map
<
String
,
Object
>
>
equOnJgServiceOperationRecords
(
String
record
)
{
return
commonMapper
.
equOnJgServiceOperationRecords
(
record
);
return
commonMapper
.
equOnJgServiceOperationRecords
(
record
);
}
}
...
...
amos-boot-system-tzs/amos-boot-module-jyjc/amos-boot-module-jyjc-biz/src/main/java/com/yeejoin/amos/boot/module/jyjc/biz/action/RuleActionHandler.java
View file @
ce51e580
...
@@ -7,7 +7,6 @@ import com.yeejoin.amos.boot.module.jyjc.api.enums.LicenceTypeEnum;
...
@@ -7,7 +7,6 @@ import com.yeejoin.amos.boot.module.jyjc.api.enums.LicenceTypeEnum;
import
com.yeejoin.amos.boot.module.jyjc.api.enums.OpenBizTypeEnum
;
import
com.yeejoin.amos.boot.module.jyjc.api.enums.OpenBizTypeEnum
;
import
com.yeejoin.amos.boot.module.jyjc.api.enums.TopicEnum
;
import
com.yeejoin.amos.boot.module.jyjc.api.enums.TopicEnum
;
import
com.yeejoin.amos.boot.module.jyjc.biz.rule.InspectionEquipInfo
;
import
com.yeejoin.amos.boot.module.jyjc.biz.rule.InspectionEquipInfo
;
import
com.yeejoin.amos.boot.module.jyjc.biz.service.impl.CommonserviceImpl
;
import
com.yeejoin.amos.boot.module.ymt.api.dto.TzBaseEnterpriseInfoDto
;
import
com.yeejoin.amos.boot.module.ymt.api.dto.TzBaseEnterpriseInfoDto
;
import
com.yeejoin.amos.boot.module.ymt.api.entity.TzBaseUnitLicence
;
import
com.yeejoin.amos.boot.module.ymt.api.entity.TzBaseUnitLicence
;
import
com.yeejoin.amos.boot.module.ymt.api.entity.UseInfo
;
import
com.yeejoin.amos.boot.module.ymt.api.entity.UseInfo
;
...
@@ -37,7 +36,6 @@ public class RuleActionHandler {
...
@@ -37,7 +36,6 @@ public class RuleActionHandler {
private
final
EmqKeeper
emqKeeper
;
private
final
EmqKeeper
emqKeeper
;
private
final
TzBaseUnitLicenceMapper
baseUnitLicenceMapper
;
private
final
TzBaseUnitLicenceMapper
baseUnitLicenceMapper
;
private
final
TzBaseEnterpriseInfoMapper
tzBaseEnterpriseInfoMapper
;
private
final
TzBaseEnterpriseInfoMapper
tzBaseEnterpriseInfoMapper
;
private
final
CommonserviceImpl
commonserviceImpl
;
private
final
UseInfoMapper
useInfoMapper
;
private
final
UseInfoMapper
useInfoMapper
;
/**
/**
* 特殊独立的区县
* 特殊独立的区县
...
@@ -46,12 +44,11 @@ public class RuleActionHandler {
...
@@ -46,12 +44,11 @@ public class RuleActionHandler {
public
RuleActionHandler
(
EmqKeeper
emqKeeper
,
TzBaseUnitLicenceMapper
baseUnitLicenceMapper
,
public
RuleActionHandler
(
EmqKeeper
emqKeeper
,
TzBaseUnitLicenceMapper
baseUnitLicenceMapper
,
TzBaseEnterpriseInfoMapper
tzBaseEnterpriseInfoMapper
,
CommonserviceImpl
commonserviceImpl
,
TzBaseEnterpriseInfoMapper
tzBaseEnterpriseInfoMapper
,
UseInfoMapper
useInfoMapper
)
{
UseInfoMapper
useInfoMapper
)
{
this
.
emqKeeper
=
emqKeeper
;
this
.
emqKeeper
=
emqKeeper
;
this
.
baseUnitLicenceMapper
=
baseUnitLicenceMapper
;
this
.
baseUnitLicenceMapper
=
baseUnitLicenceMapper
;
this
.
tzBaseEnterpriseInfoMapper
=
tzBaseEnterpriseInfoMapper
;
this
.
tzBaseEnterpriseInfoMapper
=
tzBaseEnterpriseInfoMapper
;
this
.
commonserviceImpl
=
commonserviceImpl
;
this
.
useInfoMapper
=
useInfoMapper
;
this
.
useInfoMapper
=
useInfoMapper
;
}
}
...
@@ -95,7 +92,7 @@ public class RuleActionHandler {
...
@@ -95,7 +92,7 @@ public class RuleActionHandler {
List
<
TzBaseEnterpriseInfoDto
>
matchEnterpriseInfos
=
tzBaseEnterpriseInfoMapper
.
getInspectionUnitListByCode
(
unitCodes
,
areaCode
,
openBizType
);
List
<
TzBaseEnterpriseInfoDto
>
matchEnterpriseInfos
=
tzBaseEnterpriseInfoMapper
.
getInspectionUnitListByCode
(
unitCodes
,
areaCode
,
openBizType
);
if
(
matchEnterpriseInfos
.
isEmpty
())
{
if
(
matchEnterpriseInfos
.
isEmpty
())
{
log
.
info
(
"按照资质、区域未匹配到对应的单位、按照地市未匹配到单位,将返回全部单位"
);
log
.
info
(
"按照资质、区域未匹配到对应的单位、按照地市未匹配到单位,将返回全部单位"
);
return
commonserviceImpl
.
getInspectionUnitList
(
);
return
tzBaseEnterpriseInfoMapper
.
getInspectionUnitListByCode
(
null
,
null
,
openBizType
);
}
}
return
matchEnterpriseInfos
;
return
matchEnterpriseInfos
;
}
}
...
...
amos-boot-system-tzs/amos-boot-module-ymt/amos-boot-module-ymt-api/src/main/resources/mapper/TzBaseEnterpriseInfoMapper.xml
View file @
ce51e580
...
@@ -165,7 +165,7 @@
...
@@ -165,7 +165,7 @@
FROM
FROM
tz_base_enterprise_info info
tz_base_enterprise_info info
inner JOIN tz_jyjc_opening_application tjoa ON info.use_code = tjoa.unit_code
inner JOIN tz_jyjc_opening_application tjoa ON info.use_code = tjoa.unit_code
AND status = '6616'
AND
tjoa.
status = '6616'
group by info.use_code
group by info.use_code
</select>
</select>
...
@@ -182,13 +182,13 @@
...
@@ -182,13 +182,13 @@
AND tjoa.status = '6616'
AND tjoa.status = '6616'
and tjoa.open_biz_type = #{openBizType}
and tjoa.open_biz_type = #{openBizType}
<if
test=
"list !=null and list.size()>0"
>
<if
test=
"list !=null and list.size()>0"
>
AND use_code in
AND
info.
use_code in
<foreach
collection=
"list"
item=
"item"
index=
"index"
open=
"("
close=
")"
separator=
","
>
<foreach
collection=
"list"
item=
"item"
index=
"index"
open=
"("
close=
")"
separator=
","
>
#{item}
#{item}
</foreach>
</foreach>
</if>
</if>
<if
test=
"city != null and city != ''"
>
<if
test=
"city != null and city != ''"
>
and detection_region like concat('%',#{city},'%')
and
tjoa.
detection_region like concat('%',#{city},'%')
</if>
</if>
group by info.use_code
group by info.use_code
</select>
</select>
...
...
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