|
@@ -91,6 +91,16 @@ public class LoginAceController {
|
|
|
@PreAuthorize("hasAnyAuthority('loginacea:loginAce:view','loginacea:loginAce:add','loginacea:loginAce:edit')")
|
|
|
@GetMapping("queryById")
|
|
|
public ResponseEntity<List<LoginAceDTO>> queryById(@RequestParam Map<String, Object> params) {
|
|
|
+ SimpleDateFormat formatter = new SimpleDateFormat("yyyy-MM-dd");
|
|
|
+ if(params.get("timeRange[0]").toString() != null && params.get("timeRange[0]").toString().length() > 0
|
|
|
+ && params.get("timeRange[1]").toString() != null && params.get("timeRange[1]").toString().length() > 0
|
|
|
+ ){
|
|
|
+
|
|
|
+ String s2 = params.get("timeRange[0]").toString();
|
|
|
+ String s3 = params.get("timeRange[1]").toString();
|
|
|
+ params.put("stime",s2);
|
|
|
+ params.put("etime",s3);
|
|
|
+ }
|
|
|
List<LoginAceDTO> result = loginAceService.findList1(params);
|
|
|
return ResponseEntity.ok(result);
|
|
|
}
|