|
|
@@ -30,11 +30,17 @@ public class StoreClockInController {
|
|
|
|
|
|
@ApiOperation("打卡列表")
|
|
|
@ApiOperationSupport(order = 2)
|
|
|
- @ApiImplicitParams({@ApiImplicitParam(name = "userId", value = "用户id", dataType = "Integer", paramType = "query"), @ApiImplicitParam(name = "page", value = "分页页数", dataType = "Integer", defaultValue = "1", paramType = "query"), @ApiImplicitParam(name = "size", value = "分页条数", dataType = "Integer", defaultValue = "10", paramType = "query"), @ApiImplicitParam(name = "phoneId", value = "'user_' + 手机号", dataType = "String", paramType = "query"), @ApiImplicitParam(name = "mySelf", value = "是否只查看自己(0-否 1-是)", dataType = "Integer", defaultValue = "0", paramType = "query")})
|
|
|
+ @ApiImplicitParams({@ApiImplicitParam(name = "userId", value = "用户id", dataType = "Integer", paramType = "query"),
|
|
|
+ @ApiImplicitParam(name = "page", value = "分页页数", dataType = "Integer", defaultValue = "1", paramType = "query"),
|
|
|
+ @ApiImplicitParam(name = "size", value = "分页条数", dataType = "Integer", defaultValue = "10", paramType = "query"),
|
|
|
+ @ApiImplicitParam(name = "phoneId", value = "'user_' + 手机号", dataType = "String", paramType = "query"),
|
|
|
+ @ApiImplicitParam(name = "mySelf", value = "是否只查看自己(0-否 1-是)", dataType = "Integer", defaultValue = "0", paramType = "query"),
|
|
|
+ @ApiImplicitParam(name = "storeId", value = "店铺id", dataType = "Integer", paramType = "query")
|
|
|
+ })
|
|
|
@GetMapping("/getStoreClockInList")
|
|
|
- public R<IPage<StoreClockInVo>> getStoreClockInList(Integer userId, int page, int size, String phoneId, int mySelf) {
|
|
|
- log.info("StoreClockInController.getStoreClockInList?userId={},page={},size={},phoneId={},mySelf={}", userId, page, size, phoneId, mySelf);
|
|
|
- return R.data(storeClockInService.getStoreClockInList(userId, page, size, phoneId, mySelf));
|
|
|
+ public R<IPage<StoreClockInVo>> getStoreClockInList(Integer userId, int page, int size, String phoneId, int mySelf, @RequestParam(required = false) Integer storeId) {
|
|
|
+ log.info("StoreClockInController.getStoreClockInList?userId={},page={},size={},phoneId={},mySelf={},storeId={}", userId, page, size, phoneId, mySelf,storeId);
|
|
|
+ return R.data(storeClockInService.getStoreClockInList(userId, page, size, phoneId, mySelf,storeId));
|
|
|
}
|
|
|
|
|
|
@ApiOperation("删除打卡记录")
|