考勤出入场修改
This commit is contained in:
parent
015210d5a3
commit
3f30910694
|
|
@ -45,12 +45,12 @@ public interface RemoteUakUtilsService {
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* 考勤机解绑
|
* 考勤机解绑
|
||||||
* @param userId
|
* @param String
|
||||||
* @param proId
|
* @param proId
|
||||||
* @param source
|
* @param source
|
||||||
*/
|
*/
|
||||||
@PostMapping(value = "/business/delDevByProId")
|
@PostMapping(value = "/business/delDevByProId")
|
||||||
public void delDevByProId(@RequestParam(value = "userId") int userId, @RequestParam(value = "proId")int proId,
|
public void delDevByProId(@RequestParam(value = "deviceCode") String deviceCode, @RequestParam(value = "proId")int proId,
|
||||||
@RequestHeader(SecurityConstants.FROM_SOURCE) String source);
|
@RequestHeader(SecurityConstants.FROM_SOURCE) String source);
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
|
||||||
|
|
@ -28,7 +28,7 @@ public class MyFilter extends OncePerRequestFilter {
|
||||||
@Override
|
@Override
|
||||||
protected void doFilterInternal(HttpServletRequest request, HttpServletResponse response, FilterChain filterChain) throws ServletException, IOException {
|
protected void doFilterInternal(HttpServletRequest request, HttpServletResponse response, FilterChain filterChain) throws ServletException, IOException {
|
||||||
log.debug("进入MyFilter过滤器,parameterMap");
|
log.debug("进入MyFilter过滤器,parameterMap");
|
||||||
System.err.println(request.getRequestURI());
|
// System.err.println(request.getRequestURI());
|
||||||
if (SystemGlobal.POST.equals(request.getMethod()) || SystemGlobal.PUT.equals(request.getMethod()) ){
|
if (SystemGlobal.POST.equals(request.getMethod()) || SystemGlobal.PUT.equals(request.getMethod()) ){
|
||||||
//去除文件上传
|
//去除文件上传
|
||||||
String header = request.getHeader(HttpHeaders.CONTENT_TYPE);
|
String header = request.getHeader(HttpHeaders.CONTENT_TYPE);
|
||||||
|
|
|
||||||
|
|
@ -49,6 +49,11 @@ public class SendUserController {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 删除当前考勤机的全部人员
|
||||||
|
* @param deviceCode
|
||||||
|
* @param proId
|
||||||
|
*/
|
||||||
@PostMapping("delDevByProId")
|
@PostMapping("delDevByProId")
|
||||||
public void delDevByProId(String deviceCode,int proId) {
|
public void delDevByProId(String deviceCode,int proId) {
|
||||||
try {
|
try {
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue