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
3359a531
Commit
3359a531
authored
Oct 09, 2020
by
tangf
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
新增公司消息
parent
82da12ca
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
13 additions
and
1 deletion
+13
-1
CompanyController.java
.../pangding/web/authority/controller/CompanyController.java
+7
-0
CompanyService.java
...va/com/pangding/web/authority/service/CompanyService.java
+2
-0
CompanyServiceImpl.java
...ngding/web/authority/service/impl/CompanyServiceImpl.java
+4
-1
No files found.
src/main/java/com/pangding/web/authority/controller/CompanyController.java
View file @
3359a531
...
@@ -64,5 +64,12 @@ public class CompanyController {
...
@@ -64,5 +64,12 @@ public class CompanyController {
}
}
@RequestMapping
(
value
=
"findCompanyById"
)
@ApiOperation
(
value
=
"找到公司信息"
,
notes
=
"找到公司信息"
)
public
ResponseResult
findCompanyById
(
@RequestBody
CompanyReqVo
req
){
CheckerHelper
.
newInstance
().
notBlankCheck
(
""
,
req
.
getId
()).
checkException
();
return
ResponseResult
.
result
(
companyService
.
findCompanyById
(
req
));
}
}
}
src/main/java/com/pangding/web/authority/service/CompanyService.java
View file @
3359a531
...
@@ -201,4 +201,6 @@ public interface CompanyService{
...
@@ -201,4 +201,6 @@ public interface CompanyService{
* @return
* @return
*/
*/
FindCompanyBalanceResVo
findCompanyBalance
(
com
.
pangding
.
web
.
vo
.
system
.
req
.
company
.
CompanyReqVo
req
);
FindCompanyBalanceResVo
findCompanyBalance
(
com
.
pangding
.
web
.
vo
.
system
.
req
.
company
.
CompanyReqVo
req
);
com
.
pangding
.
web
.
vo
.
system
.
res
.
company
.
CompanyResVo
findCompanyById
(
com
.
pangding
.
web
.
vo
.
system
.
req
.
company
.
CompanyReqVo
req
);
}
}
src/main/java/com/pangding/web/authority/service/impl/CompanyServiceImpl.java
View file @
3359a531
...
@@ -1167,7 +1167,10 @@ public class CompanyServiceImpl implements CompanyService {
...
@@ -1167,7 +1167,10 @@ public class CompanyServiceImpl implements CompanyService {
}
}
}
}
public
com
.
pangding
.
web
.
vo
.
system
.
res
.
company
.
CompanyResVo
findCompanyById
(
com
.
pangding
.
web
.
vo
.
system
.
req
.
company
.
CompanyReqVo
req
){
com
.
pangding
.
web
.
vo
.
system
.
res
.
company
.
CompanyResVo
companyResVo
=
companyDao
.
load
(
req
.
getId
(),
com
.
pangding
.
web
.
vo
.
system
.
res
.
company
.
CompanyResVo
.
class
);
return
companyResVo
;
}
}
}
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