Commit a6fbb578 by mobh Committed by chenzg

个税导出

parent 2a5d4cca
......@@ -3189,6 +3189,24 @@ public class SalaryManagementController {
return ResultUtil.data(pageAs, listAs, "操作成功!");
}
/**
* 查询列表-获取个税明细数据
*/
@PostMapping(value = "/individual_income_details_all")
@ApiOperation(value = "获取个税明细数据", httpMethod = "POST", notes = "接口发布说明")
public Result<Object> IndividualIncomeDetailsAll(@CurrentUser UserBean userBean, @RequestBody SearchSalariedPeopleDto search) {
search.setOrgcode(userBean.getOrgCode());
if(("0").equals(search.getStatus())) {//全部
search.setStatus("");
}else if(("1").equals(search.getStatus())) {//在职
search.setStatus("0");
}else {
search.setStatus("3");
}
List<XcglAssoGsjsmxDto> listAs = xcglassogsjsmxmapper.SelectIndividualincomedetails(search);
return ResultUtil.data(listAs, "操作成功!");
}
@GetMapping(value="/allyearround/{year}/{usernum}")
......
......@@ -17,7 +17,7 @@ import cn.timer.api.dto.xcgl.XcglAssoGsjsmxDto;
*/
@Repository
public interface XcglAssoGsjsmxMapper extends BaseMapper<XcglAssoGsjsmx> {
List<XcglAssoGsjsmxDto> SelectIndividualincomedetails(@Param("param") SearchSalariedPeopleDto searchsalariedpeopledto);
IPage<XcglAssoGsjsmxDto> SelectIndividualincomedetails(IPage<XcglAssoGsjsmxDto> page,@Param("param") SearchSalariedPeopleDto searchsalariedpeopledto);
......
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