获取个税扣缴义务人下的实际人员配置接口
This commit is contained in:
parent
9bd1074258
commit
3c3c679757
|
|
@ -274,6 +274,16 @@ public class TaxAgentController {
|
|||
User user = HrmUserVarify.getUser(request, response);
|
||||
return new ResponseResult<Collection<Long>, List<Map<String, Object>>>(user).run(getTaxAgentWrapper(user)::selectListAsAdmin);
|
||||
}
|
||||
|
||||
|
||||
@GET
|
||||
@Path("/getEmpListInTaxAgent")
|
||||
@Produces(MediaType.APPLICATION_JSON)
|
||||
public String getEmpListInTaxAgent(@Context HttpServletRequest request, @Context HttpServletResponse response, @QueryParam(value = "id") Long id) {
|
||||
User user = HrmUserVarify.getUser(request, response);
|
||||
return new ResponseResult<Long, List<TaxAgentManageRangeEmployeeDTO>>(user).run(getTaxAgentWrapper(user)::getEmpListInTaxAgent, id);
|
||||
}
|
||||
|
||||
/* ******* 个税扣缴义务人 end ***********************************************************************************************/
|
||||
|
||||
/* ******* 分管理员 start ***********************************************************************************************/
|
||||
|
|
|
|||
|
|
@ -5,10 +5,7 @@ import com.engine.core.impl.Service;
|
|||
import com.engine.salary.entity.datacollection.DataCollectionEmployee;
|
||||
import com.engine.salary.entity.hrm.HrmStatus;
|
||||
import com.engine.salary.entity.taxagent.bo.TaxAgentBO;
|
||||
import com.engine.salary.entity.taxagent.dto.TaxAgentEmployeeOptionDTO;
|
||||
import com.engine.salary.entity.taxagent.dto.TaxAgentFormDTO;
|
||||
import com.engine.salary.entity.taxagent.dto.TaxAgentManageRangeFormDTO;
|
||||
import com.engine.salary.entity.taxagent.dto.TaxAgentManageRangeListDTO;
|
||||
import com.engine.salary.entity.taxagent.dto.*;
|
||||
import com.engine.salary.entity.taxagent.param.*;
|
||||
import com.engine.salary.entity.taxagent.po.TaxAgentAdminPO;
|
||||
import com.engine.salary.entity.taxagent.po.TaxAgentPO;
|
||||
|
|
@ -350,4 +347,13 @@ public class TaxAgentWrapper extends Service {
|
|||
getTaxAgentManageRangeService(user).deleteByIds(ids);
|
||||
return StringUtils.EMPTY;
|
||||
}
|
||||
|
||||
/**
|
||||
* 获取个税管理的人员情况
|
||||
* @param id
|
||||
* @return
|
||||
*/
|
||||
public List<TaxAgentManageRangeEmployeeDTO> getEmpListInTaxAgent(Long id) {
|
||||
return getTaxAgentService(user).listTaxAgentAndEmployeeTree((long) user.getUID());
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue