Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Sign in
Toggle navigation
T
tcm-system
Project
Project
Details
Activity
Releases
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
TCM
tcm-system
Commits
68b09b83
Commit
68b09b83
authored
Dec 23, 2024
by
tangfang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改公司查询审核信息问题
parent
7cdfb1e3
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
33 additions
and
31 deletions
+33
-31
RoleAuthorityDaoImpl.java
...pangding/web/authority/dao/impl/RoleAuthorityDaoImpl.java
+1
-1
CompanyServiceImpl.java
...ngding/web/authority/service/impl/CompanyServiceImpl.java
+32
-30
No files found.
src/main/java/com/pangding/web/authority/dao/impl/RoleAuthorityDaoImpl.java
View file @
68b09b83
...
...
@@ -19,7 +19,7 @@ public class RoleAuthorityDaoImpl extends BaseDaoImpl implements RoleAuthorityDa
getSql
(
DaoConst
.
LOAD
).
setSql
(
"select ra.role_id,ra.authority_id,a.id,a.pid,a.name,"
+
"a.type,a.alias,a.url,a.remark,a.open_mode,a.sort,a.attribute from pd_role_authority ra "
+
"RIGHT JOIN pd_authority a on ra.authority_id = a.id {INNER} "
+
"where 1=1 {WHERE} ORDER BY a.pid,a.
attribute,a.sort
"
)
"where 1=1 {WHERE} ORDER BY a.pid,a.
sort,a.attribute
"
)
.
add
(
"userId"
,
"AND b.user_id = @userId"
,
"{INNER}"
,
"INNER JOIN pd_user_role AS b ON ra.role_id = b.role_id"
)
.
add
(
"role"
,
" AND ra.role_id = @role"
)
...
...
src/main/java/com/pangding/web/authority/service/impl/CompanyServiceImpl.java
View file @
68b09b83
...
...
@@ -18,8 +18,6 @@ import com.pangding.web.authority.util.RsaConstant;
import
com.pangding.web.authority.vo.*
;
import
com.pangding.web.authority.vo.reqvo.*
;
import
com.pangding.web.authority.vo.reqvo.CompanyDivideReqVo
;
import
com.pangding.web.authority.vo.reqvo.CompanySaveReqVo
;
import
com.pangding.web.authority.vo.reqvo.OldSaveCompanyReqVo
;
import
com.pangding.web.authority.vo.resvo.*
;
import
com.pangding.web.constant.CompanyConstant
;
import
com.pangding.web.constant.PangdConstant
;
...
...
@@ -37,7 +35,6 @@ import com.pangding.web.vo.system.req.CompanyMsgReqVo;
import
com.pangding.web.vo.system.req.authority.RoleReqVo
;
import
com.pangding.web.vo.system.req.authority.UserRoleReqVo
;
import
com.pangding.web.vo.system.req.company.*
;
import
com.pangding.web.vo.system.req.company.GetCompanyReqVo
;
import
com.pangding.web.vo.system.res.company.*
;
import
com.pangding.web.vo.wechat.req.code.QrCodeReqVo
;
import
com.pangding.web.vo.wechat.req.code.Scene
;
...
...
@@ -1195,6 +1192,8 @@ public class CompanyServiceImpl implements CompanyService {
companyVo
.
setSigningTime
(
reqVo
.
getSigningTime
());
companyDao
.
update
(
companyVo
);
if
(!
StringHelper
.
isEmpty
(
reqVo
.
getCompanyAgreementReqVo
())
&&
!
StringHelper
.
isEmpty
(
reqVo
.
getCompanyAgreementReqVo
().
getAgreementId
())){
AgreementTemplateVo
agreementTemplateVo
=
agreementTemplateDao
.
load
(
reqVo
.
getCompanyAgreementReqVo
().
getAgreementId
(),
AgreementTemplateVo
.
class
);
if
(
StringHelper
.
isEmpty
(
agreementTemplateVo
)){
throw
new
CodeException
(
"未找到可签约的合同"
);
...
...
@@ -1223,6 +1222,9 @@ public class CompanyServiceImpl implements CompanyService {
companyAgreementVo
.
setAgreementType
(
agreementTemplateVo
.
getAgreementType
());
companyAgreementDao
.
create
(
companyAgreementVo
);
}
}
// 更新或新增提现规则表
...
...
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