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
324c2216
Commit
324c2216
authored
Aug 19, 2024
by
刘林
Browse files
Options
Browse Files
Download
Plain Diff
Merge remote-tracking branch 'origin/develop_tzs_register_to_0715' into…
Merge remote-tracking branch 'origin/develop_tzs_register_to_0715' into develop_tzs_register_to_0715
parents
0fd656d8
4111b89c
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
10 additions
and
7 deletions
+10
-7
IdxBizJgRegisterInfoServiceImpl.java
.../jg/biz/service/impl/IdxBizJgRegisterInfoServiceImpl.java
+1
-1
JGDPStatisticsServiceImpl.java
...statistcs/biz/service/impl/JGDPStatisticsServiceImpl.java
+4
-4
TzBaseEnterpriseInfoMapper.java
...oot/module/ymt/api/mapper/TzBaseEnterpriseInfoMapper.java
+1
-1
TzBaseEnterpriseInfoMapper.xml
.../src/main/resources/mapper/TzBaseEnterpriseInfoMapper.xml
+4
-1
No files found.
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 @
324c2216
...
...
@@ -2169,7 +2169,7 @@ public class IdxBizJgRegisterInfoServiceImpl extends BaseService<IdxBizJgRegiste
boolean
isCopy
=
!
ValidationUtil
.
isEmpty
(
equipmentInfoForm
.
get
(
IS_COPY
));
operateType
=
isCopy
?
OPERATESAVE
:
operateType
;
// 新增设备保存时 : 历史设备=》dataSource为"his" jg新录入设备dataSource为"jg"
String
dataSource
=
OPERATESAVE
.
equals
(
operateType
)
?
(
"new"
.
equals
(
equipSource
)
?
"jg"
:
"jg_his"
)
:
equipmentInfoForm
.
get
(
"DATA_SOURCE"
).
toString
();
String
dataSource
=
OPERATESAVE
.
equals
(
operateType
)
?
(
"new"
.
equals
(
equipSource
)
?
"jg"
:
"jg_his"
)
:
ValidationUtil
.
isEmpty
(
equipmentInfoForm
.
get
(
"DATA_SOURCE"
))
?
"jg_his"
:
equipmentInfoForm
.
get
(
"DATA_SOURCE"
).
toString
();
if
(
isCopy
)
{
String
sourceRecord
=
equipmentClassForm
.
get
(
RECORD
).
toString
();
// dataSource = "new".equals(equipSource) ? ("jg_" + sourceRecord) : ("jg_his_" + sourceRecord);
...
...
amos-boot-system-tzs/amos-boot-module-statistics/amos-boot-module-statistics-biz/src/main/java/com/yeejoin/amos/boot/module/statistcs/biz/service/impl/JGDPStatisticsServiceImpl.java
View file @
324c2216
...
...
@@ -581,17 +581,17 @@ public class JGDPStatisticsServiceImpl {
private
CountDto
getGreenStatusCompany
(
DPFilterParamDto
dpFilterParamDto
)
{
CountDto
countDto
=
new
CountDto
();
countDto
.
setLongValue
(
this
.
countCompanyByOperatingStatus
(
dpFilterParamDto
,
"在业"
));
countDto
.
setLabel
(
"正常在业"
);
countDto
.
setLongValue
(
this
.
countCompanyByOperatingStatus
(
dpFilterParamDto
,
"在业"
,
"开业"
,
"迁入"
));
countDto
.
setLabel
(
"正常在业
、开业、迁入
"
);
return
countDto
;
}
private
long
countCompanyByOperatingStatus
(
DPFilterParamDto
dpFilterParamDto
,
String
operatingStatus
)
{
private
long
countCompanyByOperatingStatus
(
DPFilterParamDto
dpFilterParamDto
,
String
...
operatingStatus
)
{
String
orgCode
=
stCommonService
.
getAndSetOrgCode
(
dpFilterParamDto
.
getCityCode
());
if
(
orgCode
==
null
)
{
return
0L
;
}
return
enterpriseInfoMapper
.
countByOperatingStatusAndOrgCode
(
orgCode
,
operatingStatus
,
dpFilterParamDto
.
getCityCode
());
return
enterpriseInfoMapper
.
countByOperatingStatusAndOrgCode
(
orgCode
,
Arrays
.
stream
(
operatingStatus
).
collect
(
Collectors
.
toList
())
,
dpFilterParamDto
.
getCityCode
());
}
private
Map
<
String
,
CountDto
>
countUserNum
(
DPFilterParamDto
dpFilterParamDto
)
{
...
...
amos-boot-system-tzs/amos-boot-module-ymt/amos-boot-module-ymt-api/src/main/java/com/yeejoin/amos/boot/module/ymt/api/mapper/TzBaseEnterpriseInfoMapper.java
View file @
324c2216
...
...
@@ -80,7 +80,7 @@ public interface TzBaseEnterpriseInfoMapper extends BaseMapper<TzBaseEnterpriseI
* @param cityCode 区域code
* @return Long 统计数量
*/
Long
countByOperatingStatusAndOrgCode
(
@Param
(
"orgCode"
)
String
orgCode
,
@Param
(
"operatingStatus"
)
String
operatingStatus
,
@Param
(
"cityCode"
)
String
cityCode
);
Long
countByOperatingStatusAndOrgCode
(
@Param
(
"orgCode"
)
String
orgCode
,
@Param
(
"operatingStatus"
)
List
<
String
>
operatingStatus
,
@Param
(
"cityCode"
)
String
cityCode
);
List
<
TzBaseEnterpriseInfoDto
>
queryByUseCode
(
@Param
(
"useCodes"
)
List
<
String
>
useCode
);
...
...
amos-boot-system-tzs/amos-boot-module-ymt/amos-boot-module-ymt-api/src/main/resources/mapper/TzBaseEnterpriseInfoMapper.xml
View file @
324c2216
...
...
@@ -223,7 +223,10 @@
where
1=1
and ((supervise_org_code != '50' and supervise_org_code LIKE CONCAT (#{orgCode}, '%')) or (supervise_org_code = '50' and office_region LIKE CONCAT ('%', #{cityCode}, '%')))
and operating_status = #{operatingStatus}
and
<foreach
collection=
"operatingStatus"
item=
"status"
separator=
"or"
open=
"("
close=
")"
>
operating_status = #{status}
</foreach>
and register_type !='个人主体'
</select>
<select
id=
"queryByUseCode"
resultType=
"com.yeejoin.amos.boot.module.ymt.api.dto.TzBaseEnterpriseInfoDto"
>
...
...
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