feat(credit): 添加行政许可、破产重整和分支机构管理功能
- 创建了CreditAdministrativeLicense实体类及对应的Controller、Service、Mapper和XML映射文件 - 创建了CreditBankruptcy实体类及对应的Controller、Service、Mapper和XML映射文件 - 创建了CreditBranch实体类及对应的Controller、Service、Mapper和XML映射文件 - 实现了分页查询、列表查询、详情查询、新增、修改、删除等基础CRUD功能 - 添加了批量操作功能包括批量新增、批量修改和批量删除 - 集成了权限控制和操作日志功能 - 实现了关联查询和排序功能 - 添加了完整的参数验证和查询条件支持
This commit is contained in:
@@ -0,0 +1,124 @@
|
||||
package com.gxwebsoft.credit.controller;
|
||||
|
||||
import com.gxwebsoft.common.core.annotation.OperationLog;
|
||||
import com.gxwebsoft.common.core.web.ApiResult;
|
||||
import com.gxwebsoft.common.core.web.BaseController;
|
||||
import com.gxwebsoft.common.core.web.BatchParam;
|
||||
import com.gxwebsoft.common.core.web.PageResult;
|
||||
import com.gxwebsoft.credit.entity.CreditAdministrativeLicense;
|
||||
import com.gxwebsoft.credit.param.CreditAdministrativeLicenseParam;
|
||||
import com.gxwebsoft.credit.service.CreditAdministrativeLicenseService;
|
||||
import io.swagger.v3.oas.annotations.Operation;
|
||||
import io.swagger.v3.oas.annotations.tags.Tag;
|
||||
import org.springframework.security.access.prepost.PreAuthorize;
|
||||
import org.springframework.web.bind.annotation.*;
|
||||
|
||||
import javax.annotation.Resource;
|
||||
import java.util.List;
|
||||
|
||||
/**
|
||||
* 行政许可控制器
|
||||
*
|
||||
* @author 科技小王子
|
||||
* @since 2026-01-07 13:52:14
|
||||
*/
|
||||
@Tag(name = "行政许可管理")
|
||||
@RestController
|
||||
@RequestMapping("/api/credit/credit-administrative-license")
|
||||
public class CreditAdministrativeLicenseController extends BaseController {
|
||||
@Resource
|
||||
private CreditAdministrativeLicenseService creditAdministrativeLicenseService;
|
||||
|
||||
@Operation(summary = "分页查询行政许可")
|
||||
@GetMapping("/page")
|
||||
public ApiResult<PageResult<CreditAdministrativeLicense>> page(CreditAdministrativeLicenseParam param) {
|
||||
// 使用关联查询
|
||||
return success(creditAdministrativeLicenseService.pageRel(param));
|
||||
}
|
||||
|
||||
@Operation(summary = "查询全部行政许可")
|
||||
@GetMapping()
|
||||
public ApiResult<List<CreditAdministrativeLicense>> list(CreditAdministrativeLicenseParam param) {
|
||||
// 使用关联查询
|
||||
return success(creditAdministrativeLicenseService.listRel(param));
|
||||
}
|
||||
|
||||
@Operation(summary = "根据id查询行政许可")
|
||||
@GetMapping("/{id}")
|
||||
public ApiResult<CreditAdministrativeLicense> get(@PathVariable("id") Integer id) {
|
||||
// 使用关联查询
|
||||
return success(creditAdministrativeLicenseService.getByIdRel(id));
|
||||
}
|
||||
|
||||
@PreAuthorize("hasAuthority('credit:creditAdministrativeLicense:save')")
|
||||
@OperationLog
|
||||
@Operation(summary = "添加行政许可")
|
||||
@PostMapping()
|
||||
public ApiResult<?> save(@RequestBody CreditAdministrativeLicense creditAdministrativeLicense) {
|
||||
// 记录当前登录用户id
|
||||
// User loginUser = getLoginUser();
|
||||
// if (loginUser != null) {
|
||||
// creditAdministrativeLicense.setUserId(loginUser.getUserId());
|
||||
// }
|
||||
if (creditAdministrativeLicenseService.save(creditAdministrativeLicense)) {
|
||||
return success("添加成功");
|
||||
}
|
||||
return fail("添加失败");
|
||||
}
|
||||
|
||||
@PreAuthorize("hasAuthority('credit:creditAdministrativeLicense:update')")
|
||||
@OperationLog
|
||||
@Operation(summary = "修改行政许可")
|
||||
@PutMapping()
|
||||
public ApiResult<?> update(@RequestBody CreditAdministrativeLicense creditAdministrativeLicense) {
|
||||
if (creditAdministrativeLicenseService.updateById(creditAdministrativeLicense)) {
|
||||
return success("修改成功");
|
||||
}
|
||||
return fail("修改失败");
|
||||
}
|
||||
|
||||
@PreAuthorize("hasAuthority('credit:creditAdministrativeLicense:remove')")
|
||||
@OperationLog
|
||||
@Operation(summary = "删除行政许可")
|
||||
@DeleteMapping("/{id}")
|
||||
public ApiResult<?> remove(@PathVariable("id") Integer id) {
|
||||
if (creditAdministrativeLicenseService.removeById(id)) {
|
||||
return success("删除成功");
|
||||
}
|
||||
return fail("删除失败");
|
||||
}
|
||||
|
||||
@PreAuthorize("hasAuthority('credit:creditAdministrativeLicense:save')")
|
||||
@OperationLog
|
||||
@Operation(summary = "批量添加行政许可")
|
||||
@PostMapping("/batch")
|
||||
public ApiResult<?> saveBatch(@RequestBody List<CreditAdministrativeLicense> list) {
|
||||
if (creditAdministrativeLicenseService.saveBatch(list)) {
|
||||
return success("添加成功");
|
||||
}
|
||||
return fail("添加失败");
|
||||
}
|
||||
|
||||
@PreAuthorize("hasAuthority('credit:creditAdministrativeLicense:update')")
|
||||
@OperationLog
|
||||
@Operation(summary = "批量修改行政许可")
|
||||
@PutMapping("/batch")
|
||||
public ApiResult<?> removeBatch(@RequestBody BatchParam<CreditAdministrativeLicense> batchParam) {
|
||||
if (batchParam.update(creditAdministrativeLicenseService, "id")) {
|
||||
return success("修改成功");
|
||||
}
|
||||
return fail("修改失败");
|
||||
}
|
||||
|
||||
@PreAuthorize("hasAuthority('credit:creditAdministrativeLicense:remove')")
|
||||
@OperationLog
|
||||
@Operation(summary = "批量删除行政许可")
|
||||
@DeleteMapping("/batch")
|
||||
public ApiResult<?> removeBatch(@RequestBody List<Integer> ids) {
|
||||
if (creditAdministrativeLicenseService.removeByIds(ids)) {
|
||||
return success("删除成功");
|
||||
}
|
||||
return fail("删除失败");
|
||||
}
|
||||
|
||||
}
|
||||
@@ -0,0 +1,124 @@
|
||||
package com.gxwebsoft.credit.controller;
|
||||
|
||||
import com.gxwebsoft.common.core.annotation.OperationLog;
|
||||
import com.gxwebsoft.common.core.web.ApiResult;
|
||||
import com.gxwebsoft.common.core.web.BaseController;
|
||||
import com.gxwebsoft.common.core.web.BatchParam;
|
||||
import com.gxwebsoft.common.core.web.PageResult;
|
||||
import com.gxwebsoft.credit.entity.CreditBankruptcy;
|
||||
import com.gxwebsoft.credit.param.CreditBankruptcyParam;
|
||||
import com.gxwebsoft.credit.service.CreditBankruptcyService;
|
||||
import io.swagger.v3.oas.annotations.Operation;
|
||||
import io.swagger.v3.oas.annotations.tags.Tag;
|
||||
import org.springframework.security.access.prepost.PreAuthorize;
|
||||
import org.springframework.web.bind.annotation.*;
|
||||
|
||||
import javax.annotation.Resource;
|
||||
import java.util.List;
|
||||
|
||||
/**
|
||||
* 破产重整控制器
|
||||
*
|
||||
* @author 科技小王子
|
||||
* @since 2026-01-07 13:52:14
|
||||
*/
|
||||
@Tag(name = "破产重整管理")
|
||||
@RestController
|
||||
@RequestMapping("/api/credit/credit-bankruptcy")
|
||||
public class CreditBankruptcyController extends BaseController {
|
||||
@Resource
|
||||
private CreditBankruptcyService creditBankruptcyService;
|
||||
|
||||
@Operation(summary = "分页查询破产重整")
|
||||
@GetMapping("/page")
|
||||
public ApiResult<PageResult<CreditBankruptcy>> page(CreditBankruptcyParam param) {
|
||||
// 使用关联查询
|
||||
return success(creditBankruptcyService.pageRel(param));
|
||||
}
|
||||
|
||||
@Operation(summary = "查询全部破产重整")
|
||||
@GetMapping()
|
||||
public ApiResult<List<CreditBankruptcy>> list(CreditBankruptcyParam param) {
|
||||
// 使用关联查询
|
||||
return success(creditBankruptcyService.listRel(param));
|
||||
}
|
||||
|
||||
@Operation(summary = "根据id查询破产重整")
|
||||
@GetMapping("/{id}")
|
||||
public ApiResult<CreditBankruptcy> get(@PathVariable("id") Integer id) {
|
||||
// 使用关联查询
|
||||
return success(creditBankruptcyService.getByIdRel(id));
|
||||
}
|
||||
|
||||
@PreAuthorize("hasAuthority('credit:creditBankruptcy:save')")
|
||||
@OperationLog
|
||||
@Operation(summary = "添加破产重整")
|
||||
@PostMapping()
|
||||
public ApiResult<?> save(@RequestBody CreditBankruptcy creditBankruptcy) {
|
||||
// 记录当前登录用户id
|
||||
// User loginUser = getLoginUser();
|
||||
// if (loginUser != null) {
|
||||
// creditBankruptcy.setUserId(loginUser.getUserId());
|
||||
// }
|
||||
if (creditBankruptcyService.save(creditBankruptcy)) {
|
||||
return success("添加成功");
|
||||
}
|
||||
return fail("添加失败");
|
||||
}
|
||||
|
||||
@PreAuthorize("hasAuthority('credit:creditBankruptcy:update')")
|
||||
@OperationLog
|
||||
@Operation(summary = "修改破产重整")
|
||||
@PutMapping()
|
||||
public ApiResult<?> update(@RequestBody CreditBankruptcy creditBankruptcy) {
|
||||
if (creditBankruptcyService.updateById(creditBankruptcy)) {
|
||||
return success("修改成功");
|
||||
}
|
||||
return fail("修改失败");
|
||||
}
|
||||
|
||||
@PreAuthorize("hasAuthority('credit:creditBankruptcy:remove')")
|
||||
@OperationLog
|
||||
@Operation(summary = "删除破产重整")
|
||||
@DeleteMapping("/{id}")
|
||||
public ApiResult<?> remove(@PathVariable("id") Integer id) {
|
||||
if (creditBankruptcyService.removeById(id)) {
|
||||
return success("删除成功");
|
||||
}
|
||||
return fail("删除失败");
|
||||
}
|
||||
|
||||
@PreAuthorize("hasAuthority('credit:creditBankruptcy:save')")
|
||||
@OperationLog
|
||||
@Operation(summary = "批量添加破产重整")
|
||||
@PostMapping("/batch")
|
||||
public ApiResult<?> saveBatch(@RequestBody List<CreditBankruptcy> list) {
|
||||
if (creditBankruptcyService.saveBatch(list)) {
|
||||
return success("添加成功");
|
||||
}
|
||||
return fail("添加失败");
|
||||
}
|
||||
|
||||
@PreAuthorize("hasAuthority('credit:creditBankruptcy:update')")
|
||||
@OperationLog
|
||||
@Operation(summary = "批量修改破产重整")
|
||||
@PutMapping("/batch")
|
||||
public ApiResult<?> removeBatch(@RequestBody BatchParam<CreditBankruptcy> batchParam) {
|
||||
if (batchParam.update(creditBankruptcyService, "id")) {
|
||||
return success("修改成功");
|
||||
}
|
||||
return fail("修改失败");
|
||||
}
|
||||
|
||||
@PreAuthorize("hasAuthority('credit:creditBankruptcy:remove')")
|
||||
@OperationLog
|
||||
@Operation(summary = "批量删除破产重整")
|
||||
@DeleteMapping("/batch")
|
||||
public ApiResult<?> removeBatch(@RequestBody List<Integer> ids) {
|
||||
if (creditBankruptcyService.removeByIds(ids)) {
|
||||
return success("删除成功");
|
||||
}
|
||||
return fail("删除失败");
|
||||
}
|
||||
|
||||
}
|
||||
@@ -0,0 +1,124 @@
|
||||
package com.gxwebsoft.credit.controller;
|
||||
|
||||
import com.gxwebsoft.common.core.annotation.OperationLog;
|
||||
import com.gxwebsoft.common.core.web.ApiResult;
|
||||
import com.gxwebsoft.common.core.web.BaseController;
|
||||
import com.gxwebsoft.common.core.web.BatchParam;
|
||||
import com.gxwebsoft.common.core.web.PageResult;
|
||||
import com.gxwebsoft.credit.entity.CreditBranch;
|
||||
import com.gxwebsoft.credit.param.CreditBranchParam;
|
||||
import com.gxwebsoft.credit.service.CreditBranchService;
|
||||
import io.swagger.v3.oas.annotations.Operation;
|
||||
import io.swagger.v3.oas.annotations.tags.Tag;
|
||||
import org.springframework.security.access.prepost.PreAuthorize;
|
||||
import org.springframework.web.bind.annotation.*;
|
||||
|
||||
import javax.annotation.Resource;
|
||||
import java.util.List;
|
||||
|
||||
/**
|
||||
* 分支机构控制器
|
||||
*
|
||||
* @author 科技小王子
|
||||
* @since 2026-01-07 13:52:14
|
||||
*/
|
||||
@Tag(name = "分支机构管理")
|
||||
@RestController
|
||||
@RequestMapping("/api/credit/credit-branch")
|
||||
public class CreditBranchController extends BaseController {
|
||||
@Resource
|
||||
private CreditBranchService creditBranchService;
|
||||
|
||||
@Operation(summary = "分页查询分支机构")
|
||||
@GetMapping("/page")
|
||||
public ApiResult<PageResult<CreditBranch>> page(CreditBranchParam param) {
|
||||
// 使用关联查询
|
||||
return success(creditBranchService.pageRel(param));
|
||||
}
|
||||
|
||||
@Operation(summary = "查询全部分支机构")
|
||||
@GetMapping()
|
||||
public ApiResult<List<CreditBranch>> list(CreditBranchParam param) {
|
||||
// 使用关联查询
|
||||
return success(creditBranchService.listRel(param));
|
||||
}
|
||||
|
||||
@Operation(summary = "根据id查询分支机构")
|
||||
@GetMapping("/{id}")
|
||||
public ApiResult<CreditBranch> get(@PathVariable("id") Integer id) {
|
||||
// 使用关联查询
|
||||
return success(creditBranchService.getByIdRel(id));
|
||||
}
|
||||
|
||||
@PreAuthorize("hasAuthority('credit:creditBranch:save')")
|
||||
@OperationLog
|
||||
@Operation(summary = "添加分支机构")
|
||||
@PostMapping()
|
||||
public ApiResult<?> save(@RequestBody CreditBranch creditBranch) {
|
||||
// 记录当前登录用户id
|
||||
// User loginUser = getLoginUser();
|
||||
// if (loginUser != null) {
|
||||
// creditBranch.setUserId(loginUser.getUserId());
|
||||
// }
|
||||
if (creditBranchService.save(creditBranch)) {
|
||||
return success("添加成功");
|
||||
}
|
||||
return fail("添加失败");
|
||||
}
|
||||
|
||||
@PreAuthorize("hasAuthority('credit:creditBranch:update')")
|
||||
@OperationLog
|
||||
@Operation(summary = "修改分支机构")
|
||||
@PutMapping()
|
||||
public ApiResult<?> update(@RequestBody CreditBranch creditBranch) {
|
||||
if (creditBranchService.updateById(creditBranch)) {
|
||||
return success("修改成功");
|
||||
}
|
||||
return fail("修改失败");
|
||||
}
|
||||
|
||||
@PreAuthorize("hasAuthority('credit:creditBranch:remove')")
|
||||
@OperationLog
|
||||
@Operation(summary = "删除分支机构")
|
||||
@DeleteMapping("/{id}")
|
||||
public ApiResult<?> remove(@PathVariable("id") Integer id) {
|
||||
if (creditBranchService.removeById(id)) {
|
||||
return success("删除成功");
|
||||
}
|
||||
return fail("删除失败");
|
||||
}
|
||||
|
||||
@PreAuthorize("hasAuthority('credit:creditBranch:save')")
|
||||
@OperationLog
|
||||
@Operation(summary = "批量添加分支机构")
|
||||
@PostMapping("/batch")
|
||||
public ApiResult<?> saveBatch(@RequestBody List<CreditBranch> list) {
|
||||
if (creditBranchService.saveBatch(list)) {
|
||||
return success("添加成功");
|
||||
}
|
||||
return fail("添加失败");
|
||||
}
|
||||
|
||||
@PreAuthorize("hasAuthority('credit:creditBranch:update')")
|
||||
@OperationLog
|
||||
@Operation(summary = "批量修改分支机构")
|
||||
@PutMapping("/batch")
|
||||
public ApiResult<?> removeBatch(@RequestBody BatchParam<CreditBranch> batchParam) {
|
||||
if (batchParam.update(creditBranchService, "id")) {
|
||||
return success("修改成功");
|
||||
}
|
||||
return fail("修改失败");
|
||||
}
|
||||
|
||||
@PreAuthorize("hasAuthority('credit:creditBranch:remove')")
|
||||
@OperationLog
|
||||
@Operation(summary = "批量删除分支机构")
|
||||
@DeleteMapping("/batch")
|
||||
public ApiResult<?> removeBatch(@RequestBody List<Integer> ids) {
|
||||
if (creditBranchService.removeByIds(ids)) {
|
||||
return success("删除成功");
|
||||
}
|
||||
return fail("删除失败");
|
||||
}
|
||||
|
||||
}
|
||||
@@ -0,0 +1,124 @@
|
||||
package com.gxwebsoft.credit.controller;
|
||||
|
||||
import com.gxwebsoft.common.core.annotation.OperationLog;
|
||||
import com.gxwebsoft.common.core.web.ApiResult;
|
||||
import com.gxwebsoft.common.core.web.BaseController;
|
||||
import com.gxwebsoft.common.core.web.BatchParam;
|
||||
import com.gxwebsoft.common.core.web.PageResult;
|
||||
import com.gxwebsoft.credit.entity.CreditHistoricalLegalPerson;
|
||||
import com.gxwebsoft.credit.param.CreditHistoricalLegalPersonParam;
|
||||
import com.gxwebsoft.credit.service.CreditHistoricalLegalPersonService;
|
||||
import io.swagger.v3.oas.annotations.Operation;
|
||||
import io.swagger.v3.oas.annotations.tags.Tag;
|
||||
import org.springframework.security.access.prepost.PreAuthorize;
|
||||
import org.springframework.web.bind.annotation.*;
|
||||
|
||||
import javax.annotation.Resource;
|
||||
import java.util.List;
|
||||
|
||||
/**
|
||||
* 历史法定代表人控制器
|
||||
*
|
||||
* @author 科技小王子
|
||||
* @since 2026-01-07 13:52:14
|
||||
*/
|
||||
@Tag(name = "历史法定代表人管理")
|
||||
@RestController
|
||||
@RequestMapping("/api/credit/credit-historical-legal-person")
|
||||
public class CreditHistoricalLegalPersonController extends BaseController {
|
||||
@Resource
|
||||
private CreditHistoricalLegalPersonService creditHistoricalLegalPersonService;
|
||||
|
||||
@Operation(summary = "分页查询历史法定代表人")
|
||||
@GetMapping("/page")
|
||||
public ApiResult<PageResult<CreditHistoricalLegalPerson>> page(CreditHistoricalLegalPersonParam param) {
|
||||
// 使用关联查询
|
||||
return success(creditHistoricalLegalPersonService.pageRel(param));
|
||||
}
|
||||
|
||||
@Operation(summary = "查询全部历史法定代表人")
|
||||
@GetMapping()
|
||||
public ApiResult<List<CreditHistoricalLegalPerson>> list(CreditHistoricalLegalPersonParam param) {
|
||||
// 使用关联查询
|
||||
return success(creditHistoricalLegalPersonService.listRel(param));
|
||||
}
|
||||
|
||||
@Operation(summary = "根据id查询历史法定代表人")
|
||||
@GetMapping("/{id}")
|
||||
public ApiResult<CreditHistoricalLegalPerson> get(@PathVariable("id") Integer id) {
|
||||
// 使用关联查询
|
||||
return success(creditHistoricalLegalPersonService.getByIdRel(id));
|
||||
}
|
||||
|
||||
@PreAuthorize("hasAuthority('credit:creditHistoricalLegalPerson:save')")
|
||||
@OperationLog
|
||||
@Operation(summary = "添加历史法定代表人")
|
||||
@PostMapping()
|
||||
public ApiResult<?> save(@RequestBody CreditHistoricalLegalPerson creditHistoricalLegalPerson) {
|
||||
// 记录当前登录用户id
|
||||
// User loginUser = getLoginUser();
|
||||
// if (loginUser != null) {
|
||||
// creditHistoricalLegalPerson.setUserId(loginUser.getUserId());
|
||||
// }
|
||||
if (creditHistoricalLegalPersonService.save(creditHistoricalLegalPerson)) {
|
||||
return success("添加成功");
|
||||
}
|
||||
return fail("添加失败");
|
||||
}
|
||||
|
||||
@PreAuthorize("hasAuthority('credit:creditHistoricalLegalPerson:update')")
|
||||
@OperationLog
|
||||
@Operation(summary = "修改历史法定代表人")
|
||||
@PutMapping()
|
||||
public ApiResult<?> update(@RequestBody CreditHistoricalLegalPerson creditHistoricalLegalPerson) {
|
||||
if (creditHistoricalLegalPersonService.updateById(creditHistoricalLegalPerson)) {
|
||||
return success("修改成功");
|
||||
}
|
||||
return fail("修改失败");
|
||||
}
|
||||
|
||||
@PreAuthorize("hasAuthority('credit:creditHistoricalLegalPerson:remove')")
|
||||
@OperationLog
|
||||
@Operation(summary = "删除历史法定代表人")
|
||||
@DeleteMapping("/{id}")
|
||||
public ApiResult<?> remove(@PathVariable("id") Integer id) {
|
||||
if (creditHistoricalLegalPersonService.removeById(id)) {
|
||||
return success("删除成功");
|
||||
}
|
||||
return fail("删除失败");
|
||||
}
|
||||
|
||||
@PreAuthorize("hasAuthority('credit:creditHistoricalLegalPerson:save')")
|
||||
@OperationLog
|
||||
@Operation(summary = "批量添加历史法定代表人")
|
||||
@PostMapping("/batch")
|
||||
public ApiResult<?> saveBatch(@RequestBody List<CreditHistoricalLegalPerson> list) {
|
||||
if (creditHistoricalLegalPersonService.saveBatch(list)) {
|
||||
return success("添加成功");
|
||||
}
|
||||
return fail("添加失败");
|
||||
}
|
||||
|
||||
@PreAuthorize("hasAuthority('credit:creditHistoricalLegalPerson:update')")
|
||||
@OperationLog
|
||||
@Operation(summary = "批量修改历史法定代表人")
|
||||
@PutMapping("/batch")
|
||||
public ApiResult<?> removeBatch(@RequestBody BatchParam<CreditHistoricalLegalPerson> batchParam) {
|
||||
if (batchParam.update(creditHistoricalLegalPersonService, "id")) {
|
||||
return success("修改成功");
|
||||
}
|
||||
return fail("修改失败");
|
||||
}
|
||||
|
||||
@PreAuthorize("hasAuthority('credit:creditHistoricalLegalPerson:remove')")
|
||||
@OperationLog
|
||||
@Operation(summary = "批量删除历史法定代表人")
|
||||
@DeleteMapping("/batch")
|
||||
public ApiResult<?> removeBatch(@RequestBody List<Integer> ids) {
|
||||
if (creditHistoricalLegalPersonService.removeByIds(ids)) {
|
||||
return success("删除成功");
|
||||
}
|
||||
return fail("删除失败");
|
||||
}
|
||||
|
||||
}
|
||||
@@ -0,0 +1,124 @@
|
||||
package com.gxwebsoft.credit.controller;
|
||||
|
||||
import com.gxwebsoft.common.core.annotation.OperationLog;
|
||||
import com.gxwebsoft.common.core.web.ApiResult;
|
||||
import com.gxwebsoft.common.core.web.BaseController;
|
||||
import com.gxwebsoft.common.core.web.BatchParam;
|
||||
import com.gxwebsoft.common.core.web.PageResult;
|
||||
import com.gxwebsoft.credit.entity.CreditNearbyCompany;
|
||||
import com.gxwebsoft.credit.param.CreditNearbyCompanyParam;
|
||||
import com.gxwebsoft.credit.service.CreditNearbyCompanyService;
|
||||
import io.swagger.v3.oas.annotations.Operation;
|
||||
import io.swagger.v3.oas.annotations.tags.Tag;
|
||||
import org.springframework.security.access.prepost.PreAuthorize;
|
||||
import org.springframework.web.bind.annotation.*;
|
||||
|
||||
import javax.annotation.Resource;
|
||||
import java.util.List;
|
||||
|
||||
/**
|
||||
* 附近企业控制器
|
||||
*
|
||||
* @author 科技小王子
|
||||
* @since 2026-01-07 13:52:14
|
||||
*/
|
||||
@Tag(name = "附近企业管理")
|
||||
@RestController
|
||||
@RequestMapping("/api/credit/credit-nearby-company")
|
||||
public class CreditNearbyCompanyController extends BaseController {
|
||||
@Resource
|
||||
private CreditNearbyCompanyService creditNearbyCompanyService;
|
||||
|
||||
@Operation(summary = "分页查询附近企业")
|
||||
@GetMapping("/page")
|
||||
public ApiResult<PageResult<CreditNearbyCompany>> page(CreditNearbyCompanyParam param) {
|
||||
// 使用关联查询
|
||||
return success(creditNearbyCompanyService.pageRel(param));
|
||||
}
|
||||
|
||||
@Operation(summary = "查询全部附近企业")
|
||||
@GetMapping()
|
||||
public ApiResult<List<CreditNearbyCompany>> list(CreditNearbyCompanyParam param) {
|
||||
// 使用关联查询
|
||||
return success(creditNearbyCompanyService.listRel(param));
|
||||
}
|
||||
|
||||
@Operation(summary = "根据id查询附近企业")
|
||||
@GetMapping("/{id}")
|
||||
public ApiResult<CreditNearbyCompany> get(@PathVariable("id") Integer id) {
|
||||
// 使用关联查询
|
||||
return success(creditNearbyCompanyService.getByIdRel(id));
|
||||
}
|
||||
|
||||
@PreAuthorize("hasAuthority('credit:creditNearbyCompany:save')")
|
||||
@OperationLog
|
||||
@Operation(summary = "添加附近企业")
|
||||
@PostMapping()
|
||||
public ApiResult<?> save(@RequestBody CreditNearbyCompany creditNearbyCompany) {
|
||||
// 记录当前登录用户id
|
||||
// User loginUser = getLoginUser();
|
||||
// if (loginUser != null) {
|
||||
// creditNearbyCompany.setUserId(loginUser.getUserId());
|
||||
// }
|
||||
if (creditNearbyCompanyService.save(creditNearbyCompany)) {
|
||||
return success("添加成功");
|
||||
}
|
||||
return fail("添加失败");
|
||||
}
|
||||
|
||||
@PreAuthorize("hasAuthority('credit:creditNearbyCompany:update')")
|
||||
@OperationLog
|
||||
@Operation(summary = "修改附近企业")
|
||||
@PutMapping()
|
||||
public ApiResult<?> update(@RequestBody CreditNearbyCompany creditNearbyCompany) {
|
||||
if (creditNearbyCompanyService.updateById(creditNearbyCompany)) {
|
||||
return success("修改成功");
|
||||
}
|
||||
return fail("修改失败");
|
||||
}
|
||||
|
||||
@PreAuthorize("hasAuthority('credit:creditNearbyCompany:remove')")
|
||||
@OperationLog
|
||||
@Operation(summary = "删除附近企业")
|
||||
@DeleteMapping("/{id}")
|
||||
public ApiResult<?> remove(@PathVariable("id") Integer id) {
|
||||
if (creditNearbyCompanyService.removeById(id)) {
|
||||
return success("删除成功");
|
||||
}
|
||||
return fail("删除失败");
|
||||
}
|
||||
|
||||
@PreAuthorize("hasAuthority('credit:creditNearbyCompany:save')")
|
||||
@OperationLog
|
||||
@Operation(summary = "批量添加附近企业")
|
||||
@PostMapping("/batch")
|
||||
public ApiResult<?> saveBatch(@RequestBody List<CreditNearbyCompany> list) {
|
||||
if (creditNearbyCompanyService.saveBatch(list)) {
|
||||
return success("添加成功");
|
||||
}
|
||||
return fail("添加失败");
|
||||
}
|
||||
|
||||
@PreAuthorize("hasAuthority('credit:creditNearbyCompany:update')")
|
||||
@OperationLog
|
||||
@Operation(summary = "批量修改附近企业")
|
||||
@PutMapping("/batch")
|
||||
public ApiResult<?> removeBatch(@RequestBody BatchParam<CreditNearbyCompany> batchParam) {
|
||||
if (batchParam.update(creditNearbyCompanyService, "id")) {
|
||||
return success("修改成功");
|
||||
}
|
||||
return fail("修改失败");
|
||||
}
|
||||
|
||||
@PreAuthorize("hasAuthority('credit:creditNearbyCompany:remove')")
|
||||
@OperationLog
|
||||
@Operation(summary = "批量删除附近企业")
|
||||
@DeleteMapping("/batch")
|
||||
public ApiResult<?> removeBatch(@RequestBody List<Integer> ids) {
|
||||
if (creditNearbyCompanyService.removeByIds(ids)) {
|
||||
return success("删除成功");
|
||||
}
|
||||
return fail("删除失败");
|
||||
}
|
||||
|
||||
}
|
||||
@@ -0,0 +1,124 @@
|
||||
package com.gxwebsoft.credit.controller;
|
||||
|
||||
import com.gxwebsoft.common.core.annotation.OperationLog;
|
||||
import com.gxwebsoft.common.core.web.ApiResult;
|
||||
import com.gxwebsoft.common.core.web.BaseController;
|
||||
import com.gxwebsoft.common.core.web.BatchParam;
|
||||
import com.gxwebsoft.common.core.web.PageResult;
|
||||
import com.gxwebsoft.credit.entity.CreditPatent;
|
||||
import com.gxwebsoft.credit.param.CreditPatentParam;
|
||||
import com.gxwebsoft.credit.service.CreditPatentService;
|
||||
import io.swagger.v3.oas.annotations.Operation;
|
||||
import io.swagger.v3.oas.annotations.tags.Tag;
|
||||
import org.springframework.security.access.prepost.PreAuthorize;
|
||||
import org.springframework.web.bind.annotation.*;
|
||||
|
||||
import javax.annotation.Resource;
|
||||
import java.util.List;
|
||||
|
||||
/**
|
||||
* 专利控制器
|
||||
*
|
||||
* @author 科技小王子
|
||||
* @since 2026-01-07 13:52:14
|
||||
*/
|
||||
@Tag(name = "专利管理")
|
||||
@RestController
|
||||
@RequestMapping("/api/credit/credit-patent")
|
||||
public class CreditPatentController extends BaseController {
|
||||
@Resource
|
||||
private CreditPatentService creditPatentService;
|
||||
|
||||
@Operation(summary = "分页查询专利")
|
||||
@GetMapping("/page")
|
||||
public ApiResult<PageResult<CreditPatent>> page(CreditPatentParam param) {
|
||||
// 使用关联查询
|
||||
return success(creditPatentService.pageRel(param));
|
||||
}
|
||||
|
||||
@Operation(summary = "查询全部专利")
|
||||
@GetMapping()
|
||||
public ApiResult<List<CreditPatent>> list(CreditPatentParam param) {
|
||||
// 使用关联查询
|
||||
return success(creditPatentService.listRel(param));
|
||||
}
|
||||
|
||||
@Operation(summary = "根据id查询专利")
|
||||
@GetMapping("/{id}")
|
||||
public ApiResult<CreditPatent> get(@PathVariable("id") Integer id) {
|
||||
// 使用关联查询
|
||||
return success(creditPatentService.getByIdRel(id));
|
||||
}
|
||||
|
||||
@PreAuthorize("hasAuthority('credit:creditPatent:save')")
|
||||
@OperationLog
|
||||
@Operation(summary = "添加专利")
|
||||
@PostMapping()
|
||||
public ApiResult<?> save(@RequestBody CreditPatent creditPatent) {
|
||||
// 记录当前登录用户id
|
||||
// User loginUser = getLoginUser();
|
||||
// if (loginUser != null) {
|
||||
// creditPatent.setUserId(loginUser.getUserId());
|
||||
// }
|
||||
if (creditPatentService.save(creditPatent)) {
|
||||
return success("添加成功");
|
||||
}
|
||||
return fail("添加失败");
|
||||
}
|
||||
|
||||
@PreAuthorize("hasAuthority('credit:creditPatent:update')")
|
||||
@OperationLog
|
||||
@Operation(summary = "修改专利")
|
||||
@PutMapping()
|
||||
public ApiResult<?> update(@RequestBody CreditPatent creditPatent) {
|
||||
if (creditPatentService.updateById(creditPatent)) {
|
||||
return success("修改成功");
|
||||
}
|
||||
return fail("修改失败");
|
||||
}
|
||||
|
||||
@PreAuthorize("hasAuthority('credit:creditPatent:remove')")
|
||||
@OperationLog
|
||||
@Operation(summary = "删除专利")
|
||||
@DeleteMapping("/{id}")
|
||||
public ApiResult<?> remove(@PathVariable("id") Integer id) {
|
||||
if (creditPatentService.removeById(id)) {
|
||||
return success("删除成功");
|
||||
}
|
||||
return fail("删除失败");
|
||||
}
|
||||
|
||||
@PreAuthorize("hasAuthority('credit:creditPatent:save')")
|
||||
@OperationLog
|
||||
@Operation(summary = "批量添加专利")
|
||||
@PostMapping("/batch")
|
||||
public ApiResult<?> saveBatch(@RequestBody List<CreditPatent> list) {
|
||||
if (creditPatentService.saveBatch(list)) {
|
||||
return success("添加成功");
|
||||
}
|
||||
return fail("添加失败");
|
||||
}
|
||||
|
||||
@PreAuthorize("hasAuthority('credit:creditPatent:update')")
|
||||
@OperationLog
|
||||
@Operation(summary = "批量修改专利")
|
||||
@PutMapping("/batch")
|
||||
public ApiResult<?> removeBatch(@RequestBody BatchParam<CreditPatent> batchParam) {
|
||||
if (batchParam.update(creditPatentService, "id")) {
|
||||
return success("修改成功");
|
||||
}
|
||||
return fail("修改失败");
|
||||
}
|
||||
|
||||
@PreAuthorize("hasAuthority('credit:creditPatent:remove')")
|
||||
@OperationLog
|
||||
@Operation(summary = "批量删除专利")
|
||||
@DeleteMapping("/batch")
|
||||
public ApiResult<?> removeBatch(@RequestBody List<Integer> ids) {
|
||||
if (creditPatentService.removeByIds(ids)) {
|
||||
return success("删除成功");
|
||||
}
|
||||
return fail("删除失败");
|
||||
}
|
||||
|
||||
}
|
||||
@@ -0,0 +1,124 @@
|
||||
package com.gxwebsoft.credit.controller;
|
||||
|
||||
import com.gxwebsoft.common.core.annotation.OperationLog;
|
||||
import com.gxwebsoft.common.core.web.ApiResult;
|
||||
import com.gxwebsoft.common.core.web.BaseController;
|
||||
import com.gxwebsoft.common.core.web.BatchParam;
|
||||
import com.gxwebsoft.common.core.web.PageResult;
|
||||
import com.gxwebsoft.credit.entity.CreditSuspectedRelationship;
|
||||
import com.gxwebsoft.credit.param.CreditSuspectedRelationshipParam;
|
||||
import com.gxwebsoft.credit.service.CreditSuspectedRelationshipService;
|
||||
import io.swagger.v3.oas.annotations.Operation;
|
||||
import io.swagger.v3.oas.annotations.tags.Tag;
|
||||
import org.springframework.security.access.prepost.PreAuthorize;
|
||||
import org.springframework.web.bind.annotation.*;
|
||||
|
||||
import javax.annotation.Resource;
|
||||
import java.util.List;
|
||||
|
||||
/**
|
||||
* 疑似关系控制器
|
||||
*
|
||||
* @author 科技小王子
|
||||
* @since 2026-01-07 13:52:14
|
||||
*/
|
||||
@Tag(name = "疑似关系管理")
|
||||
@RestController
|
||||
@RequestMapping("/api/credit/credit-suspected-relationship")
|
||||
public class CreditSuspectedRelationshipController extends BaseController {
|
||||
@Resource
|
||||
private CreditSuspectedRelationshipService creditSuspectedRelationshipService;
|
||||
|
||||
@Operation(summary = "分页查询疑似关系")
|
||||
@GetMapping("/page")
|
||||
public ApiResult<PageResult<CreditSuspectedRelationship>> page(CreditSuspectedRelationshipParam param) {
|
||||
// 使用关联查询
|
||||
return success(creditSuspectedRelationshipService.pageRel(param));
|
||||
}
|
||||
|
||||
@Operation(summary = "查询全部疑似关系")
|
||||
@GetMapping()
|
||||
public ApiResult<List<CreditSuspectedRelationship>> list(CreditSuspectedRelationshipParam param) {
|
||||
// 使用关联查询
|
||||
return success(creditSuspectedRelationshipService.listRel(param));
|
||||
}
|
||||
|
||||
@Operation(summary = "根据id查询疑似关系")
|
||||
@GetMapping("/{id}")
|
||||
public ApiResult<CreditSuspectedRelationship> get(@PathVariable("id") Integer id) {
|
||||
// 使用关联查询
|
||||
return success(creditSuspectedRelationshipService.getByIdRel(id));
|
||||
}
|
||||
|
||||
@PreAuthorize("hasAuthority('credit:creditSuspectedRelationship:save')")
|
||||
@OperationLog
|
||||
@Operation(summary = "添加疑似关系")
|
||||
@PostMapping()
|
||||
public ApiResult<?> save(@RequestBody CreditSuspectedRelationship creditSuspectedRelationship) {
|
||||
// 记录当前登录用户id
|
||||
// User loginUser = getLoginUser();
|
||||
// if (loginUser != null) {
|
||||
// creditSuspectedRelationship.setUserId(loginUser.getUserId());
|
||||
// }
|
||||
if (creditSuspectedRelationshipService.save(creditSuspectedRelationship)) {
|
||||
return success("添加成功");
|
||||
}
|
||||
return fail("添加失败");
|
||||
}
|
||||
|
||||
@PreAuthorize("hasAuthority('credit:creditSuspectedRelationship:update')")
|
||||
@OperationLog
|
||||
@Operation(summary = "修改疑似关系")
|
||||
@PutMapping()
|
||||
public ApiResult<?> update(@RequestBody CreditSuspectedRelationship creditSuspectedRelationship) {
|
||||
if (creditSuspectedRelationshipService.updateById(creditSuspectedRelationship)) {
|
||||
return success("修改成功");
|
||||
}
|
||||
return fail("修改失败");
|
||||
}
|
||||
|
||||
@PreAuthorize("hasAuthority('credit:creditSuspectedRelationship:remove')")
|
||||
@OperationLog
|
||||
@Operation(summary = "删除疑似关系")
|
||||
@DeleteMapping("/{id}")
|
||||
public ApiResult<?> remove(@PathVariable("id") Integer id) {
|
||||
if (creditSuspectedRelationshipService.removeById(id)) {
|
||||
return success("删除成功");
|
||||
}
|
||||
return fail("删除失败");
|
||||
}
|
||||
|
||||
@PreAuthorize("hasAuthority('credit:creditSuspectedRelationship:save')")
|
||||
@OperationLog
|
||||
@Operation(summary = "批量添加疑似关系")
|
||||
@PostMapping("/batch")
|
||||
public ApiResult<?> saveBatch(@RequestBody List<CreditSuspectedRelationship> list) {
|
||||
if (creditSuspectedRelationshipService.saveBatch(list)) {
|
||||
return success("添加成功");
|
||||
}
|
||||
return fail("添加失败");
|
||||
}
|
||||
|
||||
@PreAuthorize("hasAuthority('credit:creditSuspectedRelationship:update')")
|
||||
@OperationLog
|
||||
@Operation(summary = "批量修改疑似关系")
|
||||
@PutMapping("/batch")
|
||||
public ApiResult<?> removeBatch(@RequestBody BatchParam<CreditSuspectedRelationship> batchParam) {
|
||||
if (batchParam.update(creditSuspectedRelationshipService, "id")) {
|
||||
return success("修改成功");
|
||||
}
|
||||
return fail("修改失败");
|
||||
}
|
||||
|
||||
@PreAuthorize("hasAuthority('credit:creditSuspectedRelationship:remove')")
|
||||
@OperationLog
|
||||
@Operation(summary = "批量删除疑似关系")
|
||||
@DeleteMapping("/batch")
|
||||
public ApiResult<?> removeBatch(@RequestBody List<Integer> ids) {
|
||||
if (creditSuspectedRelationshipService.removeByIds(ids)) {
|
||||
return success("删除成功");
|
||||
}
|
||||
return fail("删除失败");
|
||||
}
|
||||
|
||||
}
|
||||
@@ -0,0 +1,95 @@
|
||||
package com.gxwebsoft.credit.entity;
|
||||
|
||||
import com.baomidou.mybatisplus.annotation.IdType;
|
||||
import com.baomidou.mybatisplus.annotation.TableField;
|
||||
import com.baomidou.mybatisplus.annotation.TableId;
|
||||
import com.baomidou.mybatisplus.annotation.TableLogic;
|
||||
import com.fasterxml.jackson.annotation.JsonFormat;
|
||||
import io.swagger.v3.oas.annotations.media.Schema;
|
||||
import lombok.Data;
|
||||
import lombok.EqualsAndHashCode;
|
||||
|
||||
import java.io.Serializable;
|
||||
import java.time.LocalDateTime;
|
||||
|
||||
/**
|
||||
* 行政许可
|
||||
*
|
||||
* @author 科技小王子
|
||||
* @since 2026-01-07 13:52:13
|
||||
*/
|
||||
@Data
|
||||
@EqualsAndHashCode(callSuper = false)
|
||||
@Schema(name = "CreditAdministrativeLicense对象", description = "行政许可")
|
||||
public class CreditAdministrativeLicense implements Serializable {
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
@Schema(description = "ID")
|
||||
@TableId(value = "id", type = IdType.AUTO)
|
||||
private Integer id;
|
||||
|
||||
@Schema(description = "决定文书/许可编号")
|
||||
private String code;
|
||||
|
||||
@Schema(description = "决定文书/许可证名称")
|
||||
private String name;
|
||||
|
||||
@Schema(description = "许可状态")
|
||||
private String statusText;
|
||||
|
||||
@Schema(description = "许可类型")
|
||||
private String type;
|
||||
|
||||
@Schema(description = "链接")
|
||||
private String url;
|
||||
|
||||
@Schema(description = "有效期自")
|
||||
private String validityStart;
|
||||
|
||||
@Schema(description = "有效期至")
|
||||
private String validityEnd;
|
||||
|
||||
@Schema(description = "许可机关")
|
||||
private String licensingAuthority;
|
||||
|
||||
@Schema(description = "许可内容")
|
||||
@TableField("License_content")
|
||||
private String licenseContent;
|
||||
|
||||
@Schema(description = "数据来源单位")
|
||||
private String dataSourceUnit;
|
||||
|
||||
@Schema(description = "备注")
|
||||
private String comments;
|
||||
|
||||
@Schema(description = "企业ID")
|
||||
private Integer companyId;
|
||||
|
||||
@Schema(description = "是否推荐")
|
||||
private Integer recommend;
|
||||
|
||||
@Schema(description = "排序(数字越小越靠前)")
|
||||
private Integer sortNumber;
|
||||
|
||||
@Schema(description = "状态, 0正常, 1冻结")
|
||||
private Integer status;
|
||||
|
||||
@Schema(description = "是否删除, 0否, 1是")
|
||||
@TableLogic
|
||||
private Integer deleted;
|
||||
|
||||
@Schema(description = "用户ID")
|
||||
private Integer userId;
|
||||
|
||||
@Schema(description = "租户id")
|
||||
private Integer tenantId;
|
||||
|
||||
@Schema(description = "创建时间")
|
||||
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
|
||||
private LocalDateTime createTime;
|
||||
|
||||
@Schema(description = "修改时间")
|
||||
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
|
||||
private LocalDateTime updateTime;
|
||||
|
||||
}
|
||||
@@ -0,0 +1,81 @@
|
||||
package com.gxwebsoft.credit.entity;
|
||||
|
||||
import com.baomidou.mybatisplus.annotation.IdType;
|
||||
import com.baomidou.mybatisplus.annotation.TableId;
|
||||
import com.baomidou.mybatisplus.annotation.TableLogic;
|
||||
import com.fasterxml.jackson.annotation.JsonFormat;
|
||||
import io.swagger.v3.oas.annotations.media.Schema;
|
||||
import lombok.Data;
|
||||
import lombok.EqualsAndHashCode;
|
||||
|
||||
import java.io.Serializable;
|
||||
import java.time.LocalDateTime;
|
||||
|
||||
/**
|
||||
* 破产重整
|
||||
*
|
||||
* @author 科技小王子
|
||||
* @since 2026-01-07 13:52:14
|
||||
*/
|
||||
@Data
|
||||
@EqualsAndHashCode(callSuper = false)
|
||||
@Schema(name = "CreditBankruptcy对象", description = "破产重整")
|
||||
public class CreditBankruptcy implements Serializable {
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
@Schema(description = "ID")
|
||||
@TableId(value = "id", type = IdType.AUTO)
|
||||
private Integer id;
|
||||
|
||||
@Schema(description = "案号")
|
||||
private String code;
|
||||
|
||||
@Schema(description = "案件类型")
|
||||
private String type;
|
||||
|
||||
@Schema(description = "当事人")
|
||||
private String party;
|
||||
|
||||
@Schema(description = "链接")
|
||||
private String url;
|
||||
|
||||
@Schema(description = "经办法院")
|
||||
private String court;
|
||||
|
||||
@Schema(description = "公开日期")
|
||||
private String publicDate;
|
||||
|
||||
@Schema(description = "备注")
|
||||
private String comments;
|
||||
|
||||
@Schema(description = "企业ID")
|
||||
private Integer companyId;
|
||||
|
||||
@Schema(description = "是否推荐")
|
||||
private Integer recommend;
|
||||
|
||||
@Schema(description = "排序(数字越小越靠前)")
|
||||
private Integer sortNumber;
|
||||
|
||||
@Schema(description = "状态, 0正常, 1冻结")
|
||||
private Integer status;
|
||||
|
||||
@Schema(description = "是否删除, 0否, 1是")
|
||||
@TableLogic
|
||||
private Integer deleted;
|
||||
|
||||
@Schema(description = "用户ID")
|
||||
private Integer userId;
|
||||
|
||||
@Schema(description = "租户id")
|
||||
private Integer tenantId;
|
||||
|
||||
@Schema(description = "创建时间")
|
||||
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
|
||||
private LocalDateTime createTime;
|
||||
|
||||
@Schema(description = "修改时间")
|
||||
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
|
||||
private LocalDateTime updateTime;
|
||||
|
||||
}
|
||||
81
src/main/java/com/gxwebsoft/credit/entity/CreditBranch.java
Normal file
81
src/main/java/com/gxwebsoft/credit/entity/CreditBranch.java
Normal file
@@ -0,0 +1,81 @@
|
||||
package com.gxwebsoft.credit.entity;
|
||||
|
||||
import com.baomidou.mybatisplus.annotation.IdType;
|
||||
import com.baomidou.mybatisplus.annotation.TableId;
|
||||
import com.baomidou.mybatisplus.annotation.TableLogic;
|
||||
import com.fasterxml.jackson.annotation.JsonFormat;
|
||||
import io.swagger.v3.oas.annotations.media.Schema;
|
||||
import lombok.Data;
|
||||
import lombok.EqualsAndHashCode;
|
||||
|
||||
import java.io.Serializable;
|
||||
import java.time.LocalDateTime;
|
||||
|
||||
/**
|
||||
* 分支机构
|
||||
*
|
||||
* @author 科技小王子
|
||||
* @since 2026-01-07 13:52:14
|
||||
*/
|
||||
@Data
|
||||
@EqualsAndHashCode(callSuper = false)
|
||||
@Schema(name = "CreditBranch对象", description = "分支机构")
|
||||
public class CreditBranch implements Serializable {
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
@Schema(description = "ID")
|
||||
@TableId(value = "id", type = IdType.AUTO)
|
||||
private Integer id;
|
||||
|
||||
@Schema(description = "分支机构名称")
|
||||
private String name;
|
||||
|
||||
@Schema(description = "负责人")
|
||||
private String curator;
|
||||
|
||||
@Schema(description = "地区")
|
||||
private String region;
|
||||
|
||||
@Schema(description = "链接")
|
||||
private String url;
|
||||
|
||||
@Schema(description = "成立日期")
|
||||
private String establishDate;
|
||||
|
||||
@Schema(description = "状态")
|
||||
private String statusText;
|
||||
|
||||
@Schema(description = "备注")
|
||||
private String comments;
|
||||
|
||||
@Schema(description = "企业ID")
|
||||
private Integer companyId;
|
||||
|
||||
@Schema(description = "是否推荐")
|
||||
private Integer recommend;
|
||||
|
||||
@Schema(description = "排序(数字越小越靠前)")
|
||||
private Integer sortNumber;
|
||||
|
||||
@Schema(description = "状态, 0正常, 1冻结")
|
||||
private Integer status;
|
||||
|
||||
@Schema(description = "是否删除, 0否, 1是")
|
||||
@TableLogic
|
||||
private Integer deleted;
|
||||
|
||||
@Schema(description = "用户ID")
|
||||
private Integer userId;
|
||||
|
||||
@Schema(description = "租户id")
|
||||
private Integer tenantId;
|
||||
|
||||
@Schema(description = "创建时间")
|
||||
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
|
||||
private LocalDateTime createTime;
|
||||
|
||||
@Schema(description = "修改时间")
|
||||
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
|
||||
private LocalDateTime updateTime;
|
||||
|
||||
}
|
||||
@@ -0,0 +1,75 @@
|
||||
package com.gxwebsoft.credit.entity;
|
||||
|
||||
import com.baomidou.mybatisplus.annotation.IdType;
|
||||
import com.baomidou.mybatisplus.annotation.TableId;
|
||||
import com.baomidou.mybatisplus.annotation.TableLogic;
|
||||
import com.fasterxml.jackson.annotation.JsonFormat;
|
||||
import io.swagger.v3.oas.annotations.media.Schema;
|
||||
import lombok.Data;
|
||||
import lombok.EqualsAndHashCode;
|
||||
|
||||
import java.io.Serializable;
|
||||
import java.time.LocalDateTime;
|
||||
|
||||
/**
|
||||
* 历史法定代表人
|
||||
*
|
||||
* @author 科技小王子
|
||||
* @since 2026-01-07 13:52:14
|
||||
*/
|
||||
@Data
|
||||
@EqualsAndHashCode(callSuper = false)
|
||||
@Schema(name = "CreditHistoricalLegalPerson对象", description = "历史法定代表人")
|
||||
public class CreditHistoricalLegalPerson implements Serializable {
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
@Schema(description = "ID")
|
||||
@TableId(value = "id", type = IdType.AUTO)
|
||||
private Integer id;
|
||||
|
||||
@Schema(description = "名称")
|
||||
private String name;
|
||||
|
||||
@Schema(description = "任职日期")
|
||||
private String registerDate;
|
||||
|
||||
@Schema(description = "卸任日期")
|
||||
private String publicDate;
|
||||
|
||||
@Schema(description = "链接")
|
||||
private String url;
|
||||
|
||||
@Schema(description = "备注")
|
||||
private String comments;
|
||||
|
||||
@Schema(description = "企业ID")
|
||||
private Integer companyId;
|
||||
|
||||
@Schema(description = "是否推荐")
|
||||
private Integer recommend;
|
||||
|
||||
@Schema(description = "排序(数字越小越靠前)")
|
||||
private Integer sortNumber;
|
||||
|
||||
@Schema(description = "状态, 0正常, 1冻结")
|
||||
private Integer status;
|
||||
|
||||
@Schema(description = "是否删除, 0否, 1是")
|
||||
@TableLogic
|
||||
private Integer deleted;
|
||||
|
||||
@Schema(description = "用户ID")
|
||||
private Integer userId;
|
||||
|
||||
@Schema(description = "租户id")
|
||||
private Integer tenantId;
|
||||
|
||||
@Schema(description = "创建时间")
|
||||
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
|
||||
private LocalDateTime createTime;
|
||||
|
||||
@Schema(description = "修改时间")
|
||||
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
|
||||
private LocalDateTime updateTime;
|
||||
|
||||
}
|
||||
@@ -0,0 +1,219 @@
|
||||
package com.gxwebsoft.credit.entity;
|
||||
|
||||
import com.baomidou.mybatisplus.annotation.IdType;
|
||||
import com.baomidou.mybatisplus.annotation.TableId;
|
||||
import com.baomidou.mybatisplus.annotation.TableLogic;
|
||||
import com.fasterxml.jackson.annotation.JsonFormat;
|
||||
import io.swagger.v3.oas.annotations.media.Schema;
|
||||
import lombok.Data;
|
||||
import lombok.EqualsAndHashCode;
|
||||
|
||||
import java.io.Serializable;
|
||||
import java.time.LocalDateTime;
|
||||
|
||||
/**
|
||||
* 附近企业
|
||||
*
|
||||
* @author 科技小王子
|
||||
* @since 2026-01-07 13:52:14
|
||||
*/
|
||||
@Data
|
||||
@EqualsAndHashCode(callSuper = false)
|
||||
@Schema(name = "CreditNearbyCompany对象", description = "附近企业")
|
||||
public class CreditNearbyCompany implements Serializable {
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
@Schema(description = "ID")
|
||||
@TableId(value = "id", type = IdType.AUTO)
|
||||
private Integer id;
|
||||
|
||||
@Schema(description = "企业名称")
|
||||
private String name;
|
||||
|
||||
@Schema(description = "登记状态")
|
||||
private String registrationStatus;
|
||||
|
||||
@Schema(description = "法定代表人")
|
||||
private String legalPerson;
|
||||
|
||||
@Schema(description = "注册资本")
|
||||
private String registeredCapital;
|
||||
|
||||
@Schema(description = "成立日期")
|
||||
private String establishDate;
|
||||
|
||||
@Schema(description = "统一社会信用代码")
|
||||
private String code;
|
||||
|
||||
@Schema(description = "注册地址")
|
||||
private String address;
|
||||
|
||||
@Schema(description = "注册地址邮编")
|
||||
private String postalCode;
|
||||
|
||||
@Schema(description = "有效手机号")
|
||||
private String phone;
|
||||
|
||||
@Schema(description = "更多电话")
|
||||
private String moreTel;
|
||||
|
||||
@Schema(description = "邮箱")
|
||||
private String email;
|
||||
|
||||
@Schema(description = "邮箱")
|
||||
private String moreEmail;
|
||||
|
||||
@Schema(description = "所在国家")
|
||||
private String country;
|
||||
|
||||
@Schema(description = "所属省份")
|
||||
private String province;
|
||||
|
||||
@Schema(description = "所属城市")
|
||||
private String city;
|
||||
|
||||
@Schema(description = "所属区县")
|
||||
private String region;
|
||||
|
||||
@Schema(description = "纳税人识别号")
|
||||
private String taxpayerCode;
|
||||
|
||||
@Schema(description = "注册号")
|
||||
private String registrationNumber;
|
||||
|
||||
@Schema(description = "组织机构代码")
|
||||
private String organizationalCode;
|
||||
|
||||
@Schema(description = "参保人数")
|
||||
private String numberOfInsuredPersons;
|
||||
|
||||
@Schema(description = "参保人数所属年报")
|
||||
private String annualReport;
|
||||
|
||||
@Schema(description = "企业(机构)类型")
|
||||
private String institutionType;
|
||||
|
||||
@Schema(description = "企业规模")
|
||||
private String companySize;
|
||||
|
||||
@Schema(description = "营业期限")
|
||||
private String businessTerm;
|
||||
|
||||
@Schema(description = "国标行业门类")
|
||||
private String nationalStandardIndustryCategories;
|
||||
|
||||
@Schema(description = "国标行业大类")
|
||||
private String nationalStandardIndustryCategories2;
|
||||
|
||||
@Schema(description = "国标行业中类")
|
||||
private String nationalStandardIndustryCategories3;
|
||||
|
||||
@Schema(description = "国标行业小类")
|
||||
private String nationalStandardIndustryCategories4;
|
||||
|
||||
@Schema(description = "曾用名")
|
||||
private String formerName;
|
||||
|
||||
@Schema(description = "英文名")
|
||||
private String englishName;
|
||||
|
||||
@Schema(description = "官网网址")
|
||||
private String domain;
|
||||
|
||||
@Schema(description = "通信地址")
|
||||
private String mailingAddress;
|
||||
|
||||
@Schema(description = "通信地址邮箱")
|
||||
private String mailingEmail;
|
||||
|
||||
@Schema(description = "企业简介")
|
||||
private String companyProfile;
|
||||
|
||||
@Schema(description = "经营范围")
|
||||
private String natureOfBusiness;
|
||||
|
||||
@Schema(description = "电话")
|
||||
private String tel;
|
||||
|
||||
@Schema(description = "企查查行业门类")
|
||||
private String nationalStandardIndustryCategories5;
|
||||
|
||||
@Schema(description = "企查查行业大类")
|
||||
private String nationalStandardIndustryCategories6;
|
||||
|
||||
@Schema(description = "企查查行业中类")
|
||||
private String nationalStandardIndustryCategories7;
|
||||
|
||||
@Schema(description = "企查查行业小类")
|
||||
private String nationalStandardIndustryCategories8;
|
||||
|
||||
@Schema(description = "链接")
|
||||
private String url;
|
||||
|
||||
@Schema(description = "类型")
|
||||
private Integer type;
|
||||
|
||||
@Schema(description = "上级id, 0是顶级")
|
||||
private Integer parentId;
|
||||
|
||||
@Schema(description = "实缴资本")
|
||||
private String paidinCapital;
|
||||
|
||||
@Schema(description = "登记机关")
|
||||
private String registrationAuthority;
|
||||
|
||||
@Schema(description = "纳税人资质")
|
||||
private String taxpayerQualification;
|
||||
|
||||
@Schema(description = "最新年报年份")
|
||||
private String latestAnnualReportYear;
|
||||
|
||||
@Schema(description = "最新年报营业收入")
|
||||
private String latestAnnualReportOnOperatingRevenue;
|
||||
|
||||
@Schema(description = "企查分")
|
||||
private String enterpriseScoreCheck;
|
||||
|
||||
@Schema(description = "信用等级")
|
||||
private String creditRating;
|
||||
|
||||
@Schema(description = "科创分")
|
||||
private String cechnologyScore;
|
||||
|
||||
@Schema(description = "科创等级")
|
||||
private String cechnologyLevel;
|
||||
|
||||
@Schema(description = "是否小微企业")
|
||||
private String smallEnterprise;
|
||||
|
||||
@Schema(description = "备注")
|
||||
private String comments;
|
||||
|
||||
@Schema(description = "是否推荐")
|
||||
private Integer recommend;
|
||||
|
||||
@Schema(description = "排序(数字越小越靠前)")
|
||||
private Integer sortNumber;
|
||||
|
||||
@Schema(description = "状态, 0正常, 1冻结")
|
||||
private Integer status;
|
||||
|
||||
@Schema(description = "是否删除, 0否, 1是")
|
||||
@TableLogic
|
||||
private Integer deleted;
|
||||
|
||||
@Schema(description = "用户ID")
|
||||
private Integer userId;
|
||||
|
||||
@Schema(description = "租户id")
|
||||
private Integer tenantId;
|
||||
|
||||
@Schema(description = "创建时间")
|
||||
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
|
||||
private LocalDateTime createTime;
|
||||
|
||||
@Schema(description = "修改时间")
|
||||
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
|
||||
private LocalDateTime updateTime;
|
||||
|
||||
}
|
||||
93
src/main/java/com/gxwebsoft/credit/entity/CreditPatent.java
Normal file
93
src/main/java/com/gxwebsoft/credit/entity/CreditPatent.java
Normal file
@@ -0,0 +1,93 @@
|
||||
package com.gxwebsoft.credit.entity;
|
||||
|
||||
import com.baomidou.mybatisplus.annotation.IdType;
|
||||
import com.baomidou.mybatisplus.annotation.TableId;
|
||||
import com.baomidou.mybatisplus.annotation.TableLogic;
|
||||
import com.fasterxml.jackson.annotation.JsonFormat;
|
||||
import io.swagger.v3.oas.annotations.media.Schema;
|
||||
import lombok.Data;
|
||||
import lombok.EqualsAndHashCode;
|
||||
|
||||
import java.io.Serializable;
|
||||
import java.time.LocalDateTime;
|
||||
|
||||
/**
|
||||
* 专利
|
||||
*
|
||||
* @author 科技小王子
|
||||
* @since 2026-01-07 13:52:14
|
||||
*/
|
||||
@Data
|
||||
@EqualsAndHashCode(callSuper = false)
|
||||
@Schema(name = "CreditPatent对象", description = "专利")
|
||||
public class CreditPatent implements Serializable {
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
@Schema(description = "ID")
|
||||
@TableId(value = "id", type = IdType.AUTO)
|
||||
private Integer id;
|
||||
|
||||
@Schema(description = "发明名称")
|
||||
private String name;
|
||||
|
||||
@Schema(description = "专利类型")
|
||||
private String type;
|
||||
|
||||
@Schema(description = "法律状态")
|
||||
private String statusText;
|
||||
|
||||
@Schema(description = "申请号")
|
||||
private String registerNo;
|
||||
|
||||
@Schema(description = "申请日")
|
||||
private String registerDate;
|
||||
|
||||
@Schema(description = "公开(公告)号")
|
||||
private String publicNo;
|
||||
|
||||
@Schema(description = "公开(公告)日期")
|
||||
private String publicDate;
|
||||
|
||||
@Schema(description = "发明人")
|
||||
private String inventor;
|
||||
|
||||
@Schema(description = "申请(专利权)人")
|
||||
private String patentApplicant;
|
||||
|
||||
@Schema(description = "链接")
|
||||
private String url;
|
||||
|
||||
@Schema(description = "备注")
|
||||
private String comments;
|
||||
|
||||
@Schema(description = "企业ID")
|
||||
private Integer companyId;
|
||||
|
||||
@Schema(description = "是否推荐")
|
||||
private Integer recommend;
|
||||
|
||||
@Schema(description = "排序(数字越小越靠前)")
|
||||
private Integer sortNumber;
|
||||
|
||||
@Schema(description = "状态, 0正常, 1冻结")
|
||||
private Integer status;
|
||||
|
||||
@Schema(description = "是否删除, 0否, 1是")
|
||||
@TableLogic
|
||||
private Integer deleted;
|
||||
|
||||
@Schema(description = "用户ID")
|
||||
private Integer userId;
|
||||
|
||||
@Schema(description = "租户id")
|
||||
private Integer tenantId;
|
||||
|
||||
@Schema(description = "创建时间")
|
||||
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
|
||||
private LocalDateTime createTime;
|
||||
|
||||
@Schema(description = "修改时间")
|
||||
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
|
||||
private LocalDateTime updateTime;
|
||||
|
||||
}
|
||||
@@ -0,0 +1,90 @@
|
||||
package com.gxwebsoft.credit.entity;
|
||||
|
||||
import com.baomidou.mybatisplus.annotation.IdType;
|
||||
import com.baomidou.mybatisplus.annotation.TableId;
|
||||
import com.baomidou.mybatisplus.annotation.TableLogic;
|
||||
import com.fasterxml.jackson.annotation.JsonFormat;
|
||||
import io.swagger.v3.oas.annotations.media.Schema;
|
||||
import lombok.Data;
|
||||
import lombok.EqualsAndHashCode;
|
||||
|
||||
import java.io.Serializable;
|
||||
import java.time.LocalDateTime;
|
||||
|
||||
/**
|
||||
* 疑似关系
|
||||
*
|
||||
* @author 科技小王子
|
||||
* @since 2026-01-07 13:52:14
|
||||
*/
|
||||
@Data
|
||||
@EqualsAndHashCode(callSuper = false)
|
||||
@Schema(name = "CreditSuspectedRelationship对象", description = "疑似关系")
|
||||
public class CreditSuspectedRelationship implements Serializable {
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
@Schema(description = "ID")
|
||||
@TableId(value = "id", type = IdType.AUTO)
|
||||
private Integer id;
|
||||
|
||||
@Schema(description = "企业名称")
|
||||
private String name;
|
||||
|
||||
@Schema(description = "状态")
|
||||
private String statusText;
|
||||
|
||||
@Schema(description = "法定代表人")
|
||||
private String legalPerson;
|
||||
|
||||
@Schema(description = "注册资本")
|
||||
private String registeredCapital;
|
||||
|
||||
@Schema(description = "成立日期")
|
||||
private String createDate;
|
||||
|
||||
@Schema(description = "关联方")
|
||||
private String relatedParty;
|
||||
|
||||
@Schema(description = "疑似关系类型")
|
||||
private String type;
|
||||
|
||||
@Schema(description = "疑似关系详情")
|
||||
private String detail;
|
||||
|
||||
@Schema(description = "链接")
|
||||
private String url;
|
||||
|
||||
@Schema(description = "备注")
|
||||
private String comments;
|
||||
|
||||
@Schema(description = "企业ID")
|
||||
private Integer companyId;
|
||||
|
||||
@Schema(description = "是否推荐")
|
||||
private Integer recommend;
|
||||
|
||||
@Schema(description = "排序(数字越小越靠前)")
|
||||
private Integer sortNumber;
|
||||
|
||||
@Schema(description = "状态, 0正常, 1冻结")
|
||||
private Integer status;
|
||||
|
||||
@Schema(description = "是否删除, 0否, 1是")
|
||||
@TableLogic
|
||||
private Integer deleted;
|
||||
|
||||
@Schema(description = "用户ID")
|
||||
private Integer userId;
|
||||
|
||||
@Schema(description = "租户id")
|
||||
private Integer tenantId;
|
||||
|
||||
@Schema(description = "创建时间")
|
||||
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
|
||||
private LocalDateTime createTime;
|
||||
|
||||
@Schema(description = "修改时间")
|
||||
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
|
||||
private LocalDateTime updateTime;
|
||||
|
||||
}
|
||||
@@ -0,0 +1,37 @@
|
||||
package com.gxwebsoft.credit.mapper;
|
||||
|
||||
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
|
||||
import com.baomidou.mybatisplus.core.metadata.IPage;
|
||||
import com.gxwebsoft.credit.entity.CreditAdministrativeLicense;
|
||||
import com.gxwebsoft.credit.param.CreditAdministrativeLicenseParam;
|
||||
import org.apache.ibatis.annotations.Param;
|
||||
|
||||
import java.util.List;
|
||||
|
||||
/**
|
||||
* 行政许可Mapper
|
||||
*
|
||||
* @author 科技小王子
|
||||
* @since 2026-01-07 13:52:13
|
||||
*/
|
||||
public interface CreditAdministrativeLicenseMapper extends BaseMapper<CreditAdministrativeLicense> {
|
||||
|
||||
/**
|
||||
* 分页查询
|
||||
*
|
||||
* @param page 分页对象
|
||||
* @param param 查询参数
|
||||
* @return List<CreditAdministrativeLicense>
|
||||
*/
|
||||
List<CreditAdministrativeLicense> selectPageRel(@Param("page") IPage<CreditAdministrativeLicense> page,
|
||||
@Param("param") CreditAdministrativeLicenseParam param);
|
||||
|
||||
/**
|
||||
* 查询全部
|
||||
*
|
||||
* @param param 查询参数
|
||||
* @return List<User>
|
||||
*/
|
||||
List<CreditAdministrativeLicense> selectListRel(@Param("param") CreditAdministrativeLicenseParam param);
|
||||
|
||||
}
|
||||
@@ -0,0 +1,37 @@
|
||||
package com.gxwebsoft.credit.mapper;
|
||||
|
||||
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
|
||||
import com.baomidou.mybatisplus.core.metadata.IPage;
|
||||
import com.gxwebsoft.credit.entity.CreditBankruptcy;
|
||||
import com.gxwebsoft.credit.param.CreditBankruptcyParam;
|
||||
import org.apache.ibatis.annotations.Param;
|
||||
|
||||
import java.util.List;
|
||||
|
||||
/**
|
||||
* 破产重整Mapper
|
||||
*
|
||||
* @author 科技小王子
|
||||
* @since 2026-01-07 13:52:14
|
||||
*/
|
||||
public interface CreditBankruptcyMapper extends BaseMapper<CreditBankruptcy> {
|
||||
|
||||
/**
|
||||
* 分页查询
|
||||
*
|
||||
* @param page 分页对象
|
||||
* @param param 查询参数
|
||||
* @return List<CreditBankruptcy>
|
||||
*/
|
||||
List<CreditBankruptcy> selectPageRel(@Param("page") IPage<CreditBankruptcy> page,
|
||||
@Param("param") CreditBankruptcyParam param);
|
||||
|
||||
/**
|
||||
* 查询全部
|
||||
*
|
||||
* @param param 查询参数
|
||||
* @return List<User>
|
||||
*/
|
||||
List<CreditBankruptcy> selectListRel(@Param("param") CreditBankruptcyParam param);
|
||||
|
||||
}
|
||||
@@ -0,0 +1,37 @@
|
||||
package com.gxwebsoft.credit.mapper;
|
||||
|
||||
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
|
||||
import com.baomidou.mybatisplus.core.metadata.IPage;
|
||||
import com.gxwebsoft.credit.entity.CreditBranch;
|
||||
import com.gxwebsoft.credit.param.CreditBranchParam;
|
||||
import org.apache.ibatis.annotations.Param;
|
||||
|
||||
import java.util.List;
|
||||
|
||||
/**
|
||||
* 分支机构Mapper
|
||||
*
|
||||
* @author 科技小王子
|
||||
* @since 2026-01-07 13:52:14
|
||||
*/
|
||||
public interface CreditBranchMapper extends BaseMapper<CreditBranch> {
|
||||
|
||||
/**
|
||||
* 分页查询
|
||||
*
|
||||
* @param page 分页对象
|
||||
* @param param 查询参数
|
||||
* @return List<CreditBranch>
|
||||
*/
|
||||
List<CreditBranch> selectPageRel(@Param("page") IPage<CreditBranch> page,
|
||||
@Param("param") CreditBranchParam param);
|
||||
|
||||
/**
|
||||
* 查询全部
|
||||
*
|
||||
* @param param 查询参数
|
||||
* @return List<User>
|
||||
*/
|
||||
List<CreditBranch> selectListRel(@Param("param") CreditBranchParam param);
|
||||
|
||||
}
|
||||
@@ -0,0 +1,37 @@
|
||||
package com.gxwebsoft.credit.mapper;
|
||||
|
||||
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
|
||||
import com.baomidou.mybatisplus.core.metadata.IPage;
|
||||
import com.gxwebsoft.credit.entity.CreditHistoricalLegalPerson;
|
||||
import com.gxwebsoft.credit.param.CreditHistoricalLegalPersonParam;
|
||||
import org.apache.ibatis.annotations.Param;
|
||||
|
||||
import java.util.List;
|
||||
|
||||
/**
|
||||
* 历史法定代表人Mapper
|
||||
*
|
||||
* @author 科技小王子
|
||||
* @since 2026-01-07 13:52:14
|
||||
*/
|
||||
public interface CreditHistoricalLegalPersonMapper extends BaseMapper<CreditHistoricalLegalPerson> {
|
||||
|
||||
/**
|
||||
* 分页查询
|
||||
*
|
||||
* @param page 分页对象
|
||||
* @param param 查询参数
|
||||
* @return List<CreditHistoricalLegalPerson>
|
||||
*/
|
||||
List<CreditHistoricalLegalPerson> selectPageRel(@Param("page") IPage<CreditHistoricalLegalPerson> page,
|
||||
@Param("param") CreditHistoricalLegalPersonParam param);
|
||||
|
||||
/**
|
||||
* 查询全部
|
||||
*
|
||||
* @param param 查询参数
|
||||
* @return List<User>
|
||||
*/
|
||||
List<CreditHistoricalLegalPerson> selectListRel(@Param("param") CreditHistoricalLegalPersonParam param);
|
||||
|
||||
}
|
||||
@@ -0,0 +1,37 @@
|
||||
package com.gxwebsoft.credit.mapper;
|
||||
|
||||
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
|
||||
import com.baomidou.mybatisplus.core.metadata.IPage;
|
||||
import com.gxwebsoft.credit.entity.CreditNearbyCompany;
|
||||
import com.gxwebsoft.credit.param.CreditNearbyCompanyParam;
|
||||
import org.apache.ibatis.annotations.Param;
|
||||
|
||||
import java.util.List;
|
||||
|
||||
/**
|
||||
* 附近企业Mapper
|
||||
*
|
||||
* @author 科技小王子
|
||||
* @since 2026-01-07 13:52:14
|
||||
*/
|
||||
public interface CreditNearbyCompanyMapper extends BaseMapper<CreditNearbyCompany> {
|
||||
|
||||
/**
|
||||
* 分页查询
|
||||
*
|
||||
* @param page 分页对象
|
||||
* @param param 查询参数
|
||||
* @return List<CreditNearbyCompany>
|
||||
*/
|
||||
List<CreditNearbyCompany> selectPageRel(@Param("page") IPage<CreditNearbyCompany> page,
|
||||
@Param("param") CreditNearbyCompanyParam param);
|
||||
|
||||
/**
|
||||
* 查询全部
|
||||
*
|
||||
* @param param 查询参数
|
||||
* @return List<User>
|
||||
*/
|
||||
List<CreditNearbyCompany> selectListRel(@Param("param") CreditNearbyCompanyParam param);
|
||||
|
||||
}
|
||||
@@ -0,0 +1,37 @@
|
||||
package com.gxwebsoft.credit.mapper;
|
||||
|
||||
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
|
||||
import com.baomidou.mybatisplus.core.metadata.IPage;
|
||||
import com.gxwebsoft.credit.entity.CreditPatent;
|
||||
import com.gxwebsoft.credit.param.CreditPatentParam;
|
||||
import org.apache.ibatis.annotations.Param;
|
||||
|
||||
import java.util.List;
|
||||
|
||||
/**
|
||||
* 专利Mapper
|
||||
*
|
||||
* @author 科技小王子
|
||||
* @since 2026-01-07 13:52:14
|
||||
*/
|
||||
public interface CreditPatentMapper extends BaseMapper<CreditPatent> {
|
||||
|
||||
/**
|
||||
* 分页查询
|
||||
*
|
||||
* @param page 分页对象
|
||||
* @param param 查询参数
|
||||
* @return List<CreditPatent>
|
||||
*/
|
||||
List<CreditPatent> selectPageRel(@Param("page") IPage<CreditPatent> page,
|
||||
@Param("param") CreditPatentParam param);
|
||||
|
||||
/**
|
||||
* 查询全部
|
||||
*
|
||||
* @param param 查询参数
|
||||
* @return List<User>
|
||||
*/
|
||||
List<CreditPatent> selectListRel(@Param("param") CreditPatentParam param);
|
||||
|
||||
}
|
||||
@@ -0,0 +1,37 @@
|
||||
package com.gxwebsoft.credit.mapper;
|
||||
|
||||
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
|
||||
import com.baomidou.mybatisplus.core.metadata.IPage;
|
||||
import com.gxwebsoft.credit.entity.CreditSuspectedRelationship;
|
||||
import com.gxwebsoft.credit.param.CreditSuspectedRelationshipParam;
|
||||
import org.apache.ibatis.annotations.Param;
|
||||
|
||||
import java.util.List;
|
||||
|
||||
/**
|
||||
* 疑似关系Mapper
|
||||
*
|
||||
* @author 科技小王子
|
||||
* @since 2026-01-07 13:52:14
|
||||
*/
|
||||
public interface CreditSuspectedRelationshipMapper extends BaseMapper<CreditSuspectedRelationship> {
|
||||
|
||||
/**
|
||||
* 分页查询
|
||||
*
|
||||
* @param page 分页对象
|
||||
* @param param 查询参数
|
||||
* @return List<CreditSuspectedRelationship>
|
||||
*/
|
||||
List<CreditSuspectedRelationship> selectPageRel(@Param("page") IPage<CreditSuspectedRelationship> page,
|
||||
@Param("param") CreditSuspectedRelationshipParam param);
|
||||
|
||||
/**
|
||||
* 查询全部
|
||||
*
|
||||
* @param param 查询参数
|
||||
* @return List<User>
|
||||
*/
|
||||
List<CreditSuspectedRelationship> selectListRel(@Param("param") CreditSuspectedRelationshipParam param);
|
||||
|
||||
}
|
||||
@@ -0,0 +1,90 @@
|
||||
<?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.gxwebsoft.credit.mapper.CreditAdministrativeLicenseMapper">
|
||||
|
||||
<!-- 关联查询sql -->
|
||||
<sql id="selectSql">
|
||||
SELECT a.*
|
||||
FROM credit_administrative_license a
|
||||
<where>
|
||||
<if test="param.id != null">
|
||||
AND a.id = #{param.id}
|
||||
</if>
|
||||
<if test="param.code != null">
|
||||
AND a.code LIKE CONCAT('%', #{param.code}, '%')
|
||||
</if>
|
||||
<if test="param.name != null">
|
||||
AND a.name LIKE CONCAT('%', #{param.name}, '%')
|
||||
</if>
|
||||
<if test="param.statusText != null">
|
||||
AND a.status_text LIKE CONCAT('%', #{param.statusText}, '%')
|
||||
</if>
|
||||
<if test="param.type != null">
|
||||
AND a.type LIKE CONCAT('%', #{param.type}, '%')
|
||||
</if>
|
||||
<if test="param.url != null">
|
||||
AND a.url LIKE CONCAT('%', #{param.url}, '%')
|
||||
</if>
|
||||
<if test="param.validityStart != null">
|
||||
AND a.validity_start LIKE CONCAT('%', #{param.validityStart}, '%')
|
||||
</if>
|
||||
<if test="param.validityEnd != null">
|
||||
AND a.validity_end LIKE CONCAT('%', #{param.validityEnd}, '%')
|
||||
</if>
|
||||
<if test="param.licensingAuthority != null">
|
||||
AND a.licensing_authority LIKE CONCAT('%', #{param.licensingAuthority}, '%')
|
||||
</if>
|
||||
<if test="param.licenseContent != null">
|
||||
AND a.License_content LIKE CONCAT('%', #{param.licenseContent}, '%')
|
||||
</if>
|
||||
<if test="param.dataSourceUnit != null">
|
||||
AND a.data_source_unit LIKE CONCAT('%', #{param.dataSourceUnit}, '%')
|
||||
</if>
|
||||
<if test="param.comments != null">
|
||||
AND a.comments LIKE CONCAT('%', #{param.comments}, '%')
|
||||
</if>
|
||||
<if test="param.companyId != null">
|
||||
AND a.company_id = #{param.companyId}
|
||||
</if>
|
||||
<if test="param.recommend != null">
|
||||
AND a.recommend = #{param.recommend}
|
||||
</if>
|
||||
<if test="param.sortNumber != null">
|
||||
AND a.sort_number = #{param.sortNumber}
|
||||
</if>
|
||||
<if test="param.status != null">
|
||||
AND a.status = #{param.status}
|
||||
</if>
|
||||
<if test="param.deleted != null">
|
||||
AND a.deleted = #{param.deleted}
|
||||
</if>
|
||||
<if test="param.deleted == null">
|
||||
AND a.deleted = 0
|
||||
</if>
|
||||
<if test="param.userId != null">
|
||||
AND a.user_id = #{param.userId}
|
||||
</if>
|
||||
<if test="param.createTimeStart != null">
|
||||
AND a.create_time >= #{param.createTimeStart}
|
||||
</if>
|
||||
<if test="param.createTimeEnd != null">
|
||||
AND a.create_time <= #{param.createTimeEnd}
|
||||
</if>
|
||||
<if test="param.keywords != null">
|
||||
AND (a.comments LIKE CONCAT('%', #{param.keywords}, '%')
|
||||
)
|
||||
</if>
|
||||
</where>
|
||||
</sql>
|
||||
|
||||
<!-- 分页查询 -->
|
||||
<select id="selectPageRel" resultType="com.gxwebsoft.credit.entity.CreditAdministrativeLicense">
|
||||
<include refid="selectSql"></include>
|
||||
</select>
|
||||
|
||||
<!-- 查询全部 -->
|
||||
<select id="selectListRel" resultType="com.gxwebsoft.credit.entity.CreditAdministrativeLicense">
|
||||
<include refid="selectSql"></include>
|
||||
</select>
|
||||
|
||||
</mapper>
|
||||
@@ -0,0 +1,78 @@
|
||||
<?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.gxwebsoft.credit.mapper.CreditBankruptcyMapper">
|
||||
|
||||
<!-- 关联查询sql -->
|
||||
<sql id="selectSql">
|
||||
SELECT a.*
|
||||
FROM credit_bankruptcy a
|
||||
<where>
|
||||
<if test="param.id != null">
|
||||
AND a.id = #{param.id}
|
||||
</if>
|
||||
<if test="param.code != null">
|
||||
AND a.code LIKE CONCAT('%', #{param.code}, '%')
|
||||
</if>
|
||||
<if test="param.type != null">
|
||||
AND a.type LIKE CONCAT('%', #{param.type}, '%')
|
||||
</if>
|
||||
<if test="param.party != null">
|
||||
AND a.party LIKE CONCAT('%', #{param.party}, '%')
|
||||
</if>
|
||||
<if test="param.url != null">
|
||||
AND a.url LIKE CONCAT('%', #{param.url}, '%')
|
||||
</if>
|
||||
<if test="param.court != null">
|
||||
AND a.court LIKE CONCAT('%', #{param.court}, '%')
|
||||
</if>
|
||||
<if test="param.publicDate != null">
|
||||
AND a.public_date LIKE CONCAT('%', #{param.publicDate}, '%')
|
||||
</if>
|
||||
<if test="param.comments != null">
|
||||
AND a.comments LIKE CONCAT('%', #{param.comments}, '%')
|
||||
</if>
|
||||
<if test="param.companyId != null">
|
||||
AND a.company_id = #{param.companyId}
|
||||
</if>
|
||||
<if test="param.recommend != null">
|
||||
AND a.recommend = #{param.recommend}
|
||||
</if>
|
||||
<if test="param.sortNumber != null">
|
||||
AND a.sort_number = #{param.sortNumber}
|
||||
</if>
|
||||
<if test="param.status != null">
|
||||
AND a.status = #{param.status}
|
||||
</if>
|
||||
<if test="param.deleted != null">
|
||||
AND a.deleted = #{param.deleted}
|
||||
</if>
|
||||
<if test="param.deleted == null">
|
||||
AND a.deleted = 0
|
||||
</if>
|
||||
<if test="param.userId != null">
|
||||
AND a.user_id = #{param.userId}
|
||||
</if>
|
||||
<if test="param.createTimeStart != null">
|
||||
AND a.create_time >= #{param.createTimeStart}
|
||||
</if>
|
||||
<if test="param.createTimeEnd != null">
|
||||
AND a.create_time <= #{param.createTimeEnd}
|
||||
</if>
|
||||
<if test="param.keywords != null">
|
||||
AND (a.comments LIKE CONCAT('%', #{param.keywords}, '%')
|
||||
)
|
||||
</if>
|
||||
</where>
|
||||
</sql>
|
||||
|
||||
<!-- 分页查询 -->
|
||||
<select id="selectPageRel" resultType="com.gxwebsoft.credit.entity.CreditBankruptcy">
|
||||
<include refid="selectSql"></include>
|
||||
</select>
|
||||
|
||||
<!-- 查询全部 -->
|
||||
<select id="selectListRel" resultType="com.gxwebsoft.credit.entity.CreditBankruptcy">
|
||||
<include refid="selectSql"></include>
|
||||
</select>
|
||||
|
||||
</mapper>
|
||||
@@ -0,0 +1,78 @@
|
||||
<?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.gxwebsoft.credit.mapper.CreditBranchMapper">
|
||||
|
||||
<!-- 关联查询sql -->
|
||||
<sql id="selectSql">
|
||||
SELECT a.*
|
||||
FROM credit_branch a
|
||||
<where>
|
||||
<if test="param.id != null">
|
||||
AND a.id = #{param.id}
|
||||
</if>
|
||||
<if test="param.name != null">
|
||||
AND a.name LIKE CONCAT('%', #{param.name}, '%')
|
||||
</if>
|
||||
<if test="param.curator != null">
|
||||
AND a.curator LIKE CONCAT('%', #{param.curator}, '%')
|
||||
</if>
|
||||
<if test="param.region != null">
|
||||
AND a.region LIKE CONCAT('%', #{param.region}, '%')
|
||||
</if>
|
||||
<if test="param.url != null">
|
||||
AND a.url LIKE CONCAT('%', #{param.url}, '%')
|
||||
</if>
|
||||
<if test="param.establishDate != null">
|
||||
AND a.establish_date LIKE CONCAT('%', #{param.establishDate}, '%')
|
||||
</if>
|
||||
<if test="param.statusText != null">
|
||||
AND a.status_text LIKE CONCAT('%', #{param.statusText}, '%')
|
||||
</if>
|
||||
<if test="param.comments != null">
|
||||
AND a.comments LIKE CONCAT('%', #{param.comments}, '%')
|
||||
</if>
|
||||
<if test="param.companyId != null">
|
||||
AND a.company_id = #{param.companyId}
|
||||
</if>
|
||||
<if test="param.recommend != null">
|
||||
AND a.recommend = #{param.recommend}
|
||||
</if>
|
||||
<if test="param.sortNumber != null">
|
||||
AND a.sort_number = #{param.sortNumber}
|
||||
</if>
|
||||
<if test="param.status != null">
|
||||
AND a.status = #{param.status}
|
||||
</if>
|
||||
<if test="param.deleted != null">
|
||||
AND a.deleted = #{param.deleted}
|
||||
</if>
|
||||
<if test="param.deleted == null">
|
||||
AND a.deleted = 0
|
||||
</if>
|
||||
<if test="param.userId != null">
|
||||
AND a.user_id = #{param.userId}
|
||||
</if>
|
||||
<if test="param.createTimeStart != null">
|
||||
AND a.create_time >= #{param.createTimeStart}
|
||||
</if>
|
||||
<if test="param.createTimeEnd != null">
|
||||
AND a.create_time <= #{param.createTimeEnd}
|
||||
</if>
|
||||
<if test="param.keywords != null">
|
||||
AND (a.comments LIKE CONCAT('%', #{param.keywords}, '%')
|
||||
)
|
||||
</if>
|
||||
</where>
|
||||
</sql>
|
||||
|
||||
<!-- 分页查询 -->
|
||||
<select id="selectPageRel" resultType="com.gxwebsoft.credit.entity.CreditBranch">
|
||||
<include refid="selectSql"></include>
|
||||
</select>
|
||||
|
||||
<!-- 查询全部 -->
|
||||
<select id="selectListRel" resultType="com.gxwebsoft.credit.entity.CreditBranch">
|
||||
<include refid="selectSql"></include>
|
||||
</select>
|
||||
|
||||
</mapper>
|
||||
@@ -0,0 +1,72 @@
|
||||
<?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.gxwebsoft.credit.mapper.CreditHistoricalLegalPersonMapper">
|
||||
|
||||
<!-- 关联查询sql -->
|
||||
<sql id="selectSql">
|
||||
SELECT a.*
|
||||
FROM credit_historical_legal_person a
|
||||
<where>
|
||||
<if test="param.id != null">
|
||||
AND a.id = #{param.id}
|
||||
</if>
|
||||
<if test="param.name != null">
|
||||
AND a.name LIKE CONCAT('%', #{param.name}, '%')
|
||||
</if>
|
||||
<if test="param.registerDate != null">
|
||||
AND a.register_date LIKE CONCAT('%', #{param.registerDate}, '%')
|
||||
</if>
|
||||
<if test="param.publicDate != null">
|
||||
AND a.public_date LIKE CONCAT('%', #{param.publicDate}, '%')
|
||||
</if>
|
||||
<if test="param.url != null">
|
||||
AND a.url LIKE CONCAT('%', #{param.url}, '%')
|
||||
</if>
|
||||
<if test="param.comments != null">
|
||||
AND a.comments LIKE CONCAT('%', #{param.comments}, '%')
|
||||
</if>
|
||||
<if test="param.companyId != null">
|
||||
AND a.company_id = #{param.companyId}
|
||||
</if>
|
||||
<if test="param.recommend != null">
|
||||
AND a.recommend = #{param.recommend}
|
||||
</if>
|
||||
<if test="param.sortNumber != null">
|
||||
AND a.sort_number = #{param.sortNumber}
|
||||
</if>
|
||||
<if test="param.status != null">
|
||||
AND a.status = #{param.status}
|
||||
</if>
|
||||
<if test="param.deleted != null">
|
||||
AND a.deleted = #{param.deleted}
|
||||
</if>
|
||||
<if test="param.deleted == null">
|
||||
AND a.deleted = 0
|
||||
</if>
|
||||
<if test="param.userId != null">
|
||||
AND a.user_id = #{param.userId}
|
||||
</if>
|
||||
<if test="param.createTimeStart != null">
|
||||
AND a.create_time >= #{param.createTimeStart}
|
||||
</if>
|
||||
<if test="param.createTimeEnd != null">
|
||||
AND a.create_time <= #{param.createTimeEnd}
|
||||
</if>
|
||||
<if test="param.keywords != null">
|
||||
AND (a.comments LIKE CONCAT('%', #{param.keywords}, '%')
|
||||
)
|
||||
</if>
|
||||
</where>
|
||||
</sql>
|
||||
|
||||
<!-- 分页查询 -->
|
||||
<select id="selectPageRel" resultType="com.gxwebsoft.credit.entity.CreditHistoricalLegalPerson">
|
||||
<include refid="selectSql"></include>
|
||||
</select>
|
||||
|
||||
<!-- 查询全部 -->
|
||||
<select id="selectListRel" resultType="com.gxwebsoft.credit.entity.CreditHistoricalLegalPerson">
|
||||
<include refid="selectSql"></include>
|
||||
</select>
|
||||
|
||||
</mapper>
|
||||
@@ -64,6 +64,7 @@
|
||||
</if>
|
||||
<if test="param.keywords != null">
|
||||
AND (a.comments LIKE CONCAT('%', #{param.keywords}, '%')
|
||||
OR b.name LIKE CONCAT('%', #{param.keywords}, '%')
|
||||
)
|
||||
</if>
|
||||
</where>
|
||||
|
||||
@@ -0,0 +1,216 @@
|
||||
<?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.gxwebsoft.credit.mapper.CreditNearbyCompanyMapper">
|
||||
|
||||
<!-- 关联查询sql -->
|
||||
<sql id="selectSql">
|
||||
SELECT a.*
|
||||
FROM credit_nearby_company a
|
||||
<where>
|
||||
<if test="param.id != null">
|
||||
AND a.id = #{param.id}
|
||||
</if>
|
||||
<if test="param.name != null">
|
||||
AND a.name LIKE CONCAT('%', #{param.name}, '%')
|
||||
</if>
|
||||
<if test="param.registrationStatus != null">
|
||||
AND a.registration_status LIKE CONCAT('%', #{param.registrationStatus}, '%')
|
||||
</if>
|
||||
<if test="param.legalPerson != null">
|
||||
AND a.legal_person LIKE CONCAT('%', #{param.legalPerson}, '%')
|
||||
</if>
|
||||
<if test="param.registeredCapital != null">
|
||||
AND a.registered_capital LIKE CONCAT('%', #{param.registeredCapital}, '%')
|
||||
</if>
|
||||
<if test="param.establishDate != null">
|
||||
AND a.establish_date LIKE CONCAT('%', #{param.establishDate}, '%')
|
||||
</if>
|
||||
<if test="param.code != null">
|
||||
AND a.code LIKE CONCAT('%', #{param.code}, '%')
|
||||
</if>
|
||||
<if test="param.address != null">
|
||||
AND a.address LIKE CONCAT('%', #{param.address}, '%')
|
||||
</if>
|
||||
<if test="param.postalCode != null">
|
||||
AND a.postal_code LIKE CONCAT('%', #{param.postalCode}, '%')
|
||||
</if>
|
||||
<if test="param.phone != null">
|
||||
AND a.phone LIKE CONCAT('%', #{param.phone}, '%')
|
||||
</if>
|
||||
<if test="param.moreTel != null">
|
||||
AND a.more_tel LIKE CONCAT('%', #{param.moreTel}, '%')
|
||||
</if>
|
||||
<if test="param.email != null">
|
||||
AND a.email LIKE CONCAT('%', #{param.email}, '%')
|
||||
</if>
|
||||
<if test="param.moreEmail != null">
|
||||
AND a.more_email LIKE CONCAT('%', #{param.moreEmail}, '%')
|
||||
</if>
|
||||
<if test="param.country != null">
|
||||
AND a.country LIKE CONCAT('%', #{param.country}, '%')
|
||||
</if>
|
||||
<if test="param.province != null">
|
||||
AND a.province LIKE CONCAT('%', #{param.province}, '%')
|
||||
</if>
|
||||
<if test="param.city != null">
|
||||
AND a.city LIKE CONCAT('%', #{param.city}, '%')
|
||||
</if>
|
||||
<if test="param.region != null">
|
||||
AND a.region LIKE CONCAT('%', #{param.region}, '%')
|
||||
</if>
|
||||
<if test="param.taxpayerCode != null">
|
||||
AND a.taxpayer_code LIKE CONCAT('%', #{param.taxpayerCode}, '%')
|
||||
</if>
|
||||
<if test="param.registrationNumber != null">
|
||||
AND a.registration_number LIKE CONCAT('%', #{param.registrationNumber}, '%')
|
||||
</if>
|
||||
<if test="param.organizationalCode != null">
|
||||
AND a.organizational_code LIKE CONCAT('%', #{param.organizationalCode}, '%')
|
||||
</if>
|
||||
<if test="param.numberOfInsuredPersons != null">
|
||||
AND a.number_of_insured_persons LIKE CONCAT('%', #{param.numberOfInsuredPersons}, '%')
|
||||
</if>
|
||||
<if test="param.annualReport != null">
|
||||
AND a.annual_report LIKE CONCAT('%', #{param.annualReport}, '%')
|
||||
</if>
|
||||
<if test="param.institutionType != null">
|
||||
AND a.institution_type LIKE CONCAT('%', #{param.institutionType}, '%')
|
||||
</if>
|
||||
<if test="param.companySize != null">
|
||||
AND a.company_size LIKE CONCAT('%', #{param.companySize}, '%')
|
||||
</if>
|
||||
<if test="param.businessTerm != null">
|
||||
AND a.business_term LIKE CONCAT('%', #{param.businessTerm}, '%')
|
||||
</if>
|
||||
<if test="param.nationalStandardIndustryCategories != null">
|
||||
AND a.national_standard_industry_categories LIKE CONCAT('%', #{param.nationalStandardIndustryCategories}, '%')
|
||||
</if>
|
||||
<if test="param.nationalStandardIndustryCategories2 != null">
|
||||
AND a.national_standard_industry_categories2 LIKE CONCAT('%', #{param.nationalStandardIndustryCategories2}, '%')
|
||||
</if>
|
||||
<if test="param.nationalStandardIndustryCategories3 != null">
|
||||
AND a.national_standard_industry_categories3 LIKE CONCAT('%', #{param.nationalStandardIndustryCategories3}, '%')
|
||||
</if>
|
||||
<if test="param.nationalStandardIndustryCategories4 != null">
|
||||
AND a.national_standard_industry_categories4 LIKE CONCAT('%', #{param.nationalStandardIndustryCategories4}, '%')
|
||||
</if>
|
||||
<if test="param.formerName != null">
|
||||
AND a.former_name LIKE CONCAT('%', #{param.formerName}, '%')
|
||||
</if>
|
||||
<if test="param.englishName != null">
|
||||
AND a.english_name LIKE CONCAT('%', #{param.englishName}, '%')
|
||||
</if>
|
||||
<if test="param.domain != null">
|
||||
AND a.domain LIKE CONCAT('%', #{param.domain}, '%')
|
||||
</if>
|
||||
<if test="param.mailingAddress != null">
|
||||
AND a.mailing_address LIKE CONCAT('%', #{param.mailingAddress}, '%')
|
||||
</if>
|
||||
<if test="param.mailingEmail != null">
|
||||
AND a.mailing_email LIKE CONCAT('%', #{param.mailingEmail}, '%')
|
||||
</if>
|
||||
<if test="param.companyProfile != null">
|
||||
AND a.company_profile LIKE CONCAT('%', #{param.companyProfile}, '%')
|
||||
</if>
|
||||
<if test="param.natureOfBusiness != null">
|
||||
AND a.nature_of_business LIKE CONCAT('%', #{param.natureOfBusiness}, '%')
|
||||
</if>
|
||||
<if test="param.tel != null">
|
||||
AND a.tel LIKE CONCAT('%', #{param.tel}, '%')
|
||||
</if>
|
||||
<if test="param.nationalStandardIndustryCategories5 != null">
|
||||
AND a.national_standard_industry_categories5 LIKE CONCAT('%', #{param.nationalStandardIndustryCategories5}, '%')
|
||||
</if>
|
||||
<if test="param.nationalStandardIndustryCategories6 != null">
|
||||
AND a.national_standard_industry_categories6 LIKE CONCAT('%', #{param.nationalStandardIndustryCategories6}, '%')
|
||||
</if>
|
||||
<if test="param.nationalStandardIndustryCategories7 != null">
|
||||
AND a.national_standard_industry_categories7 LIKE CONCAT('%', #{param.nationalStandardIndustryCategories7}, '%')
|
||||
</if>
|
||||
<if test="param.nationalStandardIndustryCategories8 != null">
|
||||
AND a.national_standard_industry_categories8 LIKE CONCAT('%', #{param.nationalStandardIndustryCategories8}, '%')
|
||||
</if>
|
||||
<if test="param.url != null">
|
||||
AND a.url LIKE CONCAT('%', #{param.url}, '%')
|
||||
</if>
|
||||
<if test="param.type != null">
|
||||
AND a.type = #{param.type}
|
||||
</if>
|
||||
<if test="param.parentId != null">
|
||||
AND a.parent_id = #{param.parentId}
|
||||
</if>
|
||||
<if test="param.paidinCapital != null">
|
||||
AND a.paidin_capital LIKE CONCAT('%', #{param.paidinCapital}, '%')
|
||||
</if>
|
||||
<if test="param.registrationAuthority != null">
|
||||
AND a.registration_authority LIKE CONCAT('%', #{param.registrationAuthority}, '%')
|
||||
</if>
|
||||
<if test="param.taxpayerQualification != null">
|
||||
AND a.taxpayer_qualification LIKE CONCAT('%', #{param.taxpayerQualification}, '%')
|
||||
</if>
|
||||
<if test="param.latestAnnualReportYear != null">
|
||||
AND a.latest_annual_report_year LIKE CONCAT('%', #{param.latestAnnualReportYear}, '%')
|
||||
</if>
|
||||
<if test="param.latestAnnualReportOnOperatingRevenue != null">
|
||||
AND a.latest_annual_report_on_operating_revenue LIKE CONCAT('%', #{param.latestAnnualReportOnOperatingRevenue}, '%')
|
||||
</if>
|
||||
<if test="param.enterpriseScoreCheck != null">
|
||||
AND a.enterprise_score_check LIKE CONCAT('%', #{param.enterpriseScoreCheck}, '%')
|
||||
</if>
|
||||
<if test="param.creditRating != null">
|
||||
AND a.credit_rating LIKE CONCAT('%', #{param.creditRating}, '%')
|
||||
</if>
|
||||
<if test="param.cechnologyScore != null">
|
||||
AND a.cechnology_score LIKE CONCAT('%', #{param.cechnologyScore}, '%')
|
||||
</if>
|
||||
<if test="param.cechnologyLevel != null">
|
||||
AND a.cechnology_level LIKE CONCAT('%', #{param.cechnologyLevel}, '%')
|
||||
</if>
|
||||
<if test="param.smallEnterprise != null">
|
||||
AND a.small_enterprise LIKE CONCAT('%', #{param.smallEnterprise}, '%')
|
||||
</if>
|
||||
<if test="param.comments != null">
|
||||
AND a.comments LIKE CONCAT('%', #{param.comments}, '%')
|
||||
</if>
|
||||
<if test="param.recommend != null">
|
||||
AND a.recommend = #{param.recommend}
|
||||
</if>
|
||||
<if test="param.sortNumber != null">
|
||||
AND a.sort_number = #{param.sortNumber}
|
||||
</if>
|
||||
<if test="param.status != null">
|
||||
AND a.status = #{param.status}
|
||||
</if>
|
||||
<if test="param.deleted != null">
|
||||
AND a.deleted = #{param.deleted}
|
||||
</if>
|
||||
<if test="param.deleted == null">
|
||||
AND a.deleted = 0
|
||||
</if>
|
||||
<if test="param.userId != null">
|
||||
AND a.user_id = #{param.userId}
|
||||
</if>
|
||||
<if test="param.createTimeStart != null">
|
||||
AND a.create_time >= #{param.createTimeStart}
|
||||
</if>
|
||||
<if test="param.createTimeEnd != null">
|
||||
AND a.create_time <= #{param.createTimeEnd}
|
||||
</if>
|
||||
<if test="param.keywords != null">
|
||||
AND (a.comments LIKE CONCAT('%', #{param.keywords}, '%')
|
||||
)
|
||||
</if>
|
||||
</where>
|
||||
</sql>
|
||||
|
||||
<!-- 分页查询 -->
|
||||
<select id="selectPageRel" resultType="com.gxwebsoft.credit.entity.CreditNearbyCompany">
|
||||
<include refid="selectSql"></include>
|
||||
</select>
|
||||
|
||||
<!-- 查询全部 -->
|
||||
<select id="selectListRel" resultType="com.gxwebsoft.credit.entity.CreditNearbyCompany">
|
||||
<include refid="selectSql"></include>
|
||||
</select>
|
||||
|
||||
</mapper>
|
||||
@@ -0,0 +1,90 @@
|
||||
<?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.gxwebsoft.credit.mapper.CreditPatentMapper">
|
||||
|
||||
<!-- 关联查询sql -->
|
||||
<sql id="selectSql">
|
||||
SELECT a.*
|
||||
FROM credit_patent a
|
||||
<where>
|
||||
<if test="param.id != null">
|
||||
AND a.id = #{param.id}
|
||||
</if>
|
||||
<if test="param.name != null">
|
||||
AND a.name LIKE CONCAT('%', #{param.name}, '%')
|
||||
</if>
|
||||
<if test="param.type != null">
|
||||
AND a.type LIKE CONCAT('%', #{param.type}, '%')
|
||||
</if>
|
||||
<if test="param.statusText != null">
|
||||
AND a.status_text LIKE CONCAT('%', #{param.statusText}, '%')
|
||||
</if>
|
||||
<if test="param.registerNo != null">
|
||||
AND a.register_no LIKE CONCAT('%', #{param.registerNo}, '%')
|
||||
</if>
|
||||
<if test="param.registerDate != null">
|
||||
AND a.register_date LIKE CONCAT('%', #{param.registerDate}, '%')
|
||||
</if>
|
||||
<if test="param.publicNo != null">
|
||||
AND a.public_no LIKE CONCAT('%', #{param.publicNo}, '%')
|
||||
</if>
|
||||
<if test="param.publicDate != null">
|
||||
AND a.public_date LIKE CONCAT('%', #{param.publicDate}, '%')
|
||||
</if>
|
||||
<if test="param.inventor != null">
|
||||
AND a.inventor LIKE CONCAT('%', #{param.inventor}, '%')
|
||||
</if>
|
||||
<if test="param.patentApplicant != null">
|
||||
AND a.patent_applicant LIKE CONCAT('%', #{param.patentApplicant}, '%')
|
||||
</if>
|
||||
<if test="param.url != null">
|
||||
AND a.url LIKE CONCAT('%', #{param.url}, '%')
|
||||
</if>
|
||||
<if test="param.comments != null">
|
||||
AND a.comments LIKE CONCAT('%', #{param.comments}, '%')
|
||||
</if>
|
||||
<if test="param.companyId != null">
|
||||
AND a.company_id = #{param.companyId}
|
||||
</if>
|
||||
<if test="param.recommend != null">
|
||||
AND a.recommend = #{param.recommend}
|
||||
</if>
|
||||
<if test="param.sortNumber != null">
|
||||
AND a.sort_number = #{param.sortNumber}
|
||||
</if>
|
||||
<if test="param.status != null">
|
||||
AND a.status = #{param.status}
|
||||
</if>
|
||||
<if test="param.deleted != null">
|
||||
AND a.deleted = #{param.deleted}
|
||||
</if>
|
||||
<if test="param.deleted == null">
|
||||
AND a.deleted = 0
|
||||
</if>
|
||||
<if test="param.userId != null">
|
||||
AND a.user_id = #{param.userId}
|
||||
</if>
|
||||
<if test="param.createTimeStart != null">
|
||||
AND a.create_time >= #{param.createTimeStart}
|
||||
</if>
|
||||
<if test="param.createTimeEnd != null">
|
||||
AND a.create_time <= #{param.createTimeEnd}
|
||||
</if>
|
||||
<if test="param.keywords != null">
|
||||
AND (a.comments LIKE CONCAT('%', #{param.keywords}, '%')
|
||||
)
|
||||
</if>
|
||||
</where>
|
||||
</sql>
|
||||
|
||||
<!-- 分页查询 -->
|
||||
<select id="selectPageRel" resultType="com.gxwebsoft.credit.entity.CreditPatent">
|
||||
<include refid="selectSql"></include>
|
||||
</select>
|
||||
|
||||
<!-- 查询全部 -->
|
||||
<select id="selectListRel" resultType="com.gxwebsoft.credit.entity.CreditPatent">
|
||||
<include refid="selectSql"></include>
|
||||
</select>
|
||||
|
||||
</mapper>
|
||||
@@ -0,0 +1,87 @@
|
||||
<?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.gxwebsoft.credit.mapper.CreditSuspectedRelationshipMapper">
|
||||
|
||||
<!-- 关联查询sql -->
|
||||
<sql id="selectSql">
|
||||
SELECT a.*
|
||||
FROM credit_suspected_relationship a
|
||||
<where>
|
||||
<if test="param.id != null">
|
||||
AND a.id = #{param.id}
|
||||
</if>
|
||||
<if test="param.name != null">
|
||||
AND a.name LIKE CONCAT('%', #{param.name}, '%')
|
||||
</if>
|
||||
<if test="param.statusText != null">
|
||||
AND a.status_text LIKE CONCAT('%', #{param.statusText}, '%')
|
||||
</if>
|
||||
<if test="param.legalPerson != null">
|
||||
AND a.legal_person LIKE CONCAT('%', #{param.legalPerson}, '%')
|
||||
</if>
|
||||
<if test="param.registeredCapital != null">
|
||||
AND a.registered_capital LIKE CONCAT('%', #{param.registeredCapital}, '%')
|
||||
</if>
|
||||
<if test="param.createDate != null">
|
||||
AND a.create_date LIKE CONCAT('%', #{param.createDate}, '%')
|
||||
</if>
|
||||
<if test="param.relatedParty != null">
|
||||
AND a.related_party LIKE CONCAT('%', #{param.relatedParty}, '%')
|
||||
</if>
|
||||
<if test="param.type != null">
|
||||
AND a.type LIKE CONCAT('%', #{param.type}, '%')
|
||||
</if>
|
||||
<if test="param.detail != null">
|
||||
AND a.detail LIKE CONCAT('%', #{param.detail}, '%')
|
||||
</if>
|
||||
<if test="param.url != null">
|
||||
AND a.url LIKE CONCAT('%', #{param.url}, '%')
|
||||
</if>
|
||||
<if test="param.comments != null">
|
||||
AND a.comments LIKE CONCAT('%', #{param.comments}, '%')
|
||||
</if>
|
||||
<if test="param.companyId != null">
|
||||
AND a.company_id = #{param.companyId}
|
||||
</if>
|
||||
<if test="param.recommend != null">
|
||||
AND a.recommend = #{param.recommend}
|
||||
</if>
|
||||
<if test="param.sortNumber != null">
|
||||
AND a.sort_number = #{param.sortNumber}
|
||||
</if>
|
||||
<if test="param.status != null">
|
||||
AND a.status = #{param.status}
|
||||
</if>
|
||||
<if test="param.deleted != null">
|
||||
AND a.deleted = #{param.deleted}
|
||||
</if>
|
||||
<if test="param.deleted == null">
|
||||
AND a.deleted = 0
|
||||
</if>
|
||||
<if test="param.userId != null">
|
||||
AND a.user_id = #{param.userId}
|
||||
</if>
|
||||
<if test="param.createTimeStart != null">
|
||||
AND a.create_time >= #{param.createTimeStart}
|
||||
</if>
|
||||
<if test="param.createTimeEnd != null">
|
||||
AND a.create_time <= #{param.createTimeEnd}
|
||||
</if>
|
||||
<if test="param.keywords != null">
|
||||
AND (a.comments LIKE CONCAT('%', #{param.keywords}, '%')
|
||||
)
|
||||
</if>
|
||||
</where>
|
||||
</sql>
|
||||
|
||||
<!-- 分页查询 -->
|
||||
<select id="selectPageRel" resultType="com.gxwebsoft.credit.entity.CreditSuspectedRelationship">
|
||||
<include refid="selectSql"></include>
|
||||
</select>
|
||||
|
||||
<!-- 查询全部 -->
|
||||
<select id="selectListRel" resultType="com.gxwebsoft.credit.entity.CreditSuspectedRelationship">
|
||||
<include refid="selectSql"></include>
|
||||
</select>
|
||||
|
||||
</mapper>
|
||||
@@ -0,0 +1,85 @@
|
||||
package com.gxwebsoft.credit.param;
|
||||
|
||||
import com.fasterxml.jackson.annotation.JsonInclude;
|
||||
import com.gxwebsoft.common.core.annotation.QueryField;
|
||||
import com.gxwebsoft.common.core.annotation.QueryType;
|
||||
import com.gxwebsoft.common.core.web.BaseParam;
|
||||
import io.swagger.v3.oas.annotations.media.Schema;
|
||||
import lombok.Data;
|
||||
import lombok.EqualsAndHashCode;
|
||||
|
||||
/**
|
||||
* 行政许可查询参数
|
||||
*
|
||||
* @author 科技小王子
|
||||
* @since 2026-01-07 13:52:13
|
||||
*/
|
||||
@Data
|
||||
@EqualsAndHashCode(callSuper = false)
|
||||
@JsonInclude(JsonInclude.Include.NON_NULL)
|
||||
@Schema(name = "CreditAdministrativeLicenseParam对象", description = "行政许可查询参数")
|
||||
public class CreditAdministrativeLicenseParam extends BaseParam {
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
@Schema(description = "ID")
|
||||
@QueryField(type = QueryType.EQ)
|
||||
private Integer id;
|
||||
|
||||
@Schema(description = "决定文书/许可编号")
|
||||
private String code;
|
||||
|
||||
@Schema(description = "决定文书/许可证名称")
|
||||
private String name;
|
||||
|
||||
@Schema(description = "许可状态")
|
||||
private String statusText;
|
||||
|
||||
@Schema(description = "许可类型")
|
||||
private String type;
|
||||
|
||||
@Schema(description = "链接")
|
||||
private String url;
|
||||
|
||||
@Schema(description = "有效期自")
|
||||
private String validityStart;
|
||||
|
||||
@Schema(description = "有效期至")
|
||||
private String validityEnd;
|
||||
|
||||
@Schema(description = "许可机关")
|
||||
private String licensingAuthority;
|
||||
|
||||
@Schema(description = "许可内容")
|
||||
private String licenseContent;
|
||||
|
||||
@Schema(description = "数据来源单位")
|
||||
private String dataSourceUnit;
|
||||
|
||||
@Schema(description = "备注")
|
||||
private String comments;
|
||||
|
||||
@Schema(description = "企业ID")
|
||||
@QueryField(type = QueryType.EQ)
|
||||
private Integer companyId;
|
||||
|
||||
@Schema(description = "是否推荐")
|
||||
@QueryField(type = QueryType.EQ)
|
||||
private Integer recommend;
|
||||
|
||||
@Schema(description = "排序(数字越小越靠前)")
|
||||
@QueryField(type = QueryType.EQ)
|
||||
private Integer sortNumber;
|
||||
|
||||
@Schema(description = "状态, 0正常, 1冻结")
|
||||
@QueryField(type = QueryType.EQ)
|
||||
private Integer status;
|
||||
|
||||
@Schema(description = "是否删除, 0否, 1是")
|
||||
@QueryField(type = QueryType.EQ)
|
||||
private Integer deleted;
|
||||
|
||||
@Schema(description = "用户ID")
|
||||
@QueryField(type = QueryType.EQ)
|
||||
private Integer userId;
|
||||
|
||||
}
|
||||
@@ -0,0 +1,73 @@
|
||||
package com.gxwebsoft.credit.param;
|
||||
|
||||
import com.fasterxml.jackson.annotation.JsonInclude;
|
||||
import com.gxwebsoft.common.core.annotation.QueryField;
|
||||
import com.gxwebsoft.common.core.annotation.QueryType;
|
||||
import com.gxwebsoft.common.core.web.BaseParam;
|
||||
import io.swagger.v3.oas.annotations.media.Schema;
|
||||
import lombok.Data;
|
||||
import lombok.EqualsAndHashCode;
|
||||
|
||||
/**
|
||||
* 破产重整查询参数
|
||||
*
|
||||
* @author 科技小王子
|
||||
* @since 2026-01-07 13:52:14
|
||||
*/
|
||||
@Data
|
||||
@EqualsAndHashCode(callSuper = false)
|
||||
@JsonInclude(JsonInclude.Include.NON_NULL)
|
||||
@Schema(name = "CreditBankruptcyParam对象", description = "破产重整查询参数")
|
||||
public class CreditBankruptcyParam extends BaseParam {
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
@Schema(description = "ID")
|
||||
@QueryField(type = QueryType.EQ)
|
||||
private Integer id;
|
||||
|
||||
@Schema(description = "案号")
|
||||
private String code;
|
||||
|
||||
@Schema(description = "案件类型")
|
||||
private String type;
|
||||
|
||||
@Schema(description = "当事人")
|
||||
private String party;
|
||||
|
||||
@Schema(description = "链接")
|
||||
private String url;
|
||||
|
||||
@Schema(description = "经办法院")
|
||||
private String court;
|
||||
|
||||
@Schema(description = "公开日期")
|
||||
private String publicDate;
|
||||
|
||||
@Schema(description = "备注")
|
||||
private String comments;
|
||||
|
||||
@Schema(description = "企业ID")
|
||||
@QueryField(type = QueryType.EQ)
|
||||
private Integer companyId;
|
||||
|
||||
@Schema(description = "是否推荐")
|
||||
@QueryField(type = QueryType.EQ)
|
||||
private Integer recommend;
|
||||
|
||||
@Schema(description = "排序(数字越小越靠前)")
|
||||
@QueryField(type = QueryType.EQ)
|
||||
private Integer sortNumber;
|
||||
|
||||
@Schema(description = "状态, 0正常, 1冻结")
|
||||
@QueryField(type = QueryType.EQ)
|
||||
private Integer status;
|
||||
|
||||
@Schema(description = "是否删除, 0否, 1是")
|
||||
@QueryField(type = QueryType.EQ)
|
||||
private Integer deleted;
|
||||
|
||||
@Schema(description = "用户ID")
|
||||
@QueryField(type = QueryType.EQ)
|
||||
private Integer userId;
|
||||
|
||||
}
|
||||
@@ -0,0 +1,73 @@
|
||||
package com.gxwebsoft.credit.param;
|
||||
|
||||
import com.fasterxml.jackson.annotation.JsonInclude;
|
||||
import com.gxwebsoft.common.core.annotation.QueryField;
|
||||
import com.gxwebsoft.common.core.annotation.QueryType;
|
||||
import com.gxwebsoft.common.core.web.BaseParam;
|
||||
import io.swagger.v3.oas.annotations.media.Schema;
|
||||
import lombok.Data;
|
||||
import lombok.EqualsAndHashCode;
|
||||
|
||||
/**
|
||||
* 分支机构查询参数
|
||||
*
|
||||
* @author 科技小王子
|
||||
* @since 2026-01-07 13:52:14
|
||||
*/
|
||||
@Data
|
||||
@EqualsAndHashCode(callSuper = false)
|
||||
@JsonInclude(JsonInclude.Include.NON_NULL)
|
||||
@Schema(name = "CreditBranchParam对象", description = "分支机构查询参数")
|
||||
public class CreditBranchParam extends BaseParam {
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
@Schema(description = "ID")
|
||||
@QueryField(type = QueryType.EQ)
|
||||
private Integer id;
|
||||
|
||||
@Schema(description = "分支机构名称")
|
||||
private String name;
|
||||
|
||||
@Schema(description = "负责人")
|
||||
private String curator;
|
||||
|
||||
@Schema(description = "地区")
|
||||
private String region;
|
||||
|
||||
@Schema(description = "链接")
|
||||
private String url;
|
||||
|
||||
@Schema(description = "成立日期")
|
||||
private String establishDate;
|
||||
|
||||
@Schema(description = "状态")
|
||||
private String statusText;
|
||||
|
||||
@Schema(description = "备注")
|
||||
private String comments;
|
||||
|
||||
@Schema(description = "企业ID")
|
||||
@QueryField(type = QueryType.EQ)
|
||||
private Integer companyId;
|
||||
|
||||
@Schema(description = "是否推荐")
|
||||
@QueryField(type = QueryType.EQ)
|
||||
private Integer recommend;
|
||||
|
||||
@Schema(description = "排序(数字越小越靠前)")
|
||||
@QueryField(type = QueryType.EQ)
|
||||
private Integer sortNumber;
|
||||
|
||||
@Schema(description = "状态, 0正常, 1冻结")
|
||||
@QueryField(type = QueryType.EQ)
|
||||
private Integer status;
|
||||
|
||||
@Schema(description = "是否删除, 0否, 1是")
|
||||
@QueryField(type = QueryType.EQ)
|
||||
private Integer deleted;
|
||||
|
||||
@Schema(description = "用户ID")
|
||||
@QueryField(type = QueryType.EQ)
|
||||
private Integer userId;
|
||||
|
||||
}
|
||||
@@ -0,0 +1,67 @@
|
||||
package com.gxwebsoft.credit.param;
|
||||
|
||||
import com.fasterxml.jackson.annotation.JsonInclude;
|
||||
import com.gxwebsoft.common.core.annotation.QueryField;
|
||||
import com.gxwebsoft.common.core.annotation.QueryType;
|
||||
import com.gxwebsoft.common.core.web.BaseParam;
|
||||
import io.swagger.v3.oas.annotations.media.Schema;
|
||||
import lombok.Data;
|
||||
import lombok.EqualsAndHashCode;
|
||||
|
||||
/**
|
||||
* 历史法定代表人查询参数
|
||||
*
|
||||
* @author 科技小王子
|
||||
* @since 2026-01-07 13:52:14
|
||||
*/
|
||||
@Data
|
||||
@EqualsAndHashCode(callSuper = false)
|
||||
@JsonInclude(JsonInclude.Include.NON_NULL)
|
||||
@Schema(name = "CreditHistoricalLegalPersonParam对象", description = "历史法定代表人查询参数")
|
||||
public class CreditHistoricalLegalPersonParam extends BaseParam {
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
@Schema(description = "ID")
|
||||
@QueryField(type = QueryType.EQ)
|
||||
private Integer id;
|
||||
|
||||
@Schema(description = "名称")
|
||||
private String name;
|
||||
|
||||
@Schema(description = "任职日期")
|
||||
private String registerDate;
|
||||
|
||||
@Schema(description = "卸任日期")
|
||||
private String publicDate;
|
||||
|
||||
@Schema(description = "链接")
|
||||
private String url;
|
||||
|
||||
@Schema(description = "备注")
|
||||
private String comments;
|
||||
|
||||
@Schema(description = "企业ID")
|
||||
@QueryField(type = QueryType.EQ)
|
||||
private Integer companyId;
|
||||
|
||||
@Schema(description = "是否推荐")
|
||||
@QueryField(type = QueryType.EQ)
|
||||
private Integer recommend;
|
||||
|
||||
@Schema(description = "排序(数字越小越靠前)")
|
||||
@QueryField(type = QueryType.EQ)
|
||||
private Integer sortNumber;
|
||||
|
||||
@Schema(description = "状态, 0正常, 1冻结")
|
||||
@QueryField(type = QueryType.EQ)
|
||||
private Integer status;
|
||||
|
||||
@Schema(description = "是否删除, 0否, 1是")
|
||||
@QueryField(type = QueryType.EQ)
|
||||
private Integer deleted;
|
||||
|
||||
@Schema(description = "用户ID")
|
||||
@QueryField(type = QueryType.EQ)
|
||||
private Integer userId;
|
||||
|
||||
}
|
||||
@@ -0,0 +1,212 @@
|
||||
package com.gxwebsoft.credit.param;
|
||||
|
||||
import com.fasterxml.jackson.annotation.JsonInclude;
|
||||
import com.gxwebsoft.common.core.annotation.QueryField;
|
||||
import com.gxwebsoft.common.core.annotation.QueryType;
|
||||
import com.gxwebsoft.common.core.web.BaseParam;
|
||||
import io.swagger.v3.oas.annotations.media.Schema;
|
||||
import lombok.Data;
|
||||
import lombok.EqualsAndHashCode;
|
||||
|
||||
/**
|
||||
* 附近企业查询参数
|
||||
*
|
||||
* @author 科技小王子
|
||||
* @since 2026-01-07 13:52:14
|
||||
*/
|
||||
@Data
|
||||
@EqualsAndHashCode(callSuper = false)
|
||||
@JsonInclude(JsonInclude.Include.NON_NULL)
|
||||
@Schema(name = "CreditNearbyCompanyParam对象", description = "附近企业查询参数")
|
||||
public class CreditNearbyCompanyParam extends BaseParam {
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
@Schema(description = "ID")
|
||||
@QueryField(type = QueryType.EQ)
|
||||
private Integer id;
|
||||
|
||||
@Schema(description = "企业名称")
|
||||
private String name;
|
||||
|
||||
@Schema(description = "登记状态")
|
||||
private String registrationStatus;
|
||||
|
||||
@Schema(description = "法定代表人")
|
||||
private String legalPerson;
|
||||
|
||||
@Schema(description = "注册资本")
|
||||
private String registeredCapital;
|
||||
|
||||
@Schema(description = "成立日期")
|
||||
private String establishDate;
|
||||
|
||||
@Schema(description = "统一社会信用代码")
|
||||
private String code;
|
||||
|
||||
@Schema(description = "注册地址")
|
||||
private String address;
|
||||
|
||||
@Schema(description = "注册地址邮编")
|
||||
private String postalCode;
|
||||
|
||||
@Schema(description = "有效手机号")
|
||||
private String phone;
|
||||
|
||||
@Schema(description = "更多电话")
|
||||
private String moreTel;
|
||||
|
||||
@Schema(description = "邮箱")
|
||||
private String email;
|
||||
|
||||
@Schema(description = "邮箱")
|
||||
private String moreEmail;
|
||||
|
||||
@Schema(description = "所在国家")
|
||||
private String country;
|
||||
|
||||
@Schema(description = "所属省份")
|
||||
private String province;
|
||||
|
||||
@Schema(description = "所属城市")
|
||||
private String city;
|
||||
|
||||
@Schema(description = "所属区县")
|
||||
private String region;
|
||||
|
||||
@Schema(description = "纳税人识别号")
|
||||
private String taxpayerCode;
|
||||
|
||||
@Schema(description = "注册号")
|
||||
private String registrationNumber;
|
||||
|
||||
@Schema(description = "组织机构代码")
|
||||
private String organizationalCode;
|
||||
|
||||
@Schema(description = "参保人数")
|
||||
private String numberOfInsuredPersons;
|
||||
|
||||
@Schema(description = "参保人数所属年报")
|
||||
private String annualReport;
|
||||
|
||||
@Schema(description = "企业(机构)类型")
|
||||
private String institutionType;
|
||||
|
||||
@Schema(description = "企业规模")
|
||||
private String companySize;
|
||||
|
||||
@Schema(description = "营业期限")
|
||||
private String businessTerm;
|
||||
|
||||
@Schema(description = "国标行业门类")
|
||||
private String nationalStandardIndustryCategories;
|
||||
|
||||
@Schema(description = "国标行业大类")
|
||||
private String nationalStandardIndustryCategories2;
|
||||
|
||||
@Schema(description = "国标行业中类")
|
||||
private String nationalStandardIndustryCategories3;
|
||||
|
||||
@Schema(description = "国标行业小类")
|
||||
private String nationalStandardIndustryCategories4;
|
||||
|
||||
@Schema(description = "曾用名")
|
||||
private String formerName;
|
||||
|
||||
@Schema(description = "英文名")
|
||||
private String englishName;
|
||||
|
||||
@Schema(description = "官网网址")
|
||||
private String domain;
|
||||
|
||||
@Schema(description = "通信地址")
|
||||
private String mailingAddress;
|
||||
|
||||
@Schema(description = "通信地址邮箱")
|
||||
private String mailingEmail;
|
||||
|
||||
@Schema(description = "企业简介")
|
||||
private String companyProfile;
|
||||
|
||||
@Schema(description = "经营范围")
|
||||
private String natureOfBusiness;
|
||||
|
||||
@Schema(description = "电话")
|
||||
private String tel;
|
||||
|
||||
@Schema(description = "企查查行业门类")
|
||||
private String nationalStandardIndustryCategories5;
|
||||
|
||||
@Schema(description = "企查查行业大类")
|
||||
private String nationalStandardIndustryCategories6;
|
||||
|
||||
@Schema(description = "企查查行业中类")
|
||||
private String nationalStandardIndustryCategories7;
|
||||
|
||||
@Schema(description = "企查查行业小类")
|
||||
private String nationalStandardIndustryCategories8;
|
||||
|
||||
@Schema(description = "链接")
|
||||
private String url;
|
||||
|
||||
@Schema(description = "类型")
|
||||
@QueryField(type = QueryType.EQ)
|
||||
private Integer type;
|
||||
|
||||
@Schema(description = "上级id, 0是顶级")
|
||||
@QueryField(type = QueryType.EQ)
|
||||
private Integer parentId;
|
||||
|
||||
@Schema(description = "实缴资本")
|
||||
private String paidinCapital;
|
||||
|
||||
@Schema(description = "登记机关")
|
||||
private String registrationAuthority;
|
||||
|
||||
@Schema(description = "纳税人资质")
|
||||
private String taxpayerQualification;
|
||||
|
||||
@Schema(description = "最新年报年份")
|
||||
private String latestAnnualReportYear;
|
||||
|
||||
@Schema(description = "最新年报营业收入")
|
||||
private String latestAnnualReportOnOperatingRevenue;
|
||||
|
||||
@Schema(description = "企查分")
|
||||
private String enterpriseScoreCheck;
|
||||
|
||||
@Schema(description = "信用等级")
|
||||
private String creditRating;
|
||||
|
||||
@Schema(description = "科创分")
|
||||
private String cechnologyScore;
|
||||
|
||||
@Schema(description = "科创等级")
|
||||
private String cechnologyLevel;
|
||||
|
||||
@Schema(description = "是否小微企业")
|
||||
private String smallEnterprise;
|
||||
|
||||
@Schema(description = "备注")
|
||||
private String comments;
|
||||
|
||||
@Schema(description = "是否推荐")
|
||||
@QueryField(type = QueryType.EQ)
|
||||
private Integer recommend;
|
||||
|
||||
@Schema(description = "排序(数字越小越靠前)")
|
||||
@QueryField(type = QueryType.EQ)
|
||||
private Integer sortNumber;
|
||||
|
||||
@Schema(description = "状态, 0正常, 1冻结")
|
||||
@QueryField(type = QueryType.EQ)
|
||||
private Integer status;
|
||||
|
||||
@Schema(description = "是否删除, 0否, 1是")
|
||||
@QueryField(type = QueryType.EQ)
|
||||
private Integer deleted;
|
||||
|
||||
@Schema(description = "用户ID")
|
||||
@QueryField(type = QueryType.EQ)
|
||||
private Integer userId;
|
||||
|
||||
}
|
||||
@@ -0,0 +1,85 @@
|
||||
package com.gxwebsoft.credit.param;
|
||||
|
||||
import com.fasterxml.jackson.annotation.JsonInclude;
|
||||
import com.gxwebsoft.common.core.annotation.QueryField;
|
||||
import com.gxwebsoft.common.core.annotation.QueryType;
|
||||
import com.gxwebsoft.common.core.web.BaseParam;
|
||||
import io.swagger.v3.oas.annotations.media.Schema;
|
||||
import lombok.Data;
|
||||
import lombok.EqualsAndHashCode;
|
||||
|
||||
/**
|
||||
* 专利查询参数
|
||||
*
|
||||
* @author 科技小王子
|
||||
* @since 2026-01-07 13:52:14
|
||||
*/
|
||||
@Data
|
||||
@EqualsAndHashCode(callSuper = false)
|
||||
@JsonInclude(JsonInclude.Include.NON_NULL)
|
||||
@Schema(name = "CreditPatentParam对象", description = "专利查询参数")
|
||||
public class CreditPatentParam extends BaseParam {
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
@Schema(description = "ID")
|
||||
@QueryField(type = QueryType.EQ)
|
||||
private Integer id;
|
||||
|
||||
@Schema(description = "发明名称")
|
||||
private String name;
|
||||
|
||||
@Schema(description = "专利类型")
|
||||
private String type;
|
||||
|
||||
@Schema(description = "法律状态")
|
||||
private String statusText;
|
||||
|
||||
@Schema(description = "申请号")
|
||||
private String registerNo;
|
||||
|
||||
@Schema(description = "申请日")
|
||||
private String registerDate;
|
||||
|
||||
@Schema(description = "公开(公告)号")
|
||||
private String publicNo;
|
||||
|
||||
@Schema(description = "公开(公告)日期")
|
||||
private String publicDate;
|
||||
|
||||
@Schema(description = "发明人")
|
||||
private String inventor;
|
||||
|
||||
@Schema(description = "申请(专利权)人")
|
||||
private String patentApplicant;
|
||||
|
||||
@Schema(description = "链接")
|
||||
private String url;
|
||||
|
||||
@Schema(description = "备注")
|
||||
private String comments;
|
||||
|
||||
@Schema(description = "企业ID")
|
||||
@QueryField(type = QueryType.EQ)
|
||||
private Integer companyId;
|
||||
|
||||
@Schema(description = "是否推荐")
|
||||
@QueryField(type = QueryType.EQ)
|
||||
private Integer recommend;
|
||||
|
||||
@Schema(description = "排序(数字越小越靠前)")
|
||||
@QueryField(type = QueryType.EQ)
|
||||
private Integer sortNumber;
|
||||
|
||||
@Schema(description = "状态, 0正常, 1冻结")
|
||||
@QueryField(type = QueryType.EQ)
|
||||
private Integer status;
|
||||
|
||||
@Schema(description = "是否删除, 0否, 1是")
|
||||
@QueryField(type = QueryType.EQ)
|
||||
private Integer deleted;
|
||||
|
||||
@Schema(description = "用户ID")
|
||||
@QueryField(type = QueryType.EQ)
|
||||
private Integer userId;
|
||||
|
||||
}
|
||||
@@ -0,0 +1,82 @@
|
||||
package com.gxwebsoft.credit.param;
|
||||
|
||||
import com.fasterxml.jackson.annotation.JsonInclude;
|
||||
import com.gxwebsoft.common.core.annotation.QueryField;
|
||||
import com.gxwebsoft.common.core.annotation.QueryType;
|
||||
import com.gxwebsoft.common.core.web.BaseParam;
|
||||
import io.swagger.v3.oas.annotations.media.Schema;
|
||||
import lombok.Data;
|
||||
import lombok.EqualsAndHashCode;
|
||||
|
||||
/**
|
||||
* 疑似关系查询参数
|
||||
*
|
||||
* @author 科技小王子
|
||||
* @since 2026-01-07 13:52:14
|
||||
*/
|
||||
@Data
|
||||
@EqualsAndHashCode(callSuper = false)
|
||||
@JsonInclude(JsonInclude.Include.NON_NULL)
|
||||
@Schema(name = "CreditSuspectedRelationshipParam对象", description = "疑似关系查询参数")
|
||||
public class CreditSuspectedRelationshipParam extends BaseParam {
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
@Schema(description = "ID")
|
||||
@QueryField(type = QueryType.EQ)
|
||||
private Integer id;
|
||||
|
||||
@Schema(description = "企业名称")
|
||||
private String name;
|
||||
|
||||
@Schema(description = "状态")
|
||||
private String statusText;
|
||||
|
||||
@Schema(description = "法定代表人")
|
||||
private String legalPerson;
|
||||
|
||||
@Schema(description = "注册资本")
|
||||
private String registeredCapital;
|
||||
|
||||
@Schema(description = "成立日期")
|
||||
private String createDate;
|
||||
|
||||
@Schema(description = "关联方")
|
||||
private String relatedParty;
|
||||
|
||||
@Schema(description = "疑似关系类型")
|
||||
private String type;
|
||||
|
||||
@Schema(description = "疑似关系详情")
|
||||
private String detail;
|
||||
|
||||
@Schema(description = "链接")
|
||||
private String url;
|
||||
|
||||
@Schema(description = "备注")
|
||||
private String comments;
|
||||
|
||||
@Schema(description = "企业ID")
|
||||
@QueryField(type = QueryType.EQ)
|
||||
private Integer companyId;
|
||||
|
||||
@Schema(description = "是否推荐")
|
||||
@QueryField(type = QueryType.EQ)
|
||||
private Integer recommend;
|
||||
|
||||
@Schema(description = "排序(数字越小越靠前)")
|
||||
@QueryField(type = QueryType.EQ)
|
||||
private Integer sortNumber;
|
||||
|
||||
@Schema(description = "状态, 0正常, 1冻结")
|
||||
@QueryField(type = QueryType.EQ)
|
||||
private Integer status;
|
||||
|
||||
@Schema(description = "是否删除, 0否, 1是")
|
||||
@QueryField(type = QueryType.EQ)
|
||||
private Integer deleted;
|
||||
|
||||
@Schema(description = "用户ID")
|
||||
@QueryField(type = QueryType.EQ)
|
||||
private Integer userId;
|
||||
|
||||
}
|
||||
@@ -0,0 +1,42 @@
|
||||
package com.gxwebsoft.credit.service;
|
||||
|
||||
import com.baomidou.mybatisplus.extension.service.IService;
|
||||
import com.gxwebsoft.common.core.web.PageResult;
|
||||
import com.gxwebsoft.credit.entity.CreditAdministrativeLicense;
|
||||
import com.gxwebsoft.credit.param.CreditAdministrativeLicenseParam;
|
||||
|
||||
import java.util.List;
|
||||
|
||||
/**
|
||||
* 行政许可Service
|
||||
*
|
||||
* @author 科技小王子
|
||||
* @since 2026-01-07 13:52:13
|
||||
*/
|
||||
public interface CreditAdministrativeLicenseService extends IService<CreditAdministrativeLicense> {
|
||||
|
||||
/**
|
||||
* 分页关联查询
|
||||
*
|
||||
* @param param 查询参数
|
||||
* @return PageResult<CreditAdministrativeLicense>
|
||||
*/
|
||||
PageResult<CreditAdministrativeLicense> pageRel(CreditAdministrativeLicenseParam param);
|
||||
|
||||
/**
|
||||
* 关联查询全部
|
||||
*
|
||||
* @param param 查询参数
|
||||
* @return List<CreditAdministrativeLicense>
|
||||
*/
|
||||
List<CreditAdministrativeLicense> listRel(CreditAdministrativeLicenseParam param);
|
||||
|
||||
/**
|
||||
* 根据id查询
|
||||
*
|
||||
* @param id ID
|
||||
* @return CreditAdministrativeLicense
|
||||
*/
|
||||
CreditAdministrativeLicense getByIdRel(Integer id);
|
||||
|
||||
}
|
||||
@@ -0,0 +1,42 @@
|
||||
package com.gxwebsoft.credit.service;
|
||||
|
||||
import com.baomidou.mybatisplus.extension.service.IService;
|
||||
import com.gxwebsoft.common.core.web.PageResult;
|
||||
import com.gxwebsoft.credit.entity.CreditBankruptcy;
|
||||
import com.gxwebsoft.credit.param.CreditBankruptcyParam;
|
||||
|
||||
import java.util.List;
|
||||
|
||||
/**
|
||||
* 破产重整Service
|
||||
*
|
||||
* @author 科技小王子
|
||||
* @since 2026-01-07 13:52:14
|
||||
*/
|
||||
public interface CreditBankruptcyService extends IService<CreditBankruptcy> {
|
||||
|
||||
/**
|
||||
* 分页关联查询
|
||||
*
|
||||
* @param param 查询参数
|
||||
* @return PageResult<CreditBankruptcy>
|
||||
*/
|
||||
PageResult<CreditBankruptcy> pageRel(CreditBankruptcyParam param);
|
||||
|
||||
/**
|
||||
* 关联查询全部
|
||||
*
|
||||
* @param param 查询参数
|
||||
* @return List<CreditBankruptcy>
|
||||
*/
|
||||
List<CreditBankruptcy> listRel(CreditBankruptcyParam param);
|
||||
|
||||
/**
|
||||
* 根据id查询
|
||||
*
|
||||
* @param id ID
|
||||
* @return CreditBankruptcy
|
||||
*/
|
||||
CreditBankruptcy getByIdRel(Integer id);
|
||||
|
||||
}
|
||||
@@ -0,0 +1,42 @@
|
||||
package com.gxwebsoft.credit.service;
|
||||
|
||||
import com.baomidou.mybatisplus.extension.service.IService;
|
||||
import com.gxwebsoft.common.core.web.PageResult;
|
||||
import com.gxwebsoft.credit.entity.CreditBranch;
|
||||
import com.gxwebsoft.credit.param.CreditBranchParam;
|
||||
|
||||
import java.util.List;
|
||||
|
||||
/**
|
||||
* 分支机构Service
|
||||
*
|
||||
* @author 科技小王子
|
||||
* @since 2026-01-07 13:52:14
|
||||
*/
|
||||
public interface CreditBranchService extends IService<CreditBranch> {
|
||||
|
||||
/**
|
||||
* 分页关联查询
|
||||
*
|
||||
* @param param 查询参数
|
||||
* @return PageResult<CreditBranch>
|
||||
*/
|
||||
PageResult<CreditBranch> pageRel(CreditBranchParam param);
|
||||
|
||||
/**
|
||||
* 关联查询全部
|
||||
*
|
||||
* @param param 查询参数
|
||||
* @return List<CreditBranch>
|
||||
*/
|
||||
List<CreditBranch> listRel(CreditBranchParam param);
|
||||
|
||||
/**
|
||||
* 根据id查询
|
||||
*
|
||||
* @param id ID
|
||||
* @return CreditBranch
|
||||
*/
|
||||
CreditBranch getByIdRel(Integer id);
|
||||
|
||||
}
|
||||
@@ -0,0 +1,42 @@
|
||||
package com.gxwebsoft.credit.service;
|
||||
|
||||
import com.baomidou.mybatisplus.extension.service.IService;
|
||||
import com.gxwebsoft.common.core.web.PageResult;
|
||||
import com.gxwebsoft.credit.entity.CreditHistoricalLegalPerson;
|
||||
import com.gxwebsoft.credit.param.CreditHistoricalLegalPersonParam;
|
||||
|
||||
import java.util.List;
|
||||
|
||||
/**
|
||||
* 历史法定代表人Service
|
||||
*
|
||||
* @author 科技小王子
|
||||
* @since 2026-01-07 13:52:14
|
||||
*/
|
||||
public interface CreditHistoricalLegalPersonService extends IService<CreditHistoricalLegalPerson> {
|
||||
|
||||
/**
|
||||
* 分页关联查询
|
||||
*
|
||||
* @param param 查询参数
|
||||
* @return PageResult<CreditHistoricalLegalPerson>
|
||||
*/
|
||||
PageResult<CreditHistoricalLegalPerson> pageRel(CreditHistoricalLegalPersonParam param);
|
||||
|
||||
/**
|
||||
* 关联查询全部
|
||||
*
|
||||
* @param param 查询参数
|
||||
* @return List<CreditHistoricalLegalPerson>
|
||||
*/
|
||||
List<CreditHistoricalLegalPerson> listRel(CreditHistoricalLegalPersonParam param);
|
||||
|
||||
/**
|
||||
* 根据id查询
|
||||
*
|
||||
* @param id ID
|
||||
* @return CreditHistoricalLegalPerson
|
||||
*/
|
||||
CreditHistoricalLegalPerson getByIdRel(Integer id);
|
||||
|
||||
}
|
||||
@@ -0,0 +1,42 @@
|
||||
package com.gxwebsoft.credit.service;
|
||||
|
||||
import com.baomidou.mybatisplus.extension.service.IService;
|
||||
import com.gxwebsoft.common.core.web.PageResult;
|
||||
import com.gxwebsoft.credit.entity.CreditNearbyCompany;
|
||||
import com.gxwebsoft.credit.param.CreditNearbyCompanyParam;
|
||||
|
||||
import java.util.List;
|
||||
|
||||
/**
|
||||
* 附近企业Service
|
||||
*
|
||||
* @author 科技小王子
|
||||
* @since 2026-01-07 13:52:14
|
||||
*/
|
||||
public interface CreditNearbyCompanyService extends IService<CreditNearbyCompany> {
|
||||
|
||||
/**
|
||||
* 分页关联查询
|
||||
*
|
||||
* @param param 查询参数
|
||||
* @return PageResult<CreditNearbyCompany>
|
||||
*/
|
||||
PageResult<CreditNearbyCompany> pageRel(CreditNearbyCompanyParam param);
|
||||
|
||||
/**
|
||||
* 关联查询全部
|
||||
*
|
||||
* @param param 查询参数
|
||||
* @return List<CreditNearbyCompany>
|
||||
*/
|
||||
List<CreditNearbyCompany> listRel(CreditNearbyCompanyParam param);
|
||||
|
||||
/**
|
||||
* 根据id查询
|
||||
*
|
||||
* @param id ID
|
||||
* @return CreditNearbyCompany
|
||||
*/
|
||||
CreditNearbyCompany getByIdRel(Integer id);
|
||||
|
||||
}
|
||||
@@ -0,0 +1,42 @@
|
||||
package com.gxwebsoft.credit.service;
|
||||
|
||||
import com.baomidou.mybatisplus.extension.service.IService;
|
||||
import com.gxwebsoft.common.core.web.PageResult;
|
||||
import com.gxwebsoft.credit.entity.CreditPatent;
|
||||
import com.gxwebsoft.credit.param.CreditPatentParam;
|
||||
|
||||
import java.util.List;
|
||||
|
||||
/**
|
||||
* 专利Service
|
||||
*
|
||||
* @author 科技小王子
|
||||
* @since 2026-01-07 13:52:14
|
||||
*/
|
||||
public interface CreditPatentService extends IService<CreditPatent> {
|
||||
|
||||
/**
|
||||
* 分页关联查询
|
||||
*
|
||||
* @param param 查询参数
|
||||
* @return PageResult<CreditPatent>
|
||||
*/
|
||||
PageResult<CreditPatent> pageRel(CreditPatentParam param);
|
||||
|
||||
/**
|
||||
* 关联查询全部
|
||||
*
|
||||
* @param param 查询参数
|
||||
* @return List<CreditPatent>
|
||||
*/
|
||||
List<CreditPatent> listRel(CreditPatentParam param);
|
||||
|
||||
/**
|
||||
* 根据id查询
|
||||
*
|
||||
* @param id ID
|
||||
* @return CreditPatent
|
||||
*/
|
||||
CreditPatent getByIdRel(Integer id);
|
||||
|
||||
}
|
||||
@@ -0,0 +1,42 @@
|
||||
package com.gxwebsoft.credit.service;
|
||||
|
||||
import com.baomidou.mybatisplus.extension.service.IService;
|
||||
import com.gxwebsoft.common.core.web.PageResult;
|
||||
import com.gxwebsoft.credit.entity.CreditSuspectedRelationship;
|
||||
import com.gxwebsoft.credit.param.CreditSuspectedRelationshipParam;
|
||||
|
||||
import java.util.List;
|
||||
|
||||
/**
|
||||
* 疑似关系Service
|
||||
*
|
||||
* @author 科技小王子
|
||||
* @since 2026-01-07 13:52:14
|
||||
*/
|
||||
public interface CreditSuspectedRelationshipService extends IService<CreditSuspectedRelationship> {
|
||||
|
||||
/**
|
||||
* 分页关联查询
|
||||
*
|
||||
* @param param 查询参数
|
||||
* @return PageResult<CreditSuspectedRelationship>
|
||||
*/
|
||||
PageResult<CreditSuspectedRelationship> pageRel(CreditSuspectedRelationshipParam param);
|
||||
|
||||
/**
|
||||
* 关联查询全部
|
||||
*
|
||||
* @param param 查询参数
|
||||
* @return List<CreditSuspectedRelationship>
|
||||
*/
|
||||
List<CreditSuspectedRelationship> listRel(CreditSuspectedRelationshipParam param);
|
||||
|
||||
/**
|
||||
* 根据id查询
|
||||
*
|
||||
* @param id ID
|
||||
* @return CreditSuspectedRelationship
|
||||
*/
|
||||
CreditSuspectedRelationship getByIdRel(Integer id);
|
||||
|
||||
}
|
||||
@@ -0,0 +1,47 @@
|
||||
package com.gxwebsoft.credit.service.impl;
|
||||
|
||||
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
|
||||
import com.gxwebsoft.common.core.web.PageParam;
|
||||
import com.gxwebsoft.common.core.web.PageResult;
|
||||
import com.gxwebsoft.credit.entity.CreditAdministrativeLicense;
|
||||
import com.gxwebsoft.credit.mapper.CreditAdministrativeLicenseMapper;
|
||||
import com.gxwebsoft.credit.param.CreditAdministrativeLicenseParam;
|
||||
import com.gxwebsoft.credit.service.CreditAdministrativeLicenseService;
|
||||
import org.springframework.stereotype.Service;
|
||||
|
||||
import java.util.List;
|
||||
|
||||
/**
|
||||
* 行政许可Service实现
|
||||
*
|
||||
* @author 科技小王子
|
||||
* @since 2026-01-07 13:52:13
|
||||
*/
|
||||
@Service
|
||||
public class CreditAdministrativeLicenseServiceImpl extends ServiceImpl<CreditAdministrativeLicenseMapper, CreditAdministrativeLicense> implements CreditAdministrativeLicenseService {
|
||||
|
||||
@Override
|
||||
public PageResult<CreditAdministrativeLicense> pageRel(CreditAdministrativeLicenseParam param) {
|
||||
PageParam<CreditAdministrativeLicense, CreditAdministrativeLicenseParam> page = new PageParam<>(param);
|
||||
page.setDefaultOrder("sort_number asc, create_time desc");
|
||||
List<CreditAdministrativeLicense> list = baseMapper.selectPageRel(page, param);
|
||||
return new PageResult<>(list, page.getTotal());
|
||||
}
|
||||
|
||||
@Override
|
||||
public List<CreditAdministrativeLicense> listRel(CreditAdministrativeLicenseParam param) {
|
||||
List<CreditAdministrativeLicense> list = baseMapper.selectListRel(param);
|
||||
// 排序
|
||||
PageParam<CreditAdministrativeLicense, CreditAdministrativeLicenseParam> page = new PageParam<>();
|
||||
page.setDefaultOrder("sort_number asc, create_time desc");
|
||||
return page.sortRecords(list);
|
||||
}
|
||||
|
||||
@Override
|
||||
public CreditAdministrativeLicense getByIdRel(Integer id) {
|
||||
CreditAdministrativeLicenseParam param = new CreditAdministrativeLicenseParam();
|
||||
param.setId(id);
|
||||
return param.getOne(baseMapper.selectListRel(param));
|
||||
}
|
||||
|
||||
}
|
||||
@@ -0,0 +1,47 @@
|
||||
package com.gxwebsoft.credit.service.impl;
|
||||
|
||||
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
|
||||
import com.gxwebsoft.common.core.web.PageParam;
|
||||
import com.gxwebsoft.common.core.web.PageResult;
|
||||
import com.gxwebsoft.credit.entity.CreditBankruptcy;
|
||||
import com.gxwebsoft.credit.mapper.CreditBankruptcyMapper;
|
||||
import com.gxwebsoft.credit.param.CreditBankruptcyParam;
|
||||
import com.gxwebsoft.credit.service.CreditBankruptcyService;
|
||||
import org.springframework.stereotype.Service;
|
||||
|
||||
import java.util.List;
|
||||
|
||||
/**
|
||||
* 破产重整Service实现
|
||||
*
|
||||
* @author 科技小王子
|
||||
* @since 2026-01-07 13:52:14
|
||||
*/
|
||||
@Service
|
||||
public class CreditBankruptcyServiceImpl extends ServiceImpl<CreditBankruptcyMapper, CreditBankruptcy> implements CreditBankruptcyService {
|
||||
|
||||
@Override
|
||||
public PageResult<CreditBankruptcy> pageRel(CreditBankruptcyParam param) {
|
||||
PageParam<CreditBankruptcy, CreditBankruptcyParam> page = new PageParam<>(param);
|
||||
page.setDefaultOrder("sort_number asc, create_time desc");
|
||||
List<CreditBankruptcy> list = baseMapper.selectPageRel(page, param);
|
||||
return new PageResult<>(list, page.getTotal());
|
||||
}
|
||||
|
||||
@Override
|
||||
public List<CreditBankruptcy> listRel(CreditBankruptcyParam param) {
|
||||
List<CreditBankruptcy> list = baseMapper.selectListRel(param);
|
||||
// 排序
|
||||
PageParam<CreditBankruptcy, CreditBankruptcyParam> page = new PageParam<>();
|
||||
page.setDefaultOrder("sort_number asc, create_time desc");
|
||||
return page.sortRecords(list);
|
||||
}
|
||||
|
||||
@Override
|
||||
public CreditBankruptcy getByIdRel(Integer id) {
|
||||
CreditBankruptcyParam param = new CreditBankruptcyParam();
|
||||
param.setId(id);
|
||||
return param.getOne(baseMapper.selectListRel(param));
|
||||
}
|
||||
|
||||
}
|
||||
@@ -0,0 +1,47 @@
|
||||
package com.gxwebsoft.credit.service.impl;
|
||||
|
||||
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
|
||||
import com.gxwebsoft.common.core.web.PageParam;
|
||||
import com.gxwebsoft.common.core.web.PageResult;
|
||||
import com.gxwebsoft.credit.entity.CreditBranch;
|
||||
import com.gxwebsoft.credit.mapper.CreditBranchMapper;
|
||||
import com.gxwebsoft.credit.param.CreditBranchParam;
|
||||
import com.gxwebsoft.credit.service.CreditBranchService;
|
||||
import org.springframework.stereotype.Service;
|
||||
|
||||
import java.util.List;
|
||||
|
||||
/**
|
||||
* 分支机构Service实现
|
||||
*
|
||||
* @author 科技小王子
|
||||
* @since 2026-01-07 13:52:14
|
||||
*/
|
||||
@Service
|
||||
public class CreditBranchServiceImpl extends ServiceImpl<CreditBranchMapper, CreditBranch> implements CreditBranchService {
|
||||
|
||||
@Override
|
||||
public PageResult<CreditBranch> pageRel(CreditBranchParam param) {
|
||||
PageParam<CreditBranch, CreditBranchParam> page = new PageParam<>(param);
|
||||
page.setDefaultOrder("sort_number asc, create_time desc");
|
||||
List<CreditBranch> list = baseMapper.selectPageRel(page, param);
|
||||
return new PageResult<>(list, page.getTotal());
|
||||
}
|
||||
|
||||
@Override
|
||||
public List<CreditBranch> listRel(CreditBranchParam param) {
|
||||
List<CreditBranch> list = baseMapper.selectListRel(param);
|
||||
// 排序
|
||||
PageParam<CreditBranch, CreditBranchParam> page = new PageParam<>();
|
||||
page.setDefaultOrder("sort_number asc, create_time desc");
|
||||
return page.sortRecords(list);
|
||||
}
|
||||
|
||||
@Override
|
||||
public CreditBranch getByIdRel(Integer id) {
|
||||
CreditBranchParam param = new CreditBranchParam();
|
||||
param.setId(id);
|
||||
return param.getOne(baseMapper.selectListRel(param));
|
||||
}
|
||||
|
||||
}
|
||||
@@ -0,0 +1,47 @@
|
||||
package com.gxwebsoft.credit.service.impl;
|
||||
|
||||
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
|
||||
import com.gxwebsoft.common.core.web.PageParam;
|
||||
import com.gxwebsoft.common.core.web.PageResult;
|
||||
import com.gxwebsoft.credit.entity.CreditHistoricalLegalPerson;
|
||||
import com.gxwebsoft.credit.mapper.CreditHistoricalLegalPersonMapper;
|
||||
import com.gxwebsoft.credit.param.CreditHistoricalLegalPersonParam;
|
||||
import com.gxwebsoft.credit.service.CreditHistoricalLegalPersonService;
|
||||
import org.springframework.stereotype.Service;
|
||||
|
||||
import java.util.List;
|
||||
|
||||
/**
|
||||
* 历史法定代表人Service实现
|
||||
*
|
||||
* @author 科技小王子
|
||||
* @since 2026-01-07 13:52:14
|
||||
*/
|
||||
@Service
|
||||
public class CreditHistoricalLegalPersonServiceImpl extends ServiceImpl<CreditHistoricalLegalPersonMapper, CreditHistoricalLegalPerson> implements CreditHistoricalLegalPersonService {
|
||||
|
||||
@Override
|
||||
public PageResult<CreditHistoricalLegalPerson> pageRel(CreditHistoricalLegalPersonParam param) {
|
||||
PageParam<CreditHistoricalLegalPerson, CreditHistoricalLegalPersonParam> page = new PageParam<>(param);
|
||||
page.setDefaultOrder("sort_number asc, create_time desc");
|
||||
List<CreditHistoricalLegalPerson> list = baseMapper.selectPageRel(page, param);
|
||||
return new PageResult<>(list, page.getTotal());
|
||||
}
|
||||
|
||||
@Override
|
||||
public List<CreditHistoricalLegalPerson> listRel(CreditHistoricalLegalPersonParam param) {
|
||||
List<CreditHistoricalLegalPerson> list = baseMapper.selectListRel(param);
|
||||
// 排序
|
||||
PageParam<CreditHistoricalLegalPerson, CreditHistoricalLegalPersonParam> page = new PageParam<>();
|
||||
page.setDefaultOrder("sort_number asc, create_time desc");
|
||||
return page.sortRecords(list);
|
||||
}
|
||||
|
||||
@Override
|
||||
public CreditHistoricalLegalPerson getByIdRel(Integer id) {
|
||||
CreditHistoricalLegalPersonParam param = new CreditHistoricalLegalPersonParam();
|
||||
param.setId(id);
|
||||
return param.getOne(baseMapper.selectListRel(param));
|
||||
}
|
||||
|
||||
}
|
||||
@@ -0,0 +1,47 @@
|
||||
package com.gxwebsoft.credit.service.impl;
|
||||
|
||||
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
|
||||
import com.gxwebsoft.common.core.web.PageParam;
|
||||
import com.gxwebsoft.common.core.web.PageResult;
|
||||
import com.gxwebsoft.credit.entity.CreditNearbyCompany;
|
||||
import com.gxwebsoft.credit.mapper.CreditNearbyCompanyMapper;
|
||||
import com.gxwebsoft.credit.param.CreditNearbyCompanyParam;
|
||||
import com.gxwebsoft.credit.service.CreditNearbyCompanyService;
|
||||
import org.springframework.stereotype.Service;
|
||||
|
||||
import java.util.List;
|
||||
|
||||
/**
|
||||
* 附近企业Service实现
|
||||
*
|
||||
* @author 科技小王子
|
||||
* @since 2026-01-07 13:52:14
|
||||
*/
|
||||
@Service
|
||||
public class CreditNearbyCompanyServiceImpl extends ServiceImpl<CreditNearbyCompanyMapper, CreditNearbyCompany> implements CreditNearbyCompanyService {
|
||||
|
||||
@Override
|
||||
public PageResult<CreditNearbyCompany> pageRel(CreditNearbyCompanyParam param) {
|
||||
PageParam<CreditNearbyCompany, CreditNearbyCompanyParam> page = new PageParam<>(param);
|
||||
page.setDefaultOrder("sort_number asc, create_time desc");
|
||||
List<CreditNearbyCompany> list = baseMapper.selectPageRel(page, param);
|
||||
return new PageResult<>(list, page.getTotal());
|
||||
}
|
||||
|
||||
@Override
|
||||
public List<CreditNearbyCompany> listRel(CreditNearbyCompanyParam param) {
|
||||
List<CreditNearbyCompany> list = baseMapper.selectListRel(param);
|
||||
// 排序
|
||||
PageParam<CreditNearbyCompany, CreditNearbyCompanyParam> page = new PageParam<>();
|
||||
page.setDefaultOrder("sort_number asc, create_time desc");
|
||||
return page.sortRecords(list);
|
||||
}
|
||||
|
||||
@Override
|
||||
public CreditNearbyCompany getByIdRel(Integer id) {
|
||||
CreditNearbyCompanyParam param = new CreditNearbyCompanyParam();
|
||||
param.setId(id);
|
||||
return param.getOne(baseMapper.selectListRel(param));
|
||||
}
|
||||
|
||||
}
|
||||
@@ -0,0 +1,47 @@
|
||||
package com.gxwebsoft.credit.service.impl;
|
||||
|
||||
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
|
||||
import com.gxwebsoft.common.core.web.PageParam;
|
||||
import com.gxwebsoft.common.core.web.PageResult;
|
||||
import com.gxwebsoft.credit.entity.CreditPatent;
|
||||
import com.gxwebsoft.credit.mapper.CreditPatentMapper;
|
||||
import com.gxwebsoft.credit.param.CreditPatentParam;
|
||||
import com.gxwebsoft.credit.service.CreditPatentService;
|
||||
import org.springframework.stereotype.Service;
|
||||
|
||||
import java.util.List;
|
||||
|
||||
/**
|
||||
* 专利Service实现
|
||||
*
|
||||
* @author 科技小王子
|
||||
* @since 2026-01-07 13:52:14
|
||||
*/
|
||||
@Service
|
||||
public class CreditPatentServiceImpl extends ServiceImpl<CreditPatentMapper, CreditPatent> implements CreditPatentService {
|
||||
|
||||
@Override
|
||||
public PageResult<CreditPatent> pageRel(CreditPatentParam param) {
|
||||
PageParam<CreditPatent, CreditPatentParam> page = new PageParam<>(param);
|
||||
page.setDefaultOrder("sort_number asc, create_time desc");
|
||||
List<CreditPatent> list = baseMapper.selectPageRel(page, param);
|
||||
return new PageResult<>(list, page.getTotal());
|
||||
}
|
||||
|
||||
@Override
|
||||
public List<CreditPatent> listRel(CreditPatentParam param) {
|
||||
List<CreditPatent> list = baseMapper.selectListRel(param);
|
||||
// 排序
|
||||
PageParam<CreditPatent, CreditPatentParam> page = new PageParam<>();
|
||||
page.setDefaultOrder("sort_number asc, create_time desc");
|
||||
return page.sortRecords(list);
|
||||
}
|
||||
|
||||
@Override
|
||||
public CreditPatent getByIdRel(Integer id) {
|
||||
CreditPatentParam param = new CreditPatentParam();
|
||||
param.setId(id);
|
||||
return param.getOne(baseMapper.selectListRel(param));
|
||||
}
|
||||
|
||||
}
|
||||
@@ -0,0 +1,47 @@
|
||||
package com.gxwebsoft.credit.service.impl;
|
||||
|
||||
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
|
||||
import com.gxwebsoft.common.core.web.PageParam;
|
||||
import com.gxwebsoft.common.core.web.PageResult;
|
||||
import com.gxwebsoft.credit.entity.CreditSuspectedRelationship;
|
||||
import com.gxwebsoft.credit.mapper.CreditSuspectedRelationshipMapper;
|
||||
import com.gxwebsoft.credit.param.CreditSuspectedRelationshipParam;
|
||||
import com.gxwebsoft.credit.service.CreditSuspectedRelationshipService;
|
||||
import org.springframework.stereotype.Service;
|
||||
|
||||
import java.util.List;
|
||||
|
||||
/**
|
||||
* 疑似关系Service实现
|
||||
*
|
||||
* @author 科技小王子
|
||||
* @since 2026-01-07 13:52:14
|
||||
*/
|
||||
@Service
|
||||
public class CreditSuspectedRelationshipServiceImpl extends ServiceImpl<CreditSuspectedRelationshipMapper, CreditSuspectedRelationship> implements CreditSuspectedRelationshipService {
|
||||
|
||||
@Override
|
||||
public PageResult<CreditSuspectedRelationship> pageRel(CreditSuspectedRelationshipParam param) {
|
||||
PageParam<CreditSuspectedRelationship, CreditSuspectedRelationshipParam> page = new PageParam<>(param);
|
||||
page.setDefaultOrder("sort_number asc, create_time desc");
|
||||
List<CreditSuspectedRelationship> list = baseMapper.selectPageRel(page, param);
|
||||
return new PageResult<>(list, page.getTotal());
|
||||
}
|
||||
|
||||
@Override
|
||||
public List<CreditSuspectedRelationship> listRel(CreditSuspectedRelationshipParam param) {
|
||||
List<CreditSuspectedRelationship> list = baseMapper.selectListRel(param);
|
||||
// 排序
|
||||
PageParam<CreditSuspectedRelationship, CreditSuspectedRelationshipParam> page = new PageParam<>();
|
||||
page.setDefaultOrder("sort_number asc, create_time desc");
|
||||
return page.sortRecords(list);
|
||||
}
|
||||
|
||||
@Override
|
||||
public CreditSuspectedRelationship getByIdRel(Integer id) {
|
||||
CreditSuspectedRelationshipParam param = new CreditSuspectedRelationshipParam();
|
||||
param.setId(id);
|
||||
return param.getOne(baseMapper.selectListRel(param));
|
||||
}
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user