新增时间工具,前端显示的时间不要秒
This commit is contained in:
parent
f61df65d1f
commit
69865c37cc
|
@ -21,6 +21,7 @@ import org.springframework.web.bind.annotation.*;
|
|||
import java.util.Arrays;
|
||||
import java.util.List;
|
||||
import java.util.Map;
|
||||
import java.util.Objects;
|
||||
|
||||
/**
|
||||
* ClassName: IPOReferenceDataController
|
||||
|
@ -147,9 +148,13 @@ public class IPOReferenceDataController {
|
|||
}
|
||||
|
||||
@PostMapping("/ipo/refdata/filter")
|
||||
public List<IPOReferenceData> getUsers(@RequestBody Map<String, Object> params) {
|
||||
public Result getData(@RequestBody Map<String, Object> params) {
|
||||
|
||||
return ipoReferenceDataService.selectByConditions(params);
|
||||
List<IPOReferenceData> data = ipoReferenceDataService.selectByConditions(params);
|
||||
if (Objects.isNull(data)){
|
||||
return Result.error();
|
||||
}
|
||||
return Result.success(data);
|
||||
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue