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
975d3cc7
Commit
975d3cc7
authored
Jun 24, 2025
by
tianbo
Browse files
Options
Browse Files
Download
Plain Diff
Merge remote-tracking branch 'origin/develop_tzs_bugfix' into develop_tzs_register
parents
b44ce700
a36e56dd
Hide whitespace changes
Inline
Side-by-side
Showing
8 changed files
with
38 additions
and
1 deletion
+38
-1
FeedbackSuggestions.java
...os/boot/module/common/api/entity/FeedbackSuggestions.java
+6
-0
FeedbackSuggestionsMapper.java
...t/module/common/api/mapper/FeedbackSuggestionsMapper.java
+2
-0
FeedbackSuggestionsMapper.xml
...i/src/main/resources/mapper/FeedbackSuggestionsMapper.xml
+6
-0
FeedbackSuggestionsServiceImpl.java
...mmon/biz/service/impl/FeedbackSuggestionsServiceImpl.java
+1
-0
ITzsUserInfoService.java
...amos/boot/module/tcm/api/service/ITzsUserInfoService.java
+2
-0
TzsUserInfoController.java
...boot/module/tcm/biz/controller/TzsUserInfoController.java
+7
-0
TzsUserInfoServiceImpl.java
...t/module/tcm/biz/service/impl/TzsUserInfoServiceImpl.java
+13
-0
unitTypeLimitUserType.json
...cm-biz/src/main/resources/json/unitTypeLimitUserType.json
+1
-1
No files found.
amos-boot-system-tzs/amos-boot-module-common/amos-boot-module-common-api/src/main/java/com/yeejoin/amos/boot/module/common/api/entity/FeedbackSuggestions.java
View file @
975d3cc7
...
...
@@ -126,4 +126,10 @@ public class FeedbackSuggestions extends BaseEntity {
@TableField
(
value
=
"files"
,
exist
=
false
)
private
String
companySeq
;
/**
* 单位类型
*/
@TableField
(
value
=
"companyType"
,
exist
=
false
)
private
String
companyType
;
}
amos-boot-system-tzs/amos-boot-module-common/amos-boot-module-common-api/src/main/java/com/yeejoin/amos/boot/module/common/api/mapper/FeedbackSuggestionsMapper.java
View file @
975d3cc7
...
...
@@ -13,4 +13,6 @@ public interface FeedbackSuggestionsMapper extends BaseMapper<FeedbackSuggestion
String
getCompanyNameByOrgCode
(
String
orgCode
);
String
getCompanySeqByCompanyCode
(
String
companyCode
);
String
getCompanyTypeByCompanyCode
(
String
companyCode
);
}
amos-boot-system-tzs/amos-boot-module-common/amos-boot-module-common-api/src/main/resources/mapper/FeedbackSuggestionsMapper.xml
View file @
975d3cc7
...
...
@@ -12,4 +12,10 @@
FROM "amos_tzs_biz"."tz_base_enterprise_info"
WHERE "use_code" = #{companyCode}
</select>
<select
id=
"getCompanyTypeByCompanyCode"
resultType=
"java.lang.String"
>
SELECT unit_type as unitType
FROM "amos_tzs_biz"."tz_base_enterprise_info"
WHERE "use_code" = #{companyCode}
</select>
</mapper>
amos-boot-system-tzs/amos-boot-module-common/amos-boot-module-common-biz/src/main/java/com/yeejoin/amos/boot/module/common/biz/service/impl/FeedbackSuggestionsServiceImpl.java
View file @
975d3cc7
...
...
@@ -130,6 +130,7 @@ public class FeedbackSuggestionsServiceImpl extends BaseService<FeedbackSuggesti
suggestions
.
setProblemType
(
ProblemTypeEnum
.
getById
(
Integer
.
parseInt
(
suggestions
.
getProblemType
())).
getDescription
());
suggestions
.
setStatus
(
"1"
.
equals
(
suggestions
.
getStatus
())
?
"已回复"
:
"待回复"
);
suggestions
.
setFilesArr
(
JSONObject
.
parseArray
(
suggestions
.
getFiles
()));
suggestions
.
setCompanyType
(
feedbackSuggestionsMapper
.
getCompanyTypeByCompanyCode
(
suggestions
.
getCompanyCode
()));
suggestions
.
setCompanySeq
(
feedbackSuggestionsMapper
.
getCompanySeqByCompanyCode
(
suggestions
.
getCompanyCode
()));
});
return
result
;
...
...
amos-boot-system-tzs/amos-boot-module-tcm/amos-boot-module-tcm-api/src/main/java/com/yeejoin/amos/boot/module/tcm/api/service/ITzsUserInfoService.java
View file @
975d3cc7
...
...
@@ -90,4 +90,6 @@ public interface ITzsUserInfoService extends IService<TzsUserInfo> {
List
<
DataDictionary
>
postByUnitType
(
CompanyBo
company
);
List
<
DataDictionary
>
subPostByUnitType
(
CompanyBo
company
,
String
parentCode
);
TzIndividualityDto
individualityByCompanyCode
(
String
companyCode
);
}
amos-boot-system-tzs/amos-boot-module-tcm/amos-boot-module-tcm-biz/src/main/java/com/yeejoin/amos/boot/module/tcm/biz/controller/TzsUserInfoController.java
View file @
975d3cc7
...
...
@@ -299,6 +299,13 @@ public class TzsUserInfoController extends BaseController {
}
@TycloudOperation
(
ApiLevel
=
UserType
.
AGENCY
)
@GetMapping
(
value
=
"/individualityByCompanyCode"
)
@ApiOperation
(
httpMethod
=
"GET"
,
value
=
"根据companyCode获取人主体信息"
,
notes
=
"根据companyCode获取人主体信息"
)
public
ResponseModel
<
TzIndividualityDto
>
individualityByCompanyCode
(
@RequestParam
(
value
=
"companyCode"
)
String
companyCode
)
{
return
ResponseHelper
.
buildResponse
(
tzsUserInfoServiceImpl
.
individualityByCompanyCode
(
companyCode
));
}
@TycloudOperation
(
ApiLevel
=
UserType
.
AGENCY
)
@PostMapping
(
value
=
"/individuality"
)
@ApiOperation
(
httpMethod
=
"POST"
,
value
=
"修改个人主体信息"
,
notes
=
"修改个人主体信息"
)
public
ResponseModel
<
TzIndividualityDto
>
updateIndividualityInfo
(
@RequestBody
TzIndividualityDto
individualityDto
)
{
...
...
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/TzsUserInfoServiceImpl.java
View file @
975d3cc7
...
...
@@ -1792,4 +1792,17 @@ public class TzsUserInfoServiceImpl extends BaseService<TzsUserInfoDto, TzsUserI
});
return
result
;
}
@Override
public
TzIndividualityDto
individualityByCompanyCode
(
String
companyCode
)
{
TzIndividualityDto
individuality
=
new
TzIndividualityDto
();
TzBaseEnterpriseInfoDto
baseEnterpriseInfoDto
=
baseEnterpriseInfoService
.
getInfoByUseCode
(
companyCode
);
if
(!
ValidationUtil
.
isEmpty
(
baseEnterpriseInfoDto
))
{
individuality
=
individualityMapper
.
getIndividualityInfo
(
baseEnterpriseInfoDto
.
getSequenceNbr
());
individuality
.
setPhone
(
baseEnterpriseInfoDto
.
getContactPhone
());
individuality
.
setGoverningBody
(
baseEnterpriseInfoDto
.
getGoverningBody
());
individuality
.
setAddress
(
baseEnterpriseInfoDto
.
getAddress
());
}
return
individuality
;
}
}
amos-boot-system-tzs/amos-boot-module-tcm/amos-boot-module-tcm-biz/src/main/resources/json/unitTypeLimitUserType.json
View file @
975d3cc7
...
...
@@ -60,7 +60,7 @@
"使用单位"
:
{
"6552"
:
[
"6713"
],
"6546"
:
[],
"65
50
"
:
[],
"65
47
"
:
[],
"6548"
:
[],
"6616"
:
[],
"6617"
:
[],
...
...
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