请假类型前置假期额度校验
commit
915e4ed03a
@ -0,0 +1,7 @@
|
|||||||
|
package api.dzfcd.controller;
|
||||||
|
|
||||||
|
import javax.ws.rs.Path;
|
||||||
|
|
||||||
|
@Path("/dzfcddev/leave")
|
||||||
|
public class LeaveController extends engine.dzfcd.controller.LeaveController {
|
||||||
|
}
|
@ -0,0 +1,29 @@
|
|||||||
|
package engine.dzfcd.controller;
|
||||||
|
|
||||||
|
import com.engine.common.util.ParamUtil;
|
||||||
|
import com.google.gson.Gson;
|
||||||
|
import weaver.hrm.HrmUserVarify;
|
||||||
|
import weaver.hrm.User;
|
||||||
|
|
||||||
|
import javax.servlet.http.HttpServletRequest;
|
||||||
|
import javax.servlet.http.HttpServletResponse;
|
||||||
|
import javax.ws.rs.GET;
|
||||||
|
import javax.ws.rs.Path;
|
||||||
|
import javax.ws.rs.Produces;
|
||||||
|
import javax.ws.rs.core.Context;
|
||||||
|
import javax.ws.rs.core.MediaType;
|
||||||
|
import java.util.Map;
|
||||||
|
|
||||||
|
public class LeaveController {
|
||||||
|
|
||||||
|
@Path("/checkLeaveInt")
|
||||||
|
@GET
|
||||||
|
@Produces(MediaType.APPLICATION_JSON)
|
||||||
|
public String checkLeaveInt(@Context HttpServletRequest request, @Context HttpServletResponse response) {
|
||||||
|
// User user = HrmUserVarify.getUser(request, response);
|
||||||
|
// Map<String, Object> params = ParamUtil.request2Map(request);
|
||||||
|
// Map<String, Object> resultDatas = getEntryService(user).checkBlackList(params);
|
||||||
|
return new Gson().toJson("resultDatas");
|
||||||
|
}
|
||||||
|
|
||||||
|
}
|
Loading…
Reference in New Issue