50 changed files with 629 additions and 752 deletions
@ -1,33 +0,0 @@ |
|||||||
package com.cloud.kicc.commonbiz.api.entity; |
|
||||||
|
|
||||||
import com.baomidou.mybatisplus.annotation.TableName; |
|
||||||
import com.cloud.kicc.common.data.entity.CommonEntity; |
|
||||||
import java.io.Serializable; |
|
||||||
import io.swagger.annotations.ApiModel; |
|
||||||
import io.swagger.annotations.ApiModelProperty; |
|
||||||
import lombok.Getter; |
|
||||||
import lombok.Setter; |
|
||||||
import lombok.experimental.Accessors; |
|
||||||
|
|
||||||
/** |
|
||||||
* <p> |
|
||||||
* |
|
||||||
* </p> |
|
||||||
* |
|
||||||
* @author wangxiang4 |
|
||||||
* @since 2023-02-16 |
|
||||||
*/ |
|
||||||
@Getter |
|
||||||
@Setter |
|
||||||
@Accessors(chain = true) |
|
||||||
@TableName("common_push_blacklist") |
|
||||||
@ApiModel(value = "PushBlacklist对象", description = "") |
|
||||||
public class PushBlacklist extends CommonEntity { |
|
||||||
|
|
||||||
private static final long serialVersionUID = 1L; |
|
||||||
|
|
||||||
private String id; |
|
||||||
|
|
||||||
private String pushId; |
|
||||||
|
|
||||||
} |
|
@ -0,0 +1,58 @@ |
|||||||
|
package com.cloud.kicc.commonbiz.api.entity; |
||||||
|
|
||||||
|
import com.baomidou.mybatisplus.annotation.TableName; |
||||||
|
import com.cloud.kicc.common.data.entity.CommonEntity; |
||||||
|
import java.io.Serializable; |
||||||
|
import io.swagger.annotations.ApiModel; |
||||||
|
import io.swagger.annotations.ApiModelProperty; |
||||||
|
import lombok.Getter; |
||||||
|
import lombok.Setter; |
||||||
|
import lombok.experimental.Accessors; |
||||||
|
|
||||||
|
/** |
||||||
|
* <p> |
||||||
|
* |
||||||
|
* </p> |
||||||
|
* |
||||||
|
* @author wangxiang4 |
||||||
|
* @since 2023-02-16 |
||||||
|
*/ |
||||||
|
@Getter |
||||||
|
@Setter |
||||||
|
@Accessors(chain = true) |
||||||
|
@TableName("common_push_third_party") |
||||||
|
@ApiModel(value = "PushThirdParty对象", description = "") |
||||||
|
public class PushThirdParty extends CommonEntity { |
||||||
|
|
||||||
|
private static final long serialVersionUID = 1L; |
||||||
|
|
||||||
|
private String id; |
||||||
|
|
||||||
|
@ApiModelProperty("法定代表人姓名") |
||||||
|
private String statutoryRepName; |
||||||
|
|
||||||
|
@ApiModelProperty("法定代表人身份证") |
||||||
|
private String idCard; |
||||||
|
|
||||||
|
@ApiModelProperty("企业名称") |
||||||
|
private String enterpName; |
||||||
|
|
||||||
|
@ApiModelProperty("营业执照文件") |
||||||
|
private String licenseFileId; |
||||||
|
|
||||||
|
@ApiModelProperty("法定代表人手机号") |
||||||
|
private String phone; |
||||||
|
|
||||||
|
@ApiModelProperty("统一社会信用代码") |
||||||
|
private String creditCode; |
||||||
|
|
||||||
|
@ApiModelProperty("用户ID") |
||||||
|
private String userId; |
||||||
|
|
||||||
|
@ApiModelProperty("详细地址") |
||||||
|
private String detailedAddress; |
||||||
|
|
||||||
|
@ApiModelProperty("申请状态") |
||||||
|
private String status; |
||||||
|
|
||||||
|
} |
@ -0,0 +1,49 @@ |
|||||||
|
package com.cloud.kicc.commonbiz.api.entity; |
||||||
|
|
||||||
|
import com.baomidou.mybatisplus.annotation.TableName; |
||||||
|
import com.cloud.kicc.common.data.entity.CommonEntity; |
||||||
|
import java.io.Serializable; |
||||||
|
import io.swagger.annotations.ApiModel; |
||||||
|
import io.swagger.annotations.ApiModelProperty; |
||||||
|
import lombok.Getter; |
||||||
|
import lombok.Setter; |
||||||
|
import lombok.experimental.Accessors; |
||||||
|
|
||||||
|
/** |
||||||
|
* <p> |
||||||
|
* |
||||||
|
* </p> |
||||||
|
* |
||||||
|
* @author wangxiang4 |
||||||
|
* @since 2023-02-16 |
||||||
|
*/ |
||||||
|
@Getter |
||||||
|
@Setter |
||||||
|
@Accessors(chain = true) |
||||||
|
@TableName("common_push_third_party_manage") |
||||||
|
@ApiModel(value = "PushThirdPartyManage对象", description = "") |
||||||
|
public class PushThirdPartyManage extends CommonEntity { |
||||||
|
|
||||||
|
private static final long serialVersionUID = 1L; |
||||||
|
|
||||||
|
private String id; |
||||||
|
|
||||||
|
@ApiModelProperty("第三方ID") |
||||||
|
private String thirdPartyId; |
||||||
|
|
||||||
|
@ApiModelProperty("企业名称") |
||||||
|
private String enterpName; |
||||||
|
|
||||||
|
@ApiModelProperty("自定义推送类型ID") |
||||||
|
private String pushTypeId; |
||||||
|
|
||||||
|
@ApiModelProperty("是否震动") |
||||||
|
private String isVibration; |
||||||
|
|
||||||
|
@ApiModelProperty("是否响铃") |
||||||
|
private String isSound; |
||||||
|
|
||||||
|
@ApiModelProperty("自定义铃声") |
||||||
|
private String customSound; |
||||||
|
|
||||||
|
} |
@ -1,37 +0,0 @@ |
|||||||
package com.cloud.kicc.commonbiz.api.entity; |
|
||||||
|
|
||||||
import com.baomidou.mybatisplus.annotation.TableName; |
|
||||||
import com.cloud.kicc.common.data.entity.CommonEntity; |
|
||||||
import java.io.Serializable; |
|
||||||
import io.swagger.annotations.ApiModel; |
|
||||||
import io.swagger.annotations.ApiModelProperty; |
|
||||||
import lombok.Getter; |
|
||||||
import lombok.Setter; |
|
||||||
import lombok.experimental.Accessors; |
|
||||||
|
|
||||||
/** |
|
||||||
* <p> |
|
||||||
* |
|
||||||
* </p> |
|
||||||
* |
|
||||||
* @author wangxiang4 |
|
||||||
* @since 2023-02-16 |
|
||||||
*/ |
|
||||||
@Getter |
|
||||||
@Setter |
|
||||||
@Accessors(chain = true) |
|
||||||
@TableName("common_push_todo_auth") |
|
||||||
@ApiModel(value = "PushTodoAuth对象", description = "") |
|
||||||
public class PushTodoAuth extends CommonEntity { |
|
||||||
|
|
||||||
private static final long serialVersionUID = 1L; |
|
||||||
|
|
||||||
private String id; |
|
||||||
|
|
||||||
private String name; |
|
||||||
|
|
||||||
private String certificationId; |
|
||||||
|
|
||||||
private String status; |
|
||||||
|
|
||||||
} |
|
@ -1,33 +0,0 @@ |
|||||||
package com.cloud.kicc.commonbiz.api.entity; |
|
||||||
|
|
||||||
import com.baomidou.mybatisplus.annotation.TableName; |
|
||||||
import com.cloud.kicc.common.data.entity.CommonEntity; |
|
||||||
import java.io.Serializable; |
|
||||||
import io.swagger.annotations.ApiModel; |
|
||||||
import io.swagger.annotations.ApiModelProperty; |
|
||||||
import lombok.Getter; |
|
||||||
import lombok.Setter; |
|
||||||
import lombok.experimental.Accessors; |
|
||||||
|
|
||||||
/** |
|
||||||
* <p> |
|
||||||
* |
|
||||||
* </p> |
|
||||||
* |
|
||||||
* @author wangxiang4 |
|
||||||
* @since 2023-02-16 |
|
||||||
*/ |
|
||||||
@Getter |
|
||||||
@Setter |
|
||||||
@Accessors(chain = true) |
|
||||||
@TableName("common_push_whitelist") |
|
||||||
@ApiModel(value = "PushWhitelist对象", description = "") |
|
||||||
public class PushWhitelist extends CommonEntity { |
|
||||||
|
|
||||||
private static final long serialVersionUID = 1L; |
|
||||||
|
|
||||||
private String id; |
|
||||||
|
|
||||||
private String pushId; |
|
||||||
|
|
||||||
} |
|
@ -1,74 +0,0 @@ |
|||||||
package com.cloud.kicc.commonbiz.controller; |
|
||||||
|
|
||||||
|
|
||||||
import cn.hutool.core.util.StrUtil; |
|
||||||
import com.baomidou.mybatisplus.core.conditions.query.LambdaQueryWrapper; |
|
||||||
import com.baomidou.mybatisplus.core.metadata.IPage; |
|
||||||
import com.baomidou.mybatisplus.extension.plugins.pagination.Page; |
|
||||||
import com.cloud.kicc.common.core.api.R; |
|
||||||
import com.cloud.kicc.common.core.constant.AppConstants; |
|
||||||
import com.cloud.kicc.common.log.annotation.SysLog; |
|
||||||
import com.cloud.kicc.commonbiz.api.entity.PushApplication; |
|
||||||
import com.cloud.kicc.commonbiz.api.entity.PushBlacklist; |
|
||||||
import com.cloud.kicc.commonbiz.service.IPushApplicationService; |
|
||||||
import com.cloud.kicc.commonbiz.service.IPushBlacklistService; |
|
||||||
import com.cloud.kicc.system.api.entity.OauthClientDetails; |
|
||||||
import lombok.RequiredArgsConstructor; |
|
||||||
import org.springframework.web.bind.annotation.*; |
|
||||||
|
|
||||||
import org.springframework.stereotype.Controller; |
|
||||||
|
|
||||||
import javax.validation.Valid; |
|
||||||
import java.util.Arrays; |
|
||||||
|
|
||||||
/** |
|
||||||
* <p> |
|
||||||
* 前端控制器 |
|
||||||
* </p> |
|
||||||
* |
|
||||||
* @author wangxiang4 |
|
||||||
* @since 2023-02-16 |
|
||||||
*/ |
|
||||||
@RestController |
|
||||||
@RequestMapping(AppConstants.APP_COMMON + "/pushBlacklist") |
|
||||||
@RequiredArgsConstructor |
|
||||||
public class PushBlacklistController { |
|
||||||
|
|
||||||
private final IPushBlacklistService iPushBlacklistService; |
|
||||||
|
|
||||||
private LambdaQueryWrapper<PushBlacklist> getQueryWrapper(PushBlacklist pushBlacklist) { |
|
||||||
return new LambdaQueryWrapper<PushBlacklist>() |
|
||||||
.eq(StrUtil.isNotBlank(pushBlacklist.getPushId()), PushBlacklist::getPushId, pushBlacklist.getPushId()); |
|
||||||
} |
|
||||||
|
|
||||||
@GetMapping("/list") |
|
||||||
public R list(Page page, PushBlacklist pushBlacklist) { |
|
||||||
IPage<OauthClientDetails> list = iPushBlacklistService.page(page, getQueryWrapper(pushBlacklist)); |
|
||||||
return R.ok(list.getRecords(), list.getTotal()); |
|
||||||
} |
|
||||||
|
|
||||||
@GetMapping("/{id:\\w+}") |
|
||||||
public R getById(@PathVariable("id") String id) { |
|
||||||
return R.ok(iPushBlacklistService.getById(id)); |
|
||||||
} |
|
||||||
|
|
||||||
@PostMapping("/save") |
|
||||||
public R save(@Valid @RequestBody PushBlacklist pushBlacklist) { |
|
||||||
iPushBlacklistService.save(pushBlacklist); |
|
||||||
return R.ok(); |
|
||||||
} |
|
||||||
|
|
||||||
@PutMapping("/update") |
|
||||||
public R update(@Valid @RequestBody PushBlacklist pushBlacklist) { |
|
||||||
iPushBlacklistService.updateById(pushBlacklist); |
|
||||||
return R.ok(); |
|
||||||
} |
|
||||||
|
|
||||||
@DeleteMapping("/remove/{ids:[\\w,]+}") |
|
||||||
public R<Boolean> removeById(@PathVariable String[] ids) { |
|
||||||
iPushBlacklistService.removeByIds(Arrays.asList(ids)); |
|
||||||
return R.ok(); |
|
||||||
} |
|
||||||
|
|
||||||
} |
|
||||||
|
|
@ -1,69 +0,0 @@ |
|||||||
package com.cloud.kicc.commonbiz.controller; |
|
||||||
|
|
||||||
|
|
||||||
import cn.hutool.core.util.StrUtil; |
|
||||||
import com.baomidou.mybatisplus.core.conditions.query.LambdaQueryWrapper; |
|
||||||
import com.baomidou.mybatisplus.core.metadata.IPage; |
|
||||||
import com.baomidou.mybatisplus.extension.plugins.pagination.Page; |
|
||||||
import com.cloud.kicc.common.core.api.R; |
|
||||||
import com.cloud.kicc.common.core.constant.AppConstants; |
|
||||||
import com.cloud.kicc.commonbiz.api.entity.PushCertification; |
|
||||||
import com.cloud.kicc.commonbiz.service.IPushCertificationService; |
|
||||||
import lombok.RequiredArgsConstructor; |
|
||||||
import org.springframework.stereotype.Controller; |
|
||||||
import org.springframework.web.bind.annotation.*; |
|
||||||
|
|
||||||
import javax.validation.Valid; |
|
||||||
import java.util.Arrays; |
|
||||||
|
|
||||||
/** |
|
||||||
* <p> |
|
||||||
* 前端控制器 |
|
||||||
* </p> |
|
||||||
* |
|
||||||
* @author wangxiang4 |
|
||||||
* @since 2023-02-16 |
|
||||||
*/ |
|
||||||
@RestController |
|
||||||
@RequestMapping(AppConstants.APP_COMMON + "/pushCertification") |
|
||||||
@RequiredArgsConstructor |
|
||||||
public class PushCertificationController { |
|
||||||
|
|
||||||
private final IPushCertificationService iPushCertificationService; |
|
||||||
|
|
||||||
private LambdaQueryWrapper<PushCertification> getQueryWrapper(PushCertification pushCertification) { |
|
||||||
return new LambdaQueryWrapper<PushCertification>() |
|
||||||
.eq(StrUtil.isNotBlank(pushCertification.getName()), PushCertification::getName, pushCertification.getName()); |
|
||||||
} |
|
||||||
|
|
||||||
@GetMapping("/list") |
|
||||||
public R list(Page page, PushCertification pushCertification) { |
|
||||||
IPage<PushCertification> list = iPushCertificationService.page(page, getQueryWrapper(pushCertification)); |
|
||||||
return R.ok(list.getRecords(), list.getTotal()); |
|
||||||
} |
|
||||||
|
|
||||||
@GetMapping("/{id:\\w+}") |
|
||||||
public R getById(@PathVariable("id") String id) { |
|
||||||
return R.ok(iPushCertificationService.getById(id)); |
|
||||||
} |
|
||||||
|
|
||||||
@PostMapping("/save") |
|
||||||
public R save(@Valid @RequestBody PushCertification pushCertification) { |
|
||||||
iPushCertificationService.save(pushCertification); |
|
||||||
return R.ok(); |
|
||||||
} |
|
||||||
|
|
||||||
@PutMapping("/update") |
|
||||||
public R update(@Valid @RequestBody PushCertification pushCertification) { |
|
||||||
iPushCertificationService.updateById(pushCertification); |
|
||||||
return R.ok(); |
|
||||||
} |
|
||||||
|
|
||||||
@DeleteMapping("/remove/{ids:[\\w,]+}") |
|
||||||
public R<Boolean> removeById(@PathVariable String[] ids) { |
|
||||||
iPushCertificationService.removeByIds(Arrays.asList(ids)); |
|
||||||
return R.ok(); |
|
||||||
} |
|
||||||
|
|
||||||
} |
|
||||||
|
|
@ -0,0 +1,67 @@ |
|||||||
|
package com.cloud.kicc.commonbiz.controller; |
||||||
|
|
||||||
|
|
||||||
|
import cn.hutool.core.util.StrUtil; |
||||||
|
import com.baomidou.mybatisplus.core.conditions.query.LambdaQueryWrapper; |
||||||
|
import com.baomidou.mybatisplus.core.metadata.IPage; |
||||||
|
import com.baomidou.mybatisplus.extension.plugins.pagination.Page; |
||||||
|
import com.cloud.kicc.common.core.api.R; |
||||||
|
import com.cloud.kicc.commonbiz.api.entity.PushCustomType; |
||||||
|
import com.cloud.kicc.commonbiz.service.IPushCustomTypeService; |
||||||
|
import lombok.RequiredArgsConstructor; |
||||||
|
import org.springframework.web.bind.annotation.*; |
||||||
|
|
||||||
|
import javax.validation.Valid; |
||||||
|
import java.util.Arrays; |
||||||
|
|
||||||
|
/** |
||||||
|
* <p> |
||||||
|
* 前端控制器 |
||||||
|
* </p> |
||||||
|
* |
||||||
|
* @author wangxiang4 |
||||||
|
* @since 2023-02-16 |
||||||
|
*/ |
||||||
|
@RestController |
||||||
|
@RequestMapping("/pushCustomType") |
||||||
|
@RequiredArgsConstructor |
||||||
|
public class PushCustomTypeController { |
||||||
|
|
||||||
|
private final IPushCustomTypeService iPushCustomTypeService; |
||||||
|
|
||||||
|
private LambdaQueryWrapper<PushCustomType> getQueryWrapper(PushCustomType pushCustomType) { |
||||||
|
return new LambdaQueryWrapper<PushCustomType>() |
||||||
|
.eq(StrUtil.isNotBlank(pushCustomType.getName()), PushCustomType::getName, pushCustomType.getName()); |
||||||
|
} |
||||||
|
|
||||||
|
@GetMapping("/list") |
||||||
|
public R list(Page page, PushCustomType pushCustomType) { |
||||||
|
IPage<PushCustomType> list = iPushCustomTypeService.page(page, getQueryWrapper(pushCustomType)); |
||||||
|
return R.ok(list.getRecords(), list.getTotal()); |
||||||
|
} |
||||||
|
|
||||||
|
@GetMapping("/{id:\\w+}") |
||||||
|
public R getById(@PathVariable("id") String id) { |
||||||
|
return R.ok(iPushCustomTypeService.getById(id)); |
||||||
|
} |
||||||
|
|
||||||
|
@PostMapping("/save") |
||||||
|
public R save(@Valid @RequestBody PushCustomType pushCustomType) { |
||||||
|
iPushCustomTypeService.save(pushCustomType); |
||||||
|
return R.ok(); |
||||||
|
} |
||||||
|
|
||||||
|
@PutMapping("/update") |
||||||
|
public R update(@Valid @RequestBody PushCustomType pushCustomType) { |
||||||
|
iPushCustomTypeService.updateById(pushCustomType); |
||||||
|
return R.ok(); |
||||||
|
} |
||||||
|
|
||||||
|
@DeleteMapping("/remove/{ids:[\\w,]+}") |
||||||
|
public R<Boolean> removeById(@PathVariable String[] ids) { |
||||||
|
iPushCustomTypeService.removeByIds(Arrays.asList(ids)); |
||||||
|
return R.ok(); |
||||||
|
} |
||||||
|
|
||||||
|
} |
||||||
|
|
@ -0,0 +1,69 @@ |
|||||||
|
package com.cloud.kicc.commonbiz.controller; |
||||||
|
|
||||||
|
|
||||||
|
import cn.hutool.core.util.StrUtil; |
||||||
|
import com.baomidou.mybatisplus.core.conditions.query.LambdaQueryWrapper; |
||||||
|
import com.baomidou.mybatisplus.core.metadata.IPage; |
||||||
|
import com.baomidou.mybatisplus.extension.plugins.pagination.Page; |
||||||
|
import com.cloud.kicc.common.core.api.R; |
||||||
|
import com.cloud.kicc.common.core.constant.AppConstants; |
||||||
|
import com.cloud.kicc.commonbiz.api.entity.PushPassList; |
||||||
|
import com.cloud.kicc.commonbiz.service.IPushPassListService; |
||||||
|
import lombok.RequiredArgsConstructor; |
||||||
|
import org.springframework.web.bind.annotation.*; |
||||||
|
|
||||||
|
import javax.validation.Valid; |
||||||
|
import java.util.Arrays; |
||||||
|
|
||||||
|
/** |
||||||
|
* <p> |
||||||
|
* 前端控制器 |
||||||
|
* </p> |
||||||
|
* |
||||||
|
* @author wangxiang4 |
||||||
|
* @since 2023-02-16 |
||||||
|
*/ |
||||||
|
@RestController |
||||||
|
@RequestMapping(AppConstants.APP_COMMON + "/pushPassList") |
||||||
|
@RequiredArgsConstructor |
||||||
|
public class PushPassListController { |
||||||
|
|
||||||
|
private final IPushPassListService iPushPassListService; |
||||||
|
|
||||||
|
private LambdaQueryWrapper<PushPassList> getQueryWrapper(PushPassList pushBlacklist) { |
||||||
|
return new LambdaQueryWrapper<PushPassList>() |
||||||
|
.eq(StrUtil.isNotBlank(pushBlacklist.getPushManageId()), PushPassList::getPushManageId, pushBlacklist.getPushManageId()) |
||||||
|
.eq(StrUtil.isNotBlank(pushBlacklist.getType()), PushPassList::getType, pushBlacklist.getType()); |
||||||
|
} |
||||||
|
|
||||||
|
@GetMapping("/list") |
||||||
|
public R list(Page page, PushPassList pushPassList) { |
||||||
|
IPage<PushPassList> list = iPushPassListService.page(page, getQueryWrapper(pushPassList)); |
||||||
|
return R.ok(list.getRecords(), list.getTotal()); |
||||||
|
} |
||||||
|
|
||||||
|
@GetMapping("/{id:\\w+}") |
||||||
|
public R getById(@PathVariable("id") String id) { |
||||||
|
return R.ok(iPushPassListService.getById(id)); |
||||||
|
} |
||||||
|
|
||||||
|
@PostMapping("/save") |
||||||
|
public R save(@Valid @RequestBody PushPassList pushPassList) { |
||||||
|
iPushPassListService.save(pushPassList); |
||||||
|
return R.ok(); |
||||||
|
} |
||||||
|
|
||||||
|
@PutMapping("/update") |
||||||
|
public R update(@Valid @RequestBody PushPassList pushPassList) { |
||||||
|
iPushPassListService.updateById(pushPassList); |
||||||
|
return R.ok(); |
||||||
|
} |
||||||
|
|
||||||
|
@DeleteMapping("/remove/{ids:[\\w,]+}") |
||||||
|
public R<Boolean> removeById(@PathVariable String[] ids) { |
||||||
|
iPushPassListService.removeByIds(Arrays.asList(ids)); |
||||||
|
return R.ok(); |
||||||
|
} |
||||||
|
|
||||||
|
} |
||||||
|
|
@ -0,0 +1,69 @@ |
|||||||
|
package com.cloud.kicc.commonbiz.controller; |
||||||
|
|
||||||
|
|
||||||
|
import cn.hutool.core.util.StrUtil; |
||||||
|
import com.baomidou.mybatisplus.core.conditions.query.LambdaQueryWrapper; |
||||||
|
import com.baomidou.mybatisplus.core.metadata.IPage; |
||||||
|
import com.baomidou.mybatisplus.extension.plugins.pagination.Page; |
||||||
|
import com.cloud.kicc.common.core.api.R; |
||||||
|
import com.cloud.kicc.common.core.constant.AppConstants; |
||||||
|
import com.cloud.kicc.commonbiz.api.entity.PushThirdParty; |
||||||
|
import com.cloud.kicc.commonbiz.service.IPushThirdPartyService; |
||||||
|
import lombok.RequiredArgsConstructor; |
||||||
|
import org.springframework.web.bind.annotation.*; |
||||||
|
|
||||||
|
import javax.validation.Valid; |
||||||
|
import java.util.Arrays; |
||||||
|
|
||||||
|
/** |
||||||
|
* <p> |
||||||
|
* 前端控制器 |
||||||
|
* </p> |
||||||
|
* |
||||||
|
* @author wangxiang4 |
||||||
|
* @since 2023-02-16 |
||||||
|
*/ |
||||||
|
@RestController |
||||||
|
@RequestMapping(AppConstants.APP_COMMON + "/pushThirdParty") |
||||||
|
@RequiredArgsConstructor |
||||||
|
public class PushThirdPartyController { |
||||||
|
|
||||||
|
private final IPushThirdPartyService iPushThirdPartyService; |
||||||
|
|
||||||
|
private LambdaQueryWrapper<PushThirdParty> getQueryWrapper(PushThirdParty pushThirdParty) { |
||||||
|
return new LambdaQueryWrapper<PushThirdParty>() |
||||||
|
.eq(StrUtil.isNotBlank(pushThirdParty.getEnterpName()), PushThirdParty::getEnterpName, pushThirdParty.getEnterpName()) |
||||||
|
.eq(StrUtil.isNotBlank(pushThirdParty.getStatus()), PushThirdParty::getStatus, pushThirdParty.getStatus()); |
||||||
|
} |
||||||
|
|
||||||
|
@GetMapping("/list") |
||||||
|
public R list(Page page, PushThirdParty pushThirdParty) { |
||||||
|
IPage<PushThirdParty> list = iPushThirdPartyService.page(page, getQueryWrapper(pushThirdParty)); |
||||||
|
return R.ok(list.getRecords(), list.getTotal()); |
||||||
|
} |
||||||
|
|
||||||
|
@GetMapping("/{id:\\w+}") |
||||||
|
public R getById(@PathVariable("id") String id) { |
||||||
|
return R.ok(iPushThirdPartyService.getById(id)); |
||||||
|
} |
||||||
|
|
||||||
|
@PostMapping("/save") |
||||||
|
public R save(@Valid @RequestBody PushThirdParty pushThirdParty) { |
||||||
|
iPushThirdPartyService.save(pushThirdParty); |
||||||
|
return R.ok(); |
||||||
|
} |
||||||
|
|
||||||
|
@PutMapping("/update") |
||||||
|
public R update(@Valid @RequestBody PushThirdParty pushThirdParty) { |
||||||
|
iPushThirdPartyService.updateById(pushThirdParty); |
||||||
|
return R.ok(); |
||||||
|
} |
||||||
|
|
||||||
|
@DeleteMapping("/remove/{ids:[\\w,]+}") |
||||||
|
public R<Boolean> removeById(@PathVariable String[] ids) { |
||||||
|
iPushThirdPartyService.removeByIds(Arrays.asList(ids)); |
||||||
|
return R.ok(); |
||||||
|
} |
||||||
|
|
||||||
|
} |
||||||
|
|
@ -0,0 +1,68 @@ |
|||||||
|
package com.cloud.kicc.commonbiz.controller; |
||||||
|
|
||||||
|
|
||||||
|
import cn.hutool.core.util.StrUtil; |
||||||
|
import com.baomidou.mybatisplus.core.conditions.query.LambdaQueryWrapper; |
||||||
|
import com.baomidou.mybatisplus.core.metadata.IPage; |
||||||
|
import com.baomidou.mybatisplus.extension.plugins.pagination.Page; |
||||||
|
import com.cloud.kicc.common.core.api.R; |
||||||
|
import com.cloud.kicc.common.core.constant.AppConstants; |
||||||
|
import com.cloud.kicc.commonbiz.api.entity.PushThirdPartyManage; |
||||||
|
import com.cloud.kicc.commonbiz.service.IPushThirdPartyManageService; |
||||||
|
import lombok.RequiredArgsConstructor; |
||||||
|
import org.springframework.web.bind.annotation.*; |
||||||
|
|
||||||
|
import javax.validation.Valid; |
||||||
|
import java.util.Arrays; |
||||||
|
|
||||||
|
/** |
||||||
|
* <p> |
||||||
|
* 前端控制器 |
||||||
|
* </p> |
||||||
|
* |
||||||
|
* @author wangxiang4 |
||||||
|
* @since 2023-02-16 |
||||||
|
*/ |
||||||
|
@RestController |
||||||
|
@RequestMapping(AppConstants.APP_COMMON + "/pushThirdPartyManage") |
||||||
|
@RequiredArgsConstructor |
||||||
|
public class PushThirdPartyManageController { |
||||||
|
|
||||||
|
private final IPushThirdPartyManageService iPushThirdPartyManageService; |
||||||
|
|
||||||
|
private LambdaQueryWrapper<PushThirdPartyManage> getQueryWrapper(PushThirdPartyManage pushThirdPartyManage) { |
||||||
|
return new LambdaQueryWrapper<PushThirdPartyManage>() |
||||||
|
.eq(StrUtil.isNotBlank(pushThirdPartyManage.getEnterpName()), PushThirdPartyManage::getEnterpName, pushThirdPartyManage.getEnterpName()); |
||||||
|
} |
||||||
|
|
||||||
|
@GetMapping("/list") |
||||||
|
public R list(Page page, PushThirdPartyManage pushThirdPartyManage) { |
||||||
|
IPage<PushThirdPartyManage> list = iPushThirdPartyManageService.page(page, getQueryWrapper(pushThirdPartyManage)); |
||||||
|
return R.ok(list.getRecords(), list.getTotal()); |
||||||
|
} |
||||||
|
|
||||||
|
@GetMapping("/{id:\\w+}") |
||||||
|
public R getById(@PathVariable("id") String id) { |
||||||
|
return R.ok(iPushThirdPartyManageService.getById(id)); |
||||||
|
} |
||||||
|
|
||||||
|
@PostMapping("/save") |
||||||
|
public R save(@Valid @RequestBody PushThirdPartyManage pushThirdPartyManage) { |
||||||
|
iPushThirdPartyManageService.save(pushThirdPartyManage); |
||||||
|
return R.ok(); |
||||||
|
} |
||||||
|
|
||||||
|
@PutMapping("/update") |
||||||
|
public R update(@Valid @RequestBody PushThirdPartyManage pushThirdPartyManage) { |
||||||
|
iPushThirdPartyManageService.updateById(pushThirdPartyManage); |
||||||
|
return R.ok(); |
||||||
|
} |
||||||
|
|
||||||
|
@DeleteMapping("/remove/{ids:[\\w,]+}") |
||||||
|
public R<Boolean> removeById(@PathVariable String[] ids) { |
||||||
|
iPushThirdPartyManageService.removeByIds(Arrays.asList(ids)); |
||||||
|
return R.ok(); |
||||||
|
} |
||||||
|
|
||||||
|
} |
||||||
|
|
@ -1,72 +0,0 @@ |
|||||||
package com.cloud.kicc.commonbiz.controller; |
|
||||||
|
|
||||||
|
|
||||||
import cn.hutool.core.util.StrUtil; |
|
||||||
import com.baomidou.mybatisplus.core.conditions.query.LambdaQueryWrapper; |
|
||||||
import com.baomidou.mybatisplus.core.metadata.IPage; |
|
||||||
import com.baomidou.mybatisplus.extension.plugins.pagination.Page; |
|
||||||
import com.cloud.kicc.common.core.api.R; |
|
||||||
import com.cloud.kicc.common.core.constant.AppConstants; |
|
||||||
import com.cloud.kicc.commonbiz.api.entity.PushCertification; |
|
||||||
import com.cloud.kicc.commonbiz.api.entity.PushTodoAuth; |
|
||||||
import com.cloud.kicc.commonbiz.service.IPushCertificationService; |
|
||||||
import com.cloud.kicc.commonbiz.service.IPushTodoAuthService; |
|
||||||
import lombok.RequiredArgsConstructor; |
|
||||||
import org.springframework.web.bind.annotation.*; |
|
||||||
|
|
||||||
import org.springframework.stereotype.Controller; |
|
||||||
|
|
||||||
import javax.validation.Valid; |
|
||||||
import java.util.Arrays; |
|
||||||
|
|
||||||
/** |
|
||||||
* <p> |
|
||||||
* 前端控制器 |
|
||||||
* </p> |
|
||||||
* |
|
||||||
* @author wangxiang4 |
|
||||||
* @since 2023-02-16 |
|
||||||
*/ |
|
||||||
@RestController |
|
||||||
@RequestMapping(AppConstants.APP_COMMON + "/pushTodoAuth") |
|
||||||
@RequiredArgsConstructor |
|
||||||
public class PushTodoAuthController { |
|
||||||
|
|
||||||
private final IPushTodoAuthService iPushTodoAuthService; |
|
||||||
|
|
||||||
private LambdaQueryWrapper<PushTodoAuth> getQueryWrapper(PushTodoAuth pushTodoAuth) { |
|
||||||
return new LambdaQueryWrapper<PushTodoAuth>() |
|
||||||
.eq(StrUtil.isNotBlank(pushTodoAuth.getName()), PushTodoAuth::getName, pushTodoAuth.getName()); |
|
||||||
} |
|
||||||
|
|
||||||
@GetMapping("/list") |
|
||||||
public R list(Page page, PushTodoAuth pushTodoAuth) { |
|
||||||
IPage<PushTodoAuth> list = iPushTodoAuthService.page(page, getQueryWrapper(pushTodoAuth)); |
|
||||||
return R.ok(list.getRecords(), list.getTotal()); |
|
||||||
} |
|
||||||
|
|
||||||
@GetMapping("/{id:\\w+}") |
|
||||||
public R getById(@PathVariable("id") String id) { |
|
||||||
return R.ok(iPushTodoAuthService.getById(id)); |
|
||||||
} |
|
||||||
|
|
||||||
@PostMapping("/save") |
|
||||||
public R save(@Valid @RequestBody PushTodoAuth pushTodoAuth) { |
|
||||||
iPushTodoAuthService.save(pushTodoAuth); |
|
||||||
return R.ok(); |
|
||||||
} |
|
||||||
|
|
||||||
@PutMapping("/update") |
|
||||||
public R update(@Valid @RequestBody PushTodoAuth pushTodoAuth) { |
|
||||||
iPushTodoAuthService.updateById(pushTodoAuth); |
|
||||||
return R.ok(); |
|
||||||
} |
|
||||||
|
|
||||||
@DeleteMapping("/remove/{ids:[\\w,]+}") |
|
||||||
public R<Boolean> removeById(@PathVariable String[] ids) { |
|
||||||
iPushTodoAuthService.removeByIds(Arrays.asList(ids)); |
|
||||||
return R.ok(); |
|
||||||
} |
|
||||||
|
|
||||||
} |
|
||||||
|
|
@ -1,69 +0,0 @@ |
|||||||
package com.cloud.kicc.commonbiz.controller; |
|
||||||
|
|
||||||
|
|
||||||
import cn.hutool.core.util.StrUtil; |
|
||||||
import com.baomidou.mybatisplus.core.conditions.query.LambdaQueryWrapper; |
|
||||||
import com.baomidou.mybatisplus.core.metadata.IPage; |
|
||||||
import com.baomidou.mybatisplus.extension.plugins.pagination.Page; |
|
||||||
import com.cloud.kicc.common.core.api.R; |
|
||||||
import com.cloud.kicc.common.core.constant.AppConstants; |
|
||||||
import com.cloud.kicc.commonbiz.api.entity.PushType; |
|
||||||
import com.cloud.kicc.commonbiz.service.IPushTypeService; |
|
||||||
import lombok.RequiredArgsConstructor; |
|
||||||
import org.springframework.stereotype.Controller; |
|
||||||
import org.springframework.web.bind.annotation.*; |
|
||||||
|
|
||||||
import javax.validation.Valid; |
|
||||||
import java.util.Arrays; |
|
||||||
|
|
||||||
/** |
|
||||||
* <p> |
|
||||||
* 前端控制器 |
|
||||||
* </p> |
|
||||||
* |
|
||||||
* @author wangxiang4 |
|
||||||
* @since 2023-02-16 |
|
||||||
*/ |
|
||||||
@RestController |
|
||||||
@RequestMapping(AppConstants.APP_COMMON + "/pushType") |
|
||||||
@RequiredArgsConstructor |
|
||||||
public class PushTypeController { |
|
||||||
|
|
||||||
private final IPushTypeService iPushTypeService; |
|
||||||
|
|
||||||
private LambdaQueryWrapper<PushType> getQueryWrapper(PushType pushType) { |
|
||||||
return new LambdaQueryWrapper<PushType>() |
|
||||||
.eq(StrUtil.isNotBlank(pushType.getName()), PushType::getName, pushType.getName()); |
|
||||||
} |
|
||||||
|
|
||||||
@GetMapping("/list") |
|
||||||
public R list(Page page, PushType pushType) { |
|
||||||
IPage<PushType> list = iPushTypeService.page(page, getQueryWrapper(pushType)); |
|
||||||
return R.ok(list.getRecords(), list.getTotal()); |
|
||||||
} |
|
||||||
|
|
||||||
@GetMapping("/{id:\\w+}") |
|
||||||
public R getById(@PathVariable("id") String id) { |
|
||||||
return R.ok(iPushTypeService.getById(id)); |
|
||||||
} |
|
||||||
|
|
||||||
@PostMapping("/save") |
|
||||||
public R save(@Valid @RequestBody PushType pushType) { |
|
||||||
iPushTypeService.save(pushType); |
|
||||||
return R.ok(); |
|
||||||
} |
|
||||||
|
|
||||||
@PutMapping("/update") |
|
||||||
public R update(@Valid @RequestBody PushType pushType) { |
|
||||||
iPushTypeService.updateById(pushType); |
|
||||||
return R.ok(); |
|
||||||
} |
|
||||||
|
|
||||||
@DeleteMapping("/remove/{ids:[\\w,]+}") |
|
||||||
public R<Boolean> removeById(@PathVariable String[] ids) { |
|
||||||
iPushTypeService.removeByIds(Arrays.asList(ids)); |
|
||||||
return R.ok(); |
|
||||||
} |
|
||||||
|
|
||||||
} |
|
||||||
|
|
@ -0,0 +1,72 @@ |
|||||||
|
package com.cloud.kicc.commonbiz.controller; |
||||||
|
|
||||||
|
|
||||||
|
import cn.hutool.core.util.StrUtil; |
||||||
|
import com.baomidou.mybatisplus.core.conditions.query.LambdaQueryWrapper; |
||||||
|
import com.baomidou.mybatisplus.core.metadata.IPage; |
||||||
|
import com.baomidou.mybatisplus.extension.plugins.pagination.Page; |
||||||
|
import com.cloud.kicc.common.core.api.R; |
||||||
|
import com.cloud.kicc.common.core.constant.AppConstants; |
||||||
|
import com.cloud.kicc.commonbiz.api.entity.PushThirdPartyManage; |
||||||
|
import com.cloud.kicc.commonbiz.api.entity.PushUserManage; |
||||||
|
import com.cloud.kicc.commonbiz.service.IPushThirdPartyManageService; |
||||||
|
import com.cloud.kicc.commonbiz.service.IPushUserManageService; |
||||||
|
import lombok.RequiredArgsConstructor; |
||||||
|
import org.springframework.web.bind.annotation.*; |
||||||
|
|
||||||
|
import org.springframework.stereotype.Controller; |
||||||
|
|
||||||
|
import javax.validation.Valid; |
||||||
|
import java.util.Arrays; |
||||||
|
|
||||||
|
/** |
||||||
|
* <p> |
||||||
|
* 前端控制器 |
||||||
|
* </p> |
||||||
|
* |
||||||
|
* @author wangxiang4 |
||||||
|
* @since 2023-02-16 |
||||||
|
*/ |
||||||
|
@RestController |
||||||
|
@RequestMapping(AppConstants.APP_COMMON + "/pushUserManage") |
||||||
|
@RequiredArgsConstructor |
||||||
|
public class PushUserManageController { |
||||||
|
|
||||||
|
private final IPushUserManageService iPushUserManageService; |
||||||
|
|
||||||
|
private LambdaQueryWrapper<PushUserManage> getQueryWrapper(PushUserManage pushUserManage) { |
||||||
|
return new LambdaQueryWrapper<PushUserManage>() |
||||||
|
.eq(StrUtil.isNotBlank(pushUserManage.getNickName()), PushUserManage::getNickName, pushUserManage.getNickName()); |
||||||
|
} |
||||||
|
|
||||||
|
@GetMapping("/list") |
||||||
|
public R list(Page page, PushUserManage pushUserManage) { |
||||||
|
IPage<PushUserManage> list = iPushUserManageService.page(page, getQueryWrapper(pushUserManage)); |
||||||
|
return R.ok(list.getRecords(), list.getTotal()); |
||||||
|
} |
||||||
|
|
||||||
|
@GetMapping("/{id:\\w+}") |
||||||
|
public R getById(@PathVariable("id") String id) { |
||||||
|
return R.ok(iPushUserManageService.getById(id)); |
||||||
|
} |
||||||
|
|
||||||
|
@PostMapping("/save") |
||||||
|
public R save(@Valid @RequestBody PushUserManage pushUserManage) { |
||||||
|
iPushUserManageService.save(pushUserManage); |
||||||
|
return R.ok(); |
||||||
|
} |
||||||
|
|
||||||
|
@PutMapping("/update") |
||||||
|
public R update(@Valid @RequestBody PushUserManage pushUserManage) { |
||||||
|
iPushUserManageService.updateById(pushUserManage); |
||||||
|
return R.ok(); |
||||||
|
} |
||||||
|
|
||||||
|
@DeleteMapping("/remove/{ids:[\\w,]+}") |
||||||
|
public R<Boolean> removeById(@PathVariable String[] ids) { |
||||||
|
iPushUserManageService.removeByIds(Arrays.asList(ids)); |
||||||
|
return R.ok(); |
||||||
|
} |
||||||
|
|
||||||
|
} |
||||||
|
|
@ -1,73 +0,0 @@ |
|||||||
package com.cloud.kicc.commonbiz.controller; |
|
||||||
|
|
||||||
|
|
||||||
import cn.hutool.core.util.StrUtil; |
|
||||||
import com.baomidou.mybatisplus.core.conditions.query.LambdaQueryWrapper; |
|
||||||
import com.baomidou.mybatisplus.core.metadata.IPage; |
|
||||||
import com.baomidou.mybatisplus.extension.plugins.pagination.Page; |
|
||||||
import com.cloud.kicc.common.core.api.R; |
|
||||||
import com.cloud.kicc.common.core.constant.AppConstants; |
|
||||||
import com.cloud.kicc.commonbiz.api.entity.PushBlacklist; |
|
||||||
import com.cloud.kicc.commonbiz.api.entity.PushWhitelist; |
|
||||||
import com.cloud.kicc.commonbiz.service.IPushBlacklistService; |
|
||||||
import com.cloud.kicc.commonbiz.service.IPushWhitelistService; |
|
||||||
import com.cloud.kicc.system.api.entity.OauthClientDetails; |
|
||||||
import lombok.RequiredArgsConstructor; |
|
||||||
import org.springframework.web.bind.annotation.*; |
|
||||||
|
|
||||||
import org.springframework.stereotype.Controller; |
|
||||||
|
|
||||||
import javax.validation.Valid; |
|
||||||
import java.util.Arrays; |
|
||||||
|
|
||||||
/** |
|
||||||
* <p> |
|
||||||
* 前端控制器 |
|
||||||
* </p> |
|
||||||
* |
|
||||||
* @author wangxiang4 |
|
||||||
* @since 2023-02-16 |
|
||||||
*/ |
|
||||||
@RestController |
|
||||||
@RequestMapping(AppConstants.APP_COMMON + "/pushWhitelist") |
|
||||||
@RequiredArgsConstructor |
|
||||||
public class PushWhitelistController { |
|
||||||
|
|
||||||
private final IPushWhitelistService iPushWhitelistService; |
|
||||||
|
|
||||||
private LambdaQueryWrapper<PushWhitelist> getQueryWrapper(PushWhitelist pushWhitelist) { |
|
||||||
return new LambdaQueryWrapper<PushWhitelist>() |
|
||||||
.eq(StrUtil.isNotBlank(pushWhitelist.getPushId()), PushWhitelist::getPushId, pushWhitelist.getPushId()); |
|
||||||
} |
|
||||||
|
|
||||||
@GetMapping("/list") |
|
||||||
public R list(Page page, PushWhitelist pushWhitelist) { |
|
||||||
IPage<PushWhitelist> list = iPushWhitelistService.page(page, getQueryWrapper(pushWhitelist)); |
|
||||||
return R.ok(list.getRecords(), list.getTotal()); |
|
||||||
} |
|
||||||
|
|
||||||
@GetMapping("/{id:\\w+}") |
|
||||||
public R getById(@PathVariable("id") String id) { |
|
||||||
return R.ok(iPushWhitelistService.getById(id)); |
|
||||||
} |
|
||||||
|
|
||||||
@PostMapping("/save") |
|
||||||
public R save(@Valid @RequestBody PushWhitelist pushWhitelist) { |
|
||||||
iPushWhitelistService.save(pushWhitelist); |
|
||||||
return R.ok(); |
|
||||||
} |
|
||||||
|
|
||||||
@PutMapping("/update") |
|
||||||
public R update(@Valid @RequestBody PushWhitelist pushWhitelist) { |
|
||||||
iPushWhitelistService.updateById(pushWhitelist); |
|
||||||
return R.ok(); |
|
||||||
} |
|
||||||
|
|
||||||
@DeleteMapping("/remove/{ids:[\\w,]+}") |
|
||||||
public R<Boolean> removeById(@PathVariable String[] ids) { |
|
||||||
iPushWhitelistService.removeByIds(Arrays.asList(ids)); |
|
||||||
return R.ok(); |
|
||||||
} |
|
||||||
|
|
||||||
} |
|
||||||
|
|
@ -1,16 +0,0 @@ |
|||||||
package com.cloud.kicc.commonbiz.mapper; |
|
||||||
|
|
||||||
import com.cloud.kicc.commonbiz.api.entity.PushWhitelist; |
|
||||||
import com.baomidou.mybatisplus.core.mapper.BaseMapper; |
|
||||||
|
|
||||||
/** |
|
||||||
* <p> |
|
||||||
* Mapper 接口 |
|
||||||
* </p> |
|
||||||
* |
|
||||||
* @author wangxiang4 |
|
||||||
* @since 2023-02-16 |
|
||||||
*/ |
|
||||||
public interface PushWhitelistMapper extends BaseMapper<PushWhitelist> { |
|
||||||
|
|
||||||
} |
|
@ -1,16 +0,0 @@ |
|||||||
package com.cloud.kicc.commonbiz.service; |
|
||||||
|
|
||||||
import com.cloud.kicc.commonbiz.api.entity.PushWhitelist; |
|
||||||
import com.baomidou.mybatisplus.extension.service.IService; |
|
||||||
|
|
||||||
/** |
|
||||||
* <p> |
|
||||||
* 服务类 |
|
||||||
* </p> |
|
||||||
* |
|
||||||
* @author wangxiang4 |
|
||||||
* @since 2023-02-16 |
|
||||||
*/ |
|
||||||
public interface IPushWhitelistService extends IService<PushWhitelist> { |
|
||||||
|
|
||||||
} |
|
@ -1,20 +0,0 @@ |
|||||||
package com.cloud.kicc.commonbiz.service.impl; |
|
||||||
|
|
||||||
import com.cloud.kicc.commonbiz.api.entity.PushBlacklist; |
|
||||||
import com.cloud.kicc.commonbiz.mapper.PushBlacklistMapper; |
|
||||||
import com.cloud.kicc.commonbiz.service.IPushBlacklistService; |
|
||||||
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl; |
|
||||||
import org.springframework.stereotype.Service; |
|
||||||
|
|
||||||
/** |
|
||||||
* <p> |
|
||||||
* 服务实现类 |
|
||||||
* </p> |
|
||||||
* |
|
||||||
* @author wangxiang4 |
|
||||||
* @since 2023-02-16 |
|
||||||
*/ |
|
||||||
@Service |
|
||||||
public class PushBlacklistServiceImpl extends ServiceImpl<PushBlacklistMapper, PushBlacklist> implements IPushBlacklistService { |
|
||||||
|
|
||||||
} |
|
@ -1,20 +0,0 @@ |
|||||||
package com.cloud.kicc.commonbiz.service.impl; |
|
||||||
|
|
||||||
import com.cloud.kicc.commonbiz.api.entity.PushCertification; |
|
||||||
import com.cloud.kicc.commonbiz.mapper.PushCertificationMapper; |
|
||||||
import com.cloud.kicc.commonbiz.service.IPushCertificationService; |
|
||||||
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl; |
|
||||||
import org.springframework.stereotype.Service; |
|
||||||
|
|
||||||
/** |
|
||||||
* <p> |
|
||||||
* 服务实现类 |
|
||||||
* </p> |
|
||||||
* |
|
||||||
* @author wangxiang4 |
|
||||||
* @since 2023-02-16 |
|
||||||
*/ |
|
||||||
@Service |
|
||||||
public class PushCertificationServiceImpl extends ServiceImpl<PushCertificationMapper, PushCertification> implements IPushCertificationService { |
|
||||||
|
|
||||||
} |
|
@ -0,0 +1,20 @@ |
|||||||
|
package com.cloud.kicc.commonbiz.service.impl; |
||||||
|
|
||||||
|
import com.cloud.kicc.commonbiz.api.entity.PushCustomType; |
||||||
|
import com.cloud.kicc.commonbiz.mapper.PushCustomTypeMapper; |
||||||
|
import com.cloud.kicc.commonbiz.service.IPushCustomTypeService; |
||||||
|
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl; |
||||||
|
import org.springframework.stereotype.Service; |
||||||
|
|
||||||
|
/** |
||||||
|
* <p> |
||||||
|
* 服务实现类 |
||||||
|
* </p> |
||||||
|
* |
||||||
|
* @author wangxiang4 |
||||||
|
* @since 2023-02-16 |
||||||
|
*/ |
||||||
|
@Service |
||||||
|
public class PushCustomTypeServiceImpl extends ServiceImpl<PushCustomTypeMapper, PushCustomType> implements IPushCustomTypeService { |
||||||
|
|
||||||
|
} |
@ -1,22 +0,0 @@ |
|||||||
package com.cloud.kicc.commonbiz.service.impl; |
|
||||||
|
|
||||||
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl; |
|
||||||
import com.cloud.kicc.commonbiz.api.entity.PushManage; |
|
||||||
import com.cloud.kicc.commonbiz.mapper.PushManageMapper; |
|
||||||
import com.cloud.kicc.commonbiz.service.IPushManageService; |
|
||||||
import lombok.RequiredArgsConstructor; |
|
||||||
import org.springframework.stereotype.Service; |
|
||||||
|
|
||||||
/** |
|
||||||
* <p> |
|
||||||
* 服务实现类 |
|
||||||
* </p> |
|
||||||
* |
|
||||||
* @author wangxiang4 |
|
||||||
* @since 2023-02-16 |
|
||||||
*/ |
|
||||||
@Service |
|
||||||
@RequiredArgsConstructor |
|
||||||
public class PushManageServiceImpl extends ServiceImpl<PushManageMapper, PushManage> implements IPushManageService { |
|
||||||
|
|
||||||
} |
|
@ -0,0 +1,20 @@ |
|||||||
|
package com.cloud.kicc.commonbiz.service.impl; |
||||||
|
|
||||||
|
import com.cloud.kicc.commonbiz.api.entity.PushPassList; |
||||||
|
import com.cloud.kicc.commonbiz.mapper.PushPassListMapper; |
||||||
|
import com.cloud.kicc.commonbiz.service.IPushPassListService; |
||||||
|
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl; |
||||||
|
import org.springframework.stereotype.Service; |
||||||
|
|
||||||
|
/** |
||||||
|
* <p> |
||||||
|
* 服务实现类 |
||||||
|
* </p> |
||||||
|
* |
||||||
|
* @author wangxiang4 |
||||||
|
* @since 2023-02-16 |
||||||
|
*/ |
||||||
|
@Service |
||||||
|
public class PushPassListServiceImpl extends ServiceImpl<PushPassListMapper, PushPassList> implements IPushPassListService { |
||||||
|
|
||||||
|
} |
@ -0,0 +1,20 @@ |
|||||||
|
package com.cloud.kicc.commonbiz.service.impl; |
||||||
|
|
||||||
|
import com.cloud.kicc.commonbiz.api.entity.PushThirdPartyManage; |
||||||
|
import com.cloud.kicc.commonbiz.mapper.PushThirdPartyManageMapper; |
||||||
|
import com.cloud.kicc.commonbiz.service.IPushThirdPartyManageService; |
||||||
|
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl; |
||||||
|
import org.springframework.stereotype.Service; |
||||||
|
|
||||||
|
/** |
||||||
|
* <p> |
||||||
|
* 服务实现类 |
||||||
|
* </p> |
||||||
|
* |
||||||
|
* @author wangxiang4 |
||||||
|
* @since 2023-02-16 |
||||||
|
*/ |
||||||
|
@Service |
||||||
|
public class PushThirdPartyManageServiceImpl extends ServiceImpl<PushThirdPartyManageMapper, PushThirdPartyManage> implements IPushThirdPartyManageService { |
||||||
|
|
||||||
|
} |
@ -0,0 +1,20 @@ |
|||||||
|
package com.cloud.kicc.commonbiz.service.impl; |
||||||
|
|
||||||
|
import com.cloud.kicc.commonbiz.api.entity.PushThirdParty; |
||||||
|
import com.cloud.kicc.commonbiz.mapper.PushThirdPartyMapper; |
||||||
|
import com.cloud.kicc.commonbiz.service.IPushThirdPartyService; |
||||||
|
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl; |
||||||
|
import org.springframework.stereotype.Service; |
||||||
|
|
||||||
|
/** |
||||||
|
* <p> |
||||||
|
* 服务实现类 |
||||||
|
* </p> |
||||||
|
* |
||||||
|
* @author wangxiang4 |
||||||
|
* @since 2023-02-16 |
||||||
|
*/ |
||||||
|
@Service |
||||||
|
public class PushThirdPartyServiceImpl extends ServiceImpl<PushThirdPartyMapper, PushThirdParty> implements IPushThirdPartyService { |
||||||
|
|
||||||
|
} |
@ -1,20 +0,0 @@ |
|||||||
package com.cloud.kicc.commonbiz.service.impl; |
|
||||||
|
|
||||||
import com.cloud.kicc.commonbiz.api.entity.PushTodoAuth; |
|
||||||
import com.cloud.kicc.commonbiz.mapper.PushTodoAuthMapper; |
|
||||||
import com.cloud.kicc.commonbiz.service.IPushTodoAuthService; |
|
||||||
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl; |
|
||||||
import org.springframework.stereotype.Service; |
|
||||||
|
|
||||||
/** |
|
||||||
* <p> |
|
||||||
* 服务实现类 |
|
||||||
* </p> |
|
||||||
* |
|
||||||
* @author wangxiang4 |
|
||||||
* @since 2023-02-16 |
|
||||||
*/ |
|
||||||
@Service |
|
||||||
public class PushTodoAuthServiceImpl extends ServiceImpl<PushTodoAuthMapper, PushTodoAuth> implements IPushTodoAuthService { |
|
||||||
|
|
||||||
} |
|
@ -1,20 +0,0 @@ |
|||||||
package com.cloud.kicc.commonbiz.service.impl; |
|
||||||
|
|
||||||
import com.cloud.kicc.commonbiz.api.entity.PushType; |
|
||||||
import com.cloud.kicc.commonbiz.mapper.PushTypeMapper; |
|
||||||
import com.cloud.kicc.commonbiz.service.IPushTypeService; |
|
||||||
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl; |
|
||||||
import org.springframework.stereotype.Service; |
|
||||||
|
|
||||||
/** |
|
||||||
* <p> |
|
||||||
* 服务实现类 |
|
||||||
* </p> |
|
||||||
* |
|
||||||
* @author wangxiang4 |
|
||||||
* @since 2023-02-16 |
|
||||||
*/ |
|
||||||
@Service |
|
||||||
public class PushTypeServiceImpl extends ServiceImpl<PushTypeMapper, PushType> implements IPushTypeService { |
|
||||||
|
|
||||||
} |
|
@ -0,0 +1,20 @@ |
|||||||
|
package com.cloud.kicc.commonbiz.service.impl; |
||||||
|
|
||||||
|
import com.cloud.kicc.commonbiz.api.entity.PushUserManage; |
||||||
|
import com.cloud.kicc.commonbiz.mapper.PushUserManageMapper; |
||||||
|
import com.cloud.kicc.commonbiz.service.IPushUserManageService; |
||||||
|
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl; |
||||||
|
import org.springframework.stereotype.Service; |
||||||
|
|
||||||
|
/** |
||||||
|
* <p> |
||||||
|
* 服务实现类 |
||||||
|
* </p> |
||||||
|
* |
||||||
|
* @author wangxiang4 |
||||||
|
* @since 2023-02-16 |
||||||
|
*/ |
||||||
|
@Service |
||||||
|
public class PushUserManageServiceImpl extends ServiceImpl<PushUserManageMapper, PushUserManage> implements IPushUserManageService { |
||||||
|
|
||||||
|
} |
@ -1,20 +0,0 @@ |
|||||||
package com.cloud.kicc.commonbiz.service.impl; |
|
||||||
|
|
||||||
import com.cloud.kicc.commonbiz.api.entity.PushWhitelist; |
|
||||||
import com.cloud.kicc.commonbiz.mapper.PushWhitelistMapper; |
|
||||||
import com.cloud.kicc.commonbiz.service.IPushWhitelistService; |
|
||||||
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl; |
|
||||||
import org.springframework.stereotype.Service; |
|
||||||
|
|
||||||
/** |
|
||||||
* <p> |
|
||||||
* 服务实现类 |
|
||||||
* </p> |
|
||||||
* |
|
||||||
* @author wangxiang4 |
|
||||||
* @since 2023-02-16 |
|
||||||
*/ |
|
||||||
@Service |
|
||||||
public class PushWhitelistServiceImpl extends ServiceImpl<PushWhitelistMapper, PushWhitelist> implements IPushWhitelistService { |
|
||||||
|
|
||||||
} |
|
@ -0,0 +1,5 @@ |
|||||||
|
<?xml version="1.0" encoding="UTF-8"?> |
||||||
|
<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd"> |
||||||
|
<mapper namespace="com.cloud.kicc.commonbiz.mapper.PushCustomTypeMapper"> |
||||||
|
|
||||||
|
</mapper> |
@ -1,5 +1,5 @@ |
|||||||
<?xml version="1.0" encoding="UTF-8"?> |
<?xml version="1.0" encoding="UTF-8"?> |
||||||
<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd"> |
<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd"> |
||||||
<mapper namespace="com.cloud.kicc.commonbiz.mapper.PushBlacklistMapper"> |
<mapper namespace="com.cloud.kicc.commonbiz.mapper.PushPassListMapper"> |
||||||
|
|
||||||
</mapper> |
</mapper> |
@ -0,0 +1,5 @@ |
|||||||
|
<?xml version="1.0" encoding="UTF-8"?> |
||||||
|
<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd"> |
||||||
|
<mapper namespace="com.cloud.kicc.commonbiz.mapper.PushThirdPartyManageMapper"> |
||||||
|
|
||||||
|
</mapper> |
@ -0,0 +1,5 @@ |
|||||||
|
<?xml version="1.0" encoding="UTF-8"?> |
||||||
|
<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd"> |
||||||
|
<mapper namespace="com.cloud.kicc.commonbiz.mapper.PushThirdPartyMapper"> |
||||||
|
|
||||||
|
</mapper> |
@ -0,0 +1,5 @@ |
|||||||
|
<?xml version="1.0" encoding="UTF-8"?> |
||||||
|
<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd"> |
||||||
|
<mapper namespace="com.cloud.kicc.commonbiz.mapper.PushUserManageMapper"> |
||||||
|
|
||||||
|
</mapper> |
Loading…
Reference in new issue