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
e09a21c0
Commit
e09a21c0
authored
Dec 05, 2025
by
tianbo
Browse files
Options
Browse Files
Download
Plain Diff
Merge remote-tracking branch 'origin/develop_tzs_feat/xzspj' into develop_tzs_register
parents
a999925d
536bd200
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
9 additions
and
29 deletions
+9
-29
CommonMapper.java
.../yeejoin/amos/boot/module/jg/api/mapper/CommonMapper.java
+0
-10
CommonMapper.xml
...-module-jg-api/src/main/resources/mapper/CommonMapper.xml
+0
-13
JgCertificateReplenishServiceImpl.java
...g/biz/service/impl/JgCertificateReplenishServiceImpl.java
+1
-2
JgChangeRegistrationNameServiceImpl.java
...biz/service/impl/JgChangeRegistrationNameServiceImpl.java
+2
-2
ShCarEquServiceImpl.java
.../boot/module/jg/biz/service/impl/ShCarEquServiceImpl.java
+3
-1
TzBaseEnterpriseInfoServiceImpl.java
...tcm/biz/service/impl/TzBaseEnterpriseInfoServiceImpl.java
+3
-1
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 @
e09a21c0
...
@@ -98,16 +98,6 @@ public interface CommonMapper extends BaseMapper<EquipmentCategory> {
...
@@ -98,16 +98,6 @@ public interface CommonMapper extends BaseMapper<EquipmentCategory> {
List
<
String
>
refreshTheDetailsDataOfCompletedUsageRegistration
(
String
since
);
List
<
String
>
refreshTheDetailsDataOfCompletedUsageRegistration
(
String
since
);
/**
/**
* 按照 地市或者区县查询所在的地市code
*
* @param receiveCompanyCode 地市或者区县code
* @param exclusionIds 需要排除的区县
* @return 地市code
*/
String
selectCityCompanyCode
(
@Param
(
"receiveCompanyCode"
)
String
receiveCompanyCode
,
@Param
(
"exclusionIds"
)
String
[]
exclusionIds
);
/**
* 按照 地市或者区县查询对应行政区划seq
* 按照 地市或者区县查询对应行政区划seq
*
*
* @param receiveCompanyCode 地市或者区县companyCode
* @param receiveCompanyCode 地市或者区县companyCode
...
...
amos-boot-system-tzs/amos-boot-module-jg/amos-boot-module-jg-api/src/main/resources/mapper/CommonMapper.xml
View file @
e09a21c0
...
@@ -521,19 +521,6 @@
...
@@ -521,19 +521,6 @@
WHERE "status" = '已完成' and is_delete = 0
WHERE "status" = '已完成' and is_delete = 0
AND "audit_pass_date"
<![CDATA[<=]]>
#{since}
AND "audit_pass_date"
<![CDATA[<=]]>
#{since}
</select>
</select>
<select
id=
"selectCityCompanyCode"
resultType=
"string"
>
SELECT
c.company_code
FROM "privilege_company" c
where
c.company_code like concat(left(#{receiveCompanyCode}, 4), '%')
and c.level ='prefecture-level'
and c.company_type ='监管机构'
<foreach
collection=
"exclusionIds"
item=
"id"
separator=
""
open=
""
close=
""
>
and c.company_code != #{id}
</foreach>
limit 1
</select>
<sql
id=
"notice-query-where"
>
<sql
id=
"notice-query-where"
>
<where>
<where>
n.sequence_nbr = ne.equip_transfer_id
n.sequence_nbr = ne.equip_transfer_id
...
...
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/JgCertificateReplenishServiceImpl.java
View file @
e09a21c0
...
@@ -105,7 +105,6 @@ public class JgCertificateReplenishServiceImpl extends BaseService<JgCertificate
...
@@ -105,7 +105,6 @@ public class JgCertificateReplenishServiceImpl extends BaseService<JgCertificate
public
static
final
String
APPLY_STATUS
=
"applyStatus"
;
public
static
final
String
APPLY_STATUS
=
"applyStatus"
;
public
static
final
String
APPLY_NO
=
"applyNo"
;
public
static
final
String
APPLY_NO
=
"applyNo"
;
public
static
final
String
APPLICATION_FORM_FILE_URL
=
"applicationFormFileUrl"
;
public
static
final
String
APPLICATION_FORM_FILE_URL
=
"applicationFormFileUrl"
;
public
static
String
JG_COMAPNY_TYPE
=
"监管机构"
;
private
final
List
<
String
>
NOT_FLOWING_STATE
=
Arrays
.
asList
(
"6610"
,
"6614"
,
"6615"
,
"6617"
,
"6616"
);
private
final
List
<
String
>
NOT_FLOWING_STATE
=
Arrays
.
asList
(
"6610"
,
"6614"
,
"6615"
,
"6617"
,
"6616"
);
private
final
List
<
String
>
ATTACHMENT_FIELD
=
Arrays
.
asList
(
APPLICATION_FORM_FILE
,
OTHER_ACCESSORIES
);
private
final
List
<
String
>
ATTACHMENT_FIELD
=
Arrays
.
asList
(
APPLICATION_FORM_FILE
,
OTHER_ACCESSORIES
);
private
static
final
String
EQUIP_TRANSFER_PROCESS_KEY
=
"certReplenish"
;
private
static
final
String
EQUIP_TRANSFER_PROCESS_KEY
=
"certReplenish"
;
...
@@ -365,7 +364,7 @@ public class JgCertificateReplenishServiceImpl extends BaseService<JgCertificate
...
@@ -365,7 +364,7 @@ public class JgCertificateReplenishServiceImpl extends BaseService<JgCertificate
public
JgCertificateReplenish
buildCertRep
(
Long
sequenceNbr
,
JSONObject
jsonObj
,
WorkflowResultDto
workflowResultDto
,
FlowStatusEnum
flowStatusEnum
)
{
public
JgCertificateReplenish
buildCertRep
(
Long
sequenceNbr
,
JSONObject
jsonObj
,
WorkflowResultDto
workflowResultDto
,
FlowStatusEnum
flowStatusEnum
)
{
CompanyBo
company
=
getSelectedOrgInfo
().
getCompany
();
CompanyBo
company
=
getSelectedOrgInfo
().
getCompany
();
AgencyUserModel
userModel
=
getSelectedOrgInfo
().
getUserModel
();
AgencyUserModel
userModel
=
getSelectedOrgInfo
().
getUserModel
();
boolean
isCompany
=
!
company
.
getCompanyType
().
equals
(
JG_COMAPNY_TYPE
);
boolean
isCompany
=
company
.
getLevel
().
equals
(
BaseController
.
COMPANY_TYPE_COMPANY
);
String
useUnitCode
=
""
;
String
useUnitCode
=
""
;
String
useUnitName
=
""
;
String
useUnitName
=
""
;
if
(
isCompany
)
{
if
(
isCompany
)
{
...
...
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/JgChangeRegistrationNameServiceImpl.java
View file @
e09a21c0
...
@@ -10,6 +10,7 @@ import com.baomidou.mybatisplus.core.conditions.update.LambdaUpdateWrapper;
...
@@ -10,6 +10,7 @@ import com.baomidou.mybatisplus.core.conditions.update.LambdaUpdateWrapper;
import
com.baomidou.mybatisplus.core.toolkit.Wrappers
;
import
com.baomidou.mybatisplus.core.toolkit.Wrappers
;
import
com.baomidou.mybatisplus.extension.plugins.pagination.Page
;
import
com.baomidou.mybatisplus.extension.plugins.pagination.Page
;
import
com.yeejoin.amos.boot.biz.common.bo.ReginParams
;
import
com.yeejoin.amos.boot.biz.common.bo.ReginParams
;
import
com.yeejoin.amos.boot.biz.common.controller.BaseController
;
import
com.yeejoin.amos.boot.biz.common.utils.RedisKey
;
import
com.yeejoin.amos.boot.biz.common.utils.RedisKey
;
import
com.yeejoin.amos.boot.biz.common.utils.RedisUtils
;
import
com.yeejoin.amos.boot.biz.common.utils.RedisUtils
;
import
com.yeejoin.amos.boot.module.common.biz.refresh.DataRefreshEvent
;
import
com.yeejoin.amos.boot.module.common.biz.refresh.DataRefreshEvent
;
...
@@ -121,7 +122,6 @@ public class JgChangeRegistrationNameServiceImpl extends BaseService<JgChangeReg
...
@@ -121,7 +122,6 @@ public class JgChangeRegistrationNameServiceImpl extends BaseService<JgChangeReg
public
final
static
String
CHANGE_NAME_KEY
=
"changeName"
;
public
final
static
String
CHANGE_NAME_KEY
=
"changeName"
;
private
final
List
<
String
>
NOT_FLOWING_STATE
=
Arrays
.
asList
(
"使用单位待提交"
,
"一级受理已驳回"
,
"使用单位已撤回"
,
"已作废"
,
"已完成"
);
private
final
List
<
String
>
NOT_FLOWING_STATE
=
Arrays
.
asList
(
"使用单位待提交"
,
"一级受理已驳回"
,
"使用单位已撤回"
,
"已作废"
,
"已完成"
);
public
static
String
JG_COMAPNY_TYPE
=
"监管机构"
;
private
static
String
template
=
"发起【更名变更登记】业务申请,【申请单号:%s】"
;
private
static
String
template
=
"发起【更名变更登记】业务申请,【申请单号:%s】"
;
@Autowired
@Autowired
private
JgRegistrationHistoryMapper
jgRegistrationHistoryMapper
;
private
JgRegistrationHistoryMapper
jgRegistrationHistoryMapper
;
...
@@ -1083,7 +1083,7 @@ public class JgChangeRegistrationNameServiceImpl extends BaseService<JgChangeReg
...
@@ -1083,7 +1083,7 @@ public class JgChangeRegistrationNameServiceImpl extends BaseService<JgChangeReg
this
.
doCompensate
(
jgChangeRegistrationName
);
this
.
doCompensate
(
jgChangeRegistrationName
);
jgChangeRegistrationName
.
setReceiveOrgCode
(
jgChangeRegistrationName
.
getReceiveCompanyCode
()
+
"_"
+
jgChangeRegistrationName
.
getReceiveOrgName
());
jgChangeRegistrationName
.
setReceiveOrgCode
(
jgChangeRegistrationName
.
getReceiveCompanyCode
()
+
"_"
+
jgChangeRegistrationName
.
getReceiveOrgName
());
// 页面可编辑(当前登录人是发起人)且符合这个 监管机构 false
// 页面可编辑(当前登录人是发起人)且符合这个 监管机构 false
if
(
!
JG_COMAPNY_TYPE
.
equals
(
reginParams
.
getCompany
().
getCompanyType
()))
{
if
(
BaseController
.
COMPANY_TYPE_COMPANY
.
equals
(
reginParams
.
getCompany
().
getLevel
()))
{
dtoMap
.
put
(
"isInProvince"
,
this
.
justIsInProvince
(
reginParams
.
getCompany
().
getCompanyCode
()));
dtoMap
.
put
(
"isInProvince"
,
this
.
justIsInProvince
(
reginParams
.
getCompany
().
getCompanyCode
()));
}
else
{
}
else
{
dtoMap
.
put
(
"isInProvince"
,
false
);
dtoMap
.
put
(
"isInProvince"
,
false
);
...
...
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/ShCarEquServiceImpl.java
View file @
e09a21c0
...
@@ -6,6 +6,7 @@ import com.alibaba.fastjson.JSONObject;
...
@@ -6,6 +6,7 @@ import com.alibaba.fastjson.JSONObject;
import
com.baomidou.mybatisplus.core.conditions.query.LambdaQueryWrapper
;
import
com.baomidou.mybatisplus.core.conditions.query.LambdaQueryWrapper
;
import
com.baomidou.mybatisplus.extension.plugins.pagination.Page
;
import
com.baomidou.mybatisplus.extension.plugins.pagination.Page
;
import
com.yeejoin.amos.boot.biz.common.bo.ReginParams
;
import
com.yeejoin.amos.boot.biz.common.bo.ReginParams
;
import
com.yeejoin.amos.boot.biz.common.controller.BaseController
;
import
com.yeejoin.amos.boot.module.jg.api.dto.ShCarDto
;
import
com.yeejoin.amos.boot.module.jg.api.dto.ShCarDto
;
import
com.yeejoin.amos.boot.module.jg.api.entity.ShCar
;
import
com.yeejoin.amos.boot.module.jg.api.entity.ShCar
;
import
com.yeejoin.amos.boot.module.jg.api.entity.ShCarEqu
;
import
com.yeejoin.amos.boot.module.jg.api.entity.ShCarEqu
;
...
@@ -63,6 +64,7 @@ public class ShCarEquServiceImpl extends BaseService<ShCarEqu, ShCarEqu, ShCarEq
...
@@ -63,6 +64,7 @@ public class ShCarEquServiceImpl extends BaseService<ShCarEqu, ShCarEqu, ShCarEq
BeanUtil
.
copyProperties
(
shCar
,
shCarDto
);
BeanUtil
.
copyProperties
(
shCar
,
shCarDto
);
// 补充信息
// 补充信息
String
companyType
=
reginParams
.
getCompany
().
getCompanyType
();
String
companyType
=
reginParams
.
getCompany
().
getCompanyType
();
String
companyLevel
=
reginParams
.
getCompany
().
getLevel
();
AgencyUserModel
userModel
=
reginParams
.
getUserModel
();
AgencyUserModel
userModel
=
reginParams
.
getUserModel
();
shCarDto
.
setCompanyType
(
companyType
);
shCarDto
.
setCompanyType
(
companyType
);
String
[]
code
=
reginParams
.
getCompany
().
getCompanyCode
().
split
(
"_"
);
String
[]
code
=
reginParams
.
getCompany
().
getCompanyCode
().
split
(
"_"
);
...
@@ -76,7 +78,7 @@ public class ShCarEquServiceImpl extends BaseService<ShCarEqu, ShCarEqu, ShCarEq
...
@@ -76,7 +78,7 @@ public class ShCarEquServiceImpl extends BaseService<ShCarEqu, ShCarEqu, ShCarEq
shCarDto
.
setUseUnitAddress
(
reginParams
.
getCompany
().
getAddress
());
shCarDto
.
setUseUnitAddress
(
reginParams
.
getCompany
().
getAddress
());
}
}
}
}
if
(
"false"
.
equals
(
claimOneself
)
||
"监管机构"
.
equals
(
companyType
))
{
// 帮别人
认领 取 原三环数据填充表单
if
(
"false"
.
equals
(
claimOneself
)
||
!
BaseController
.
COMPANY_TYPE_COMPANY
.
equals
(
companyLevel
))
{
// 帮别人或监管
认领 取 原三环数据填充表单
shCarDto
.
setUseUnitName
(
shCar
.
getOwner
());
shCarDto
.
setUseUnitName
(
shCar
.
getOwner
());
shCarDto
.
setUseUnitCreditCode
(
shCar
.
getOwner
());
shCarDto
.
setUseUnitCreditCode
(
shCar
.
getOwner
());
shCarDto
.
setUseUnitAddress
(
shCar
.
getAddress
());
shCarDto
.
setUseUnitAddress
(
shCar
.
getAddress
());
...
...
amos-boot-system-tzs/amos-boot-module-tcm/amos-boot-module-tcm-biz/src/main/java/com/yeejoin/amos/boot/module/tcm/biz/service/impl/TzBaseEnterpriseInfoServiceImpl.java
View file @
e09a21c0
...
@@ -13,6 +13,7 @@ import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
...
@@ -13,6 +13,7 @@ import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import
com.fasterxml.jackson.databind.ObjectMapper
;
import
com.fasterxml.jackson.databind.ObjectMapper
;
import
com.yeejoin.amos.boot.biz.common.bo.CompanyBo
;
import
com.yeejoin.amos.boot.biz.common.bo.CompanyBo
;
import
com.yeejoin.amos.boot.biz.common.bo.ReginParams
;
import
com.yeejoin.amos.boot.biz.common.bo.ReginParams
;
import
com.yeejoin.amos.boot.biz.common.controller.BaseController
;
import
com.yeejoin.amos.boot.biz.common.entity.DataDictionary
;
import
com.yeejoin.amos.boot.biz.common.entity.DataDictionary
;
import
com.yeejoin.amos.boot.biz.common.service.impl.DataDictionaryServiceImpl
;
import
com.yeejoin.amos.boot.biz.common.service.impl.DataDictionaryServiceImpl
;
import
com.yeejoin.amos.boot.biz.common.utils.DateUtils
;
import
com.yeejoin.amos.boot.biz.common.utils.DateUtils
;
...
@@ -273,6 +274,7 @@ public class TzBaseEnterpriseInfoServiceImpl
...
@@ -273,6 +274,7 @@ public class TzBaseEnterpriseInfoServiceImpl
ReginParams
selectedOrgInfo
=
getSelectedOrgInfo
();
ReginParams
selectedOrgInfo
=
getSelectedOrgInfo
();
String
companyType
=
selectedOrgInfo
.
getCompany
().
getCompanyType
();
String
companyType
=
selectedOrgInfo
.
getCompany
().
getCompanyType
();
String
companyLevel
=
selectedOrgInfo
.
getCompany
().
getLevel
();
// 修改当前登录人选择的单位类型
// 修改当前登录人选择的单位类型
tzBaseEnterpriseInfoDto
.
setUnitType
(
companyType
);
tzBaseEnterpriseInfoDto
.
setUnitType
(
companyType
);
...
@@ -284,7 +286,7 @@ public class TzBaseEnterpriseInfoServiceImpl
...
@@ -284,7 +286,7 @@ public class TzBaseEnterpriseInfoServiceImpl
.
eq
(
BaseUnitLicence:
:
getIsDelete
,
false
));
.
eq
(
BaseUnitLicence:
:
getIsDelete
,
false
));
List
<
BaseUnitLicenceDto
>
unitLicenceDtos
=
new
ArrayList
<>();
List
<
BaseUnitLicenceDto
>
unitLicenceDtos
=
new
ArrayList
<>();
List
<
BaseUnitLicence
>
unitLicencesCollect
=
Optional
.
ofNullable
(
unitLicences
).
orElse
(
Collections
.
emptyList
());
List
<
BaseUnitLicence
>
unitLicencesCollect
=
Optional
.
ofNullable
(
unitLicences
).
orElse
(
Collections
.
emptyList
());
if
(
!
"监管机构"
.
equals
(
companyType
))
{
if
(
BaseController
.
COMPANY_TYPE_COMPANY
.
equals
(
companyLevel
))
{
List
<
String
>
certTypeList
=
Arrays
.
asList
(
Optional
.
ofNullable
(
COMPANY_TYPE_CERT_TYPE_MAP
.
get
(
companyType
))
List
<
String
>
certTypeList
=
Arrays
.
asList
(
Optional
.
ofNullable
(
COMPANY_TYPE_CERT_TYPE_MAP
.
get
(
companyType
))
.
orElse
(
""
)
.
orElse
(
""
)
.
split
(
","
));
.
split
(
","
));
...
...
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