Commit c4b3f270 authored by suhuiguang's avatar suhuiguang

1.消防人员岗位分类树调整为未统计最顶层节点数量

parent f455d919
...@@ -129,7 +129,7 @@ public class FirefightersServiceImpl extends BaseService<FirefightersDto, Firefi ...@@ -129,7 +129,7 @@ public class FirefightersServiceImpl extends BaseService<FirefightersDto, Firefi
) { ) {
if( null != m.children) { if( null != m.children) {
List<Menu> children = m.getChildren(); List<Menu> children = m.getChildren();
int count = 0; int count = m.num;
for (Menu mm:children for (Menu mm:children
) { ) {
count = count + mm.num; count = count + mm.num;
......
...@@ -367,7 +367,7 @@ public class FirefightersController extends BaseController { ...@@ -367,7 +367,7 @@ public class FirefightersController extends BaseController {
* @return * @return
* @throws Exception * @throws Exception
*/ */
@TycloudOperation(needAuth = true, ApiLevel = UserType.AGENCY) @TycloudOperation(ApiLevel = UserType.AGENCY)
@RequestMapping(value = "/job/getFirefightersJobTitleCount", method = RequestMethod.GET) @RequestMapping(value = "/job/getFirefightersJobTitleCount", method = RequestMethod.GET)
@ApiOperation(httpMethod = "GET", value = "根据id查询", notes = "根据id查询") @ApiOperation(httpMethod = "GET", value = "根据id查询", notes = "根据id查询")
public ResponseModel<Object> getFirefightersJobTitleCount(String bizOrgCode) throws Exception { public ResponseModel<Object> getFirefightersJobTitleCount(String bizOrgCode) throws Exception {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment