Commit 71e8d920 by 284718418@qq.com

招聘管理-职位信息

parent 9280f729
......@@ -144,18 +144,21 @@ public class ZpglController {
}
/**
* 招聘-招聘中
* 招聘-招聘中-职位信息
*
* @param
* @return
*/
@GetMapping(value = "/zwxx")
@GetMapping(value = "/zwxx/{deleteFlag}")
@ApiOperation(value = "2.职位信息", httpMethod = "GET", notes = "职位信息")
@ApiOperationSupport(order = 2)
public Result<Object> zwxx(@CurrentUser UserBean userBean) {
public Result<Object> zwxx(@CurrentUser UserBean userBean,@PathVariable Integer deleteFlag) {
try {
QueryWrapper<ZpglZwxx> queryWrapper = new QueryWrapper<>();
queryWrapper.lambda().eq(ZpglZwxx::getOrgCode, userBean.getOrgCode()).eq(ZpglZwxx::getDeleteFlag,0);
queryWrapper.lambda().eq(ZpglZwxx::getOrgCode, userBean.getOrgCode());
if(deleteFlag.intValue() == 1 ){
queryWrapper.lambda().eq(ZpglZwxx::getDeleteFlag,0);
}
List<ZpglZwxx> zpglZwxxs = ZpglZwxx.builder().build().selectList(queryWrapper);
return ResultUtil.data(zpglZwxxs, "查询成功");
} catch (Exception e) {
......
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