24 changed files with 2296 additions and 0 deletions
@ -0,0 +1,105 @@ |
|||
package com.zdxt.enforcementcode.controller.app.enterprise; |
|||
|
|||
import java.util.List; |
|||
|
|||
import lombok.RequiredArgsConstructor; |
|||
import jakarta.servlet.http.HttpServletResponse; |
|||
import jakarta.validation.constraints.*; |
|||
import cn.dev33.satoken.annotation.SaCheckPermission; |
|||
import org.springframework.web.bind.annotation.*; |
|||
import org.springframework.validation.annotation.Validated; |
|||
import org.dromara.common.idempotent.annotation.RepeatSubmit; |
|||
import org.dromara.common.log.annotation.Log; |
|||
import org.dromara.common.web.core.BaseController; |
|||
import org.dromara.common.mybatis.core.page.PageQuery; |
|||
import org.dromara.common.core.domain.R; |
|||
import org.dromara.common.core.validate.AddGroup; |
|||
import org.dromara.common.core.validate.EditGroup; |
|||
import org.dromara.common.log.enums.BusinessType; |
|||
import org.dromara.common.excel.utils.ExcelUtil; |
|||
import com.zdxt.enforcementcode.domain.vo.SxtFlfgxxb474136Vo; |
|||
import com.zdxt.enforcementcode.domain.bo.SxtFlfgxxb474136Bo; |
|||
import com.zdxt.enforcementcode.service.ISxtFlfgxxb474136Service; |
|||
import org.dromara.common.mybatis.core.page.TableDataInfo; |
|||
|
|||
/** |
|||
* 【请填写功能名称】 |
|||
* |
|||
* @author Lion Li |
|||
* @date 2026-08-31 |
|||
*/ |
|||
@Validated |
|||
@RequiredArgsConstructor |
|||
@RestController |
|||
@RequestMapping("/enforcementcode/flfgxxb474136") |
|||
public class SxtFlfgxxb474136Controller extends BaseController { |
|||
|
|||
private final ISxtFlfgxxb474136Service sxtFlfgxxb474136Service; |
|||
|
|||
/** |
|||
* 查询【请填写功能名称】列表 |
|||
*/ |
|||
@SaCheckPermission("enforcementcode:flfgxxb474136:list") |
|||
@GetMapping("/list") |
|||
public TableDataInfo<SxtFlfgxxb474136Vo> list(SxtFlfgxxb474136Bo bo, PageQuery pageQuery) { |
|||
return sxtFlfgxxb474136Service.queryPageList(bo, pageQuery); |
|||
} |
|||
|
|||
/** |
|||
* 导出【请填写功能名称】列表 |
|||
*/ |
|||
@SaCheckPermission("enforcementcode:flfgxxb474136:export") |
|||
@Log(title = "【请填写功能名称】", businessType = BusinessType.EXPORT) |
|||
@PostMapping("/export") |
|||
public void export(SxtFlfgxxb474136Bo bo, HttpServletResponse response) { |
|||
List<SxtFlfgxxb474136Vo> list = sxtFlfgxxb474136Service.queryList(bo); |
|||
ExcelUtil.exportExcel(list, "【请填写功能名称】", SxtFlfgxxb474136Vo.class, response); |
|||
} |
|||
|
|||
/** |
|||
* 获取【请填写功能名称】详细信息 |
|||
* |
|||
* @param id 主键 |
|||
*/ |
|||
@SaCheckPermission("enforcementcode:flfgxxb474136:query") |
|||
@GetMapping("/{id}") |
|||
public R<SxtFlfgxxb474136Vo> getInfo(@NotNull(message = "主键不能为空") |
|||
@PathVariable String id) { |
|||
return R.ok(sxtFlfgxxb474136Service.queryById(id)); |
|||
} |
|||
|
|||
/** |
|||
* 新增【请填写功能名称】 |
|||
*/ |
|||
@SaCheckPermission("enforcementcode:flfgxxb474136:add") |
|||
@Log(title = "【请填写功能名称】", businessType = BusinessType.INSERT) |
|||
@RepeatSubmit() |
|||
@PostMapping() |
|||
public R<Void> add(@Validated(AddGroup.class) @RequestBody SxtFlfgxxb474136Bo bo) { |
|||
return toAjax(sxtFlfgxxb474136Service.insertByBo(bo)); |
|||
} |
|||
|
|||
/** |
|||
* 修改【请填写功能名称】 |
|||
*/ |
|||
@SaCheckPermission("enforcementcode:flfgxxb474136:edit") |
|||
@Log(title = "【请填写功能名称】", businessType = BusinessType.UPDATE) |
|||
@RepeatSubmit() |
|||
@PutMapping() |
|||
public R<Void> edit(@Validated(EditGroup.class) @RequestBody SxtFlfgxxb474136Bo bo) { |
|||
return toAjax(sxtFlfgxxb474136Service.updateByBo(bo)); |
|||
} |
|||
|
|||
/** |
|||
* 删除【请填写功能名称】 |
|||
* |
|||
* @param ids 主键串 |
|||
*/ |
|||
@SaCheckPermission("enforcementcode:flfgxxb474136:remove") |
|||
@Log(title = "【请填写功能名称】", businessType = BusinessType.DELETE) |
|||
@DeleteMapping("/{ids}") |
|||
public R<Void> remove(@NotEmpty(message = "主键不能为空") |
|||
@PathVariable String[] ids) { |
|||
return toAjax(sxtFlfgxxb474136Service.deleteWithValidByIds(List.of(ids), true)); |
|||
} |
|||
} |
|||
@ -0,0 +1,105 @@ |
|||
package com.zdxt.enforcementcode.controller.app.enterprise; |
|||
|
|||
import java.util.List; |
|||
|
|||
import lombok.RequiredArgsConstructor; |
|||
import jakarta.servlet.http.HttpServletResponse; |
|||
import jakarta.validation.constraints.*; |
|||
import cn.dev33.satoken.annotation.SaCheckPermission; |
|||
import org.springframework.web.bind.annotation.*; |
|||
import org.springframework.validation.annotation.Validated; |
|||
import org.dromara.common.idempotent.annotation.RepeatSubmit; |
|||
import org.dromara.common.log.annotation.Log; |
|||
import org.dromara.common.web.core.BaseController; |
|||
import org.dromara.common.mybatis.core.page.PageQuery; |
|||
import org.dromara.common.core.domain.R; |
|||
import org.dromara.common.core.validate.AddGroup; |
|||
import org.dromara.common.core.validate.EditGroup; |
|||
import org.dromara.common.log.enums.BusinessType; |
|||
import org.dromara.common.excel.utils.ExcelUtil; |
|||
import com.zdxt.enforcementcode.domain.vo.SxtFlfgyjxx470745Vo; |
|||
import com.zdxt.enforcementcode.domain.bo.SxtFlfgyjxx470745Bo; |
|||
import com.zdxt.enforcementcode.service.ISxtFlfgyjxx470745Service; |
|||
import org.dromara.common.mybatis.core.page.TableDataInfo; |
|||
|
|||
/** |
|||
* 【请填写功能名称】 |
|||
* |
|||
* @author Lion Li |
|||
* @date 2026-08-31 |
|||
*/ |
|||
@Validated |
|||
@RequiredArgsConstructor |
|||
@RestController |
|||
@RequestMapping("/enforcementcode/flfgyjxx470745") |
|||
public class SxtFlfgyjxx470745Controller extends BaseController { |
|||
|
|||
private final ISxtFlfgyjxx470745Service sxtFlfgyjxx470745Service; |
|||
|
|||
/** |
|||
* 查询【请填写功能名称】列表 |
|||
*/ |
|||
@SaCheckPermission("enforcementcode:flfgyjxx470745:list") |
|||
@GetMapping("/list") |
|||
public TableDataInfo<SxtFlfgyjxx470745Vo> list(SxtFlfgyjxx470745Bo bo, PageQuery pageQuery) { |
|||
return sxtFlfgyjxx470745Service.queryPageList(bo, pageQuery); |
|||
} |
|||
|
|||
/** |
|||
* 导出【请填写功能名称】列表 |
|||
*/ |
|||
@SaCheckPermission("enforcementcode:flfgyjxx470745:export") |
|||
@Log(title = "【请填写功能名称】", businessType = BusinessType.EXPORT) |
|||
@PostMapping("/export") |
|||
public void export(SxtFlfgyjxx470745Bo bo, HttpServletResponse response) { |
|||
List<SxtFlfgyjxx470745Vo> list = sxtFlfgyjxx470745Service.queryList(bo); |
|||
ExcelUtil.exportExcel(list, "【请填写功能名称】", SxtFlfgyjxx470745Vo.class, response); |
|||
} |
|||
|
|||
/** |
|||
* 获取【请填写功能名称】详细信息 |
|||
* |
|||
* @param id 主键 |
|||
*/ |
|||
@SaCheckPermission("enforcementcode:flfgyjxx470745:query") |
|||
@GetMapping("/{id}") |
|||
public R<SxtFlfgyjxx470745Vo> getInfo(@NotNull(message = "主键不能为空") |
|||
@PathVariable String id) { |
|||
return R.ok(sxtFlfgyjxx470745Service.queryById(id)); |
|||
} |
|||
|
|||
/** |
|||
* 新增【请填写功能名称】 |
|||
*/ |
|||
@SaCheckPermission("enforcementcode:flfgyjxx470745:add") |
|||
@Log(title = "【请填写功能名称】", businessType = BusinessType.INSERT) |
|||
@RepeatSubmit() |
|||
@PostMapping() |
|||
public R<Void> add(@Validated(AddGroup.class) @RequestBody SxtFlfgyjxx470745Bo bo) { |
|||
return toAjax(sxtFlfgyjxx470745Service.insertByBo(bo)); |
|||
} |
|||
|
|||
/** |
|||
* 修改【请填写功能名称】 |
|||
*/ |
|||
@SaCheckPermission("enforcementcode:flfgyjxx470745:edit") |
|||
@Log(title = "【请填写功能名称】", businessType = BusinessType.UPDATE) |
|||
@RepeatSubmit() |
|||
@PutMapping() |
|||
public R<Void> edit(@Validated(EditGroup.class) @RequestBody SxtFlfgyjxx470745Bo bo) { |
|||
return toAjax(sxtFlfgyjxx470745Service.updateByBo(bo)); |
|||
} |
|||
|
|||
/** |
|||
* 删除【请填写功能名称】 |
|||
* |
|||
* @param ids 主键串 |
|||
*/ |
|||
@SaCheckPermission("enforcementcode:flfgyjxx470745:remove") |
|||
@Log(title = "【请填写功能名称】", businessType = BusinessType.DELETE) |
|||
@DeleteMapping("/{ids}") |
|||
public R<Void> remove(@NotEmpty(message = "主键不能为空") |
|||
@PathVariable String[] ids) { |
|||
return toAjax(sxtFlfgyjxx470745Service.deleteWithValidByIds(List.of(ids), true)); |
|||
} |
|||
} |
|||
@ -0,0 +1,105 @@ |
|||
package com.zdxt.enforcementcode.controller.app.enterprise; |
|||
|
|||
import java.util.List; |
|||
|
|||
import lombok.RequiredArgsConstructor; |
|||
import jakarta.servlet.http.HttpServletResponse; |
|||
import jakarta.validation.constraints.*; |
|||
import cn.dev33.satoken.annotation.SaCheckPermission; |
|||
import org.springframework.web.bind.annotation.*; |
|||
import org.springframework.validation.annotation.Validated; |
|||
import org.dromara.common.idempotent.annotation.RepeatSubmit; |
|||
import org.dromara.common.log.annotation.Log; |
|||
import org.dromara.common.web.core.BaseController; |
|||
import org.dromara.common.mybatis.core.page.PageQuery; |
|||
import org.dromara.common.core.domain.R; |
|||
import org.dromara.common.core.validate.AddGroup; |
|||
import org.dromara.common.core.validate.EditGroup; |
|||
import org.dromara.common.log.enums.BusinessType; |
|||
import org.dromara.common.excel.utils.ExcelUtil; |
|||
import com.zdxt.enforcementcode.domain.vo.SxtZqxxb104676Vo; |
|||
import com.zdxt.enforcementcode.domain.bo.SxtZqxxb104676Bo; |
|||
import com.zdxt.enforcementcode.service.ISxtZqxxb104676Service; |
|||
import org.dromara.common.mybatis.core.page.TableDataInfo; |
|||
|
|||
/** |
|||
* 【请填写功能名称】 |
|||
* |
|||
* @author Lion Li |
|||
* @date 2026-08-31 |
|||
*/ |
|||
@Validated |
|||
@RequiredArgsConstructor |
|||
@RestController |
|||
@RequestMapping("/enforcementcode/zqxxb104676") |
|||
public class SxtZqxxb104676Controller extends BaseController { |
|||
|
|||
private final ISxtZqxxb104676Service sxtZqxxb104676Service; |
|||
|
|||
/** |
|||
* 查询【请填写功能名称】列表 |
|||
*/ |
|||
@SaCheckPermission("enforcementcode:zqxxb104676:list") |
|||
@GetMapping("/list") |
|||
public TableDataInfo<SxtZqxxb104676Vo> list(SxtZqxxb104676Bo bo, PageQuery pageQuery) { |
|||
return sxtZqxxb104676Service.queryPageList(bo, pageQuery); |
|||
} |
|||
|
|||
/** |
|||
* 导出【请填写功能名称】列表 |
|||
*/ |
|||
@SaCheckPermission("enforcementcode:zqxxb104676:export") |
|||
@Log(title = "【请填写功能名称】", businessType = BusinessType.EXPORT) |
|||
@PostMapping("/export") |
|||
public void export(SxtZqxxb104676Bo bo, HttpServletResponse response) { |
|||
List<SxtZqxxb104676Vo> list = sxtZqxxb104676Service.queryList(bo); |
|||
ExcelUtil.exportExcel(list, "【请填写功能名称】", SxtZqxxb104676Vo.class, response); |
|||
} |
|||
|
|||
/** |
|||
* 获取【请填写功能名称】详细信息 |
|||
* |
|||
* @param id 主键 |
|||
*/ |
|||
@SaCheckPermission("enforcementcode:zqxxb104676:query") |
|||
@GetMapping("/{id}") |
|||
public R<SxtZqxxb104676Vo> getInfo(@NotNull(message = "主键不能为空") |
|||
@PathVariable String id) { |
|||
return R.ok(sxtZqxxb104676Service.queryById(id)); |
|||
} |
|||
|
|||
/** |
|||
* 新增【请填写功能名称】 |
|||
*/ |
|||
@SaCheckPermission("enforcementcode:zqxxb104676:add") |
|||
@Log(title = "【请填写功能名称】", businessType = BusinessType.INSERT) |
|||
@RepeatSubmit() |
|||
@PostMapping() |
|||
public R<Void> add(@Validated(AddGroup.class) @RequestBody SxtZqxxb104676Bo bo) { |
|||
return toAjax(sxtZqxxb104676Service.insertByBo(bo)); |
|||
} |
|||
|
|||
/** |
|||
* 修改【请填写功能名称】 |
|||
*/ |
|||
@SaCheckPermission("enforcementcode:zqxxb104676:edit") |
|||
@Log(title = "【请填写功能名称】", businessType = BusinessType.UPDATE) |
|||
@RepeatSubmit() |
|||
@PutMapping() |
|||
public R<Void> edit(@Validated(EditGroup.class) @RequestBody SxtZqxxb104676Bo bo) { |
|||
return toAjax(sxtZqxxb104676Service.updateByBo(bo)); |
|||
} |
|||
|
|||
/** |
|||
* 删除【请填写功能名称】 |
|||
* |
|||
* @param ids 主键串 |
|||
*/ |
|||
@SaCheckPermission("enforcementcode:zqxxb104676:remove") |
|||
@Log(title = "【请填写功能名称】", businessType = BusinessType.DELETE) |
|||
@DeleteMapping("/{ids}") |
|||
public R<Void> remove(@NotEmpty(message = "主键不能为空") |
|||
@PathVariable String[] ids) { |
|||
return toAjax(sxtZqxxb104676Service.deleteWithValidByIds(List.of(ids), true)); |
|||
} |
|||
} |
|||
@ -0,0 +1,128 @@ |
|||
package com.zdxt.enforcementcode.domain; |
|||
|
|||
import org.dromara.common.mybatis.core.domain.BaseEntity; |
|||
import com.baomidou.mybatisplus.annotation.*; |
|||
import lombok.Data; |
|||
import lombok.EqualsAndHashCode; |
|||
import java.util.Date; |
|||
import com.fasterxml.jackson.annotation.JsonFormat; |
|||
|
|||
import java.io.Serial; |
|||
|
|||
/** |
|||
* 【请填写功能名称】对象 sxt_flfgxxb474136 |
|||
* |
|||
* @author Lion Li |
|||
* @date 2026-08-31 |
|||
*/ |
|||
@Data |
|||
@EqualsAndHashCode(callSuper = true) |
|||
@TableName("sxt_flfgxxb474136") |
|||
public class SxtFlfgxxb474136 extends BaseEntity { |
|||
|
|||
@Serial |
|||
private static final long serialVersionUID = 1L; |
|||
|
|||
/** |
|||
* |
|||
*/ |
|||
private String lawName; |
|||
|
|||
/** |
|||
* |
|||
*/ |
|||
private String timeliness; |
|||
|
|||
/** |
|||
* |
|||
*/ |
|||
private String word; |
|||
|
|||
/** |
|||
* |
|||
*/ |
|||
private String organ; |
|||
|
|||
/** |
|||
* |
|||
*/ |
|||
private Date promulgation; |
|||
|
|||
/** |
|||
* |
|||
*/ |
|||
private Date implementation; |
|||
|
|||
/** |
|||
* |
|||
*/ |
|||
private String remark; |
|||
|
|||
/** |
|||
* |
|||
*/ |
|||
private String signId; |
|||
|
|||
/** |
|||
* |
|||
*/ |
|||
private String dataPlace; |
|||
|
|||
/** |
|||
* |
|||
*/ |
|||
private Long ins; |
|||
|
|||
/** |
|||
* |
|||
*/ |
|||
private Long seq; |
|||
|
|||
/** |
|||
* |
|||
*/ |
|||
private Long updatestatus; |
|||
|
|||
/** |
|||
* |
|||
*/ |
|||
@TableId(value = "ID") |
|||
private String id; |
|||
|
|||
/** |
|||
* |
|||
*/ |
|||
private String cdBatch; |
|||
|
|||
/** |
|||
* |
|||
*/ |
|||
private Date addTime; |
|||
|
|||
/** |
|||
* |
|||
*/ |
|||
private String cdOperation; |
|||
|
|||
/** |
|||
* |
|||
*/ |
|||
private Date cdTime; |
|||
|
|||
/** |
|||
* |
|||
*/ |
|||
private String beiyong1; |
|||
|
|||
/** |
|||
* |
|||
*/ |
|||
private String beiyong2; |
|||
|
|||
/** |
|||
* |
|||
*/ |
|||
private Date dmpShareCdTimeIdatat; |
|||
|
|||
|
|||
} |
|||
@ -0,0 +1,153 @@ |
|||
package com.zdxt.enforcementcode.domain; |
|||
|
|||
import org.dromara.common.mybatis.core.domain.BaseEntity; |
|||
import com.baomidou.mybatisplus.annotation.*; |
|||
import lombok.Data; |
|||
import lombok.EqualsAndHashCode; |
|||
import java.util.Date; |
|||
import com.fasterxml.jackson.annotation.JsonFormat; |
|||
|
|||
import java.io.Serial; |
|||
|
|||
/** |
|||
* 【请填写功能名称】对象 sxt_flfgyjxx470745 |
|||
* |
|||
* @author Lion Li |
|||
* @date 2026-08-31 |
|||
*/ |
|||
@Data |
|||
@EqualsAndHashCode(callSuper = true) |
|||
@TableName("sxt_flfgyjxx470745") |
|||
public class SxtFlfgyjxx470745 extends BaseEntity { |
|||
|
|||
@Serial |
|||
private static final long serialVersionUID = 1L; |
|||
|
|||
/** |
|||
* |
|||
*/ |
|||
private String lawId; |
|||
|
|||
/** |
|||
* |
|||
*/ |
|||
private String lawName; |
|||
|
|||
/** |
|||
* |
|||
*/ |
|||
private Long detailSeries; |
|||
|
|||
/** |
|||
* |
|||
*/ |
|||
private Long detailChapter; |
|||
|
|||
/** |
|||
* |
|||
*/ |
|||
private Long detailSection; |
|||
|
|||
/** |
|||
* |
|||
*/ |
|||
private Long detailStrip; |
|||
|
|||
/** |
|||
* |
|||
*/ |
|||
private Long detailFund; |
|||
|
|||
/** |
|||
* |
|||
*/ |
|||
private Long detailItem; |
|||
|
|||
/** |
|||
* |
|||
*/ |
|||
private String chapterCaption; |
|||
|
|||
/** |
|||
* |
|||
*/ |
|||
private String lawDetailIndex; |
|||
|
|||
/** |
|||
* |
|||
*/ |
|||
private Long detailCatalog; |
|||
|
|||
/** |
|||
* |
|||
*/ |
|||
private String contentText; |
|||
|
|||
/** |
|||
* |
|||
*/ |
|||
private String signId; |
|||
|
|||
/** |
|||
* |
|||
*/ |
|||
private String dataPlace; |
|||
|
|||
/** |
|||
* |
|||
*/ |
|||
private Long ins; |
|||
|
|||
/** |
|||
* |
|||
*/ |
|||
private Long seq; |
|||
|
|||
/** |
|||
* |
|||
*/ |
|||
private Long updatestatus; |
|||
|
|||
/** |
|||
* |
|||
*/ |
|||
@TableId(value = "ID") |
|||
private String id; |
|||
|
|||
/** |
|||
* |
|||
*/ |
|||
private String cdBatch; |
|||
|
|||
/** |
|||
* |
|||
*/ |
|||
private Date addTime; |
|||
|
|||
/** |
|||
* |
|||
*/ |
|||
private String cdOperation; |
|||
|
|||
/** |
|||
* |
|||
*/ |
|||
private Date cdTime; |
|||
|
|||
/** |
|||
* |
|||
*/ |
|||
private String beiyong1; |
|||
|
|||
/** |
|||
* |
|||
*/ |
|||
private String beiyong2; |
|||
|
|||
/** |
|||
* |
|||
*/ |
|||
private Date dmpShareCdTimeIdatat; |
|||
|
|||
|
|||
} |
|||
@ -0,0 +1,108 @@ |
|||
package com.zdxt.enforcementcode.domain; |
|||
|
|||
import org.dromara.common.mybatis.core.domain.BaseEntity; |
|||
import com.baomidou.mybatisplus.annotation.*; |
|||
import lombok.Data; |
|||
import lombok.EqualsAndHashCode; |
|||
import java.util.Date; |
|||
import com.fasterxml.jackson.annotation.JsonFormat; |
|||
|
|||
import java.io.Serial; |
|||
|
|||
/** |
|||
* 【请填写功能名称】对象 sxt_zqxxb104676 |
|||
* |
|||
* @author Lion Li |
|||
* @date 2026-08-31 |
|||
*/ |
|||
@Data |
|||
@EqualsAndHashCode(callSuper = true) |
|||
@TableName("sxt_zqxxb104676") |
|||
public class SxtZqxxb104676 extends BaseEntity { |
|||
|
|||
@Serial |
|||
private static final long serialVersionUID = 1L; |
|||
|
|||
/** |
|||
* |
|||
*/ |
|||
private String signId; |
|||
|
|||
/** |
|||
* |
|||
*/ |
|||
private String powerCode; |
|||
|
|||
/** |
|||
* |
|||
*/ |
|||
private String powerName; |
|||
|
|||
/** |
|||
* |
|||
*/ |
|||
private String powerType; |
|||
|
|||
/** |
|||
* |
|||
*/ |
|||
private String dataPlace; |
|||
|
|||
/** |
|||
* |
|||
*/ |
|||
private Long ins; |
|||
|
|||
/** |
|||
* |
|||
*/ |
|||
private Long seq; |
|||
|
|||
/** |
|||
* |
|||
*/ |
|||
private Long updatestatus; |
|||
|
|||
/** |
|||
* |
|||
*/ |
|||
@TableId(value = "ID") |
|||
private String id; |
|||
|
|||
/** |
|||
* |
|||
*/ |
|||
private String cdBatch; |
|||
|
|||
/** |
|||
* |
|||
*/ |
|||
private Date addTime; |
|||
|
|||
/** |
|||
* |
|||
*/ |
|||
private String cdOperation; |
|||
|
|||
/** |
|||
* |
|||
*/ |
|||
private Date cdTime; |
|||
|
|||
/** |
|||
* |
|||
*/ |
|||
private String beiyong1; |
|||
|
|||
/** |
|||
* |
|||
*/ |
|||
private String beiyong2; |
|||
|
|||
/** |
|||
* |
|||
*/ |
|||
private Date dmpShareCdTimeIdatat; |
|||
|
|||
|
|||
} |
|||
@ -0,0 +1,127 @@ |
|||
package com.zdxt.enforcementcode.domain.bo; |
|||
|
|||
import com.zdxt.enforcementcode.domain.SxtFlfgxxb474136; |
|||
import org.dromara.common.mybatis.core.domain.BaseEntity; |
|||
import org.dromara.common.core.validate.AddGroup; |
|||
import org.dromara.common.core.validate.EditGroup; |
|||
import io.github.linpeilie.annotations.AutoMapper; |
|||
import lombok.Data; |
|||
import lombok.EqualsAndHashCode; |
|||
import jakarta.validation.constraints.*; |
|||
import java.util.Date; |
|||
import com.fasterxml.jackson.annotation.JsonFormat; |
|||
|
|||
/** |
|||
* 【请填写功能名称】业务对象 sxt_flfgxxb474136 |
|||
* |
|||
* @author Lion Li |
|||
* @date 2026-08-31 |
|||
*/ |
|||
@Data |
|||
@EqualsAndHashCode(callSuper = true) |
|||
@AutoMapper(target = SxtFlfgxxb474136.class, reverseConvertGenerate = false) |
|||
public class SxtFlfgxxb474136Bo extends BaseEntity { |
|||
|
|||
/** |
|||
* |
|||
*/ |
|||
private String lawName; |
|||
|
|||
/** |
|||
* |
|||
*/ |
|||
private String timeliness; |
|||
|
|||
/** |
|||
* |
|||
*/ |
|||
private String word; |
|||
|
|||
/** |
|||
* |
|||
*/ |
|||
private String organ; |
|||
|
|||
/** |
|||
* |
|||
*/ |
|||
private Date promulgation; |
|||
|
|||
/** |
|||
* |
|||
*/ |
|||
private Date implementation; |
|||
|
|||
/** |
|||
* |
|||
*/ |
|||
private String remark; |
|||
|
|||
/** |
|||
* |
|||
*/ |
|||
private String signId; |
|||
|
|||
/** |
|||
* |
|||
*/ |
|||
private String dataPlace; |
|||
|
|||
/** |
|||
* |
|||
*/ |
|||
private Long ins; |
|||
|
|||
/** |
|||
* |
|||
*/ |
|||
private Long seq; |
|||
|
|||
/** |
|||
* |
|||
*/ |
|||
private Long updatestatus; |
|||
|
|||
/** |
|||
* |
|||
*/ |
|||
@NotBlank(message = "不能为空", groups = { EditGroup.class }) |
|||
private String id; |
|||
|
|||
/** |
|||
* |
|||
*/ |
|||
private String cdBatch; |
|||
|
|||
/** |
|||
* |
|||
*/ |
|||
private Date addTime; |
|||
|
|||
/** |
|||
* |
|||
*/ |
|||
private String cdOperation; |
|||
|
|||
/** |
|||
* |
|||
*/ |
|||
private Date cdTime; |
|||
|
|||
/** |
|||
* |
|||
*/ |
|||
private String beiyong1; |
|||
|
|||
/** |
|||
* |
|||
*/ |
|||
private String beiyong2; |
|||
|
|||
/** |
|||
* |
|||
*/ |
|||
private Date dmpShareCdTimeIdatat; |
|||
|
|||
|
|||
} |
|||
@ -0,0 +1,152 @@ |
|||
package com.zdxt.enforcementcode.domain.bo; |
|||
|
|||
import com.zdxt.enforcementcode.domain.SxtFlfgyjxx470745; |
|||
import org.dromara.common.mybatis.core.domain.BaseEntity; |
|||
import org.dromara.common.core.validate.AddGroup; |
|||
import org.dromara.common.core.validate.EditGroup; |
|||
import io.github.linpeilie.annotations.AutoMapper; |
|||
import lombok.Data; |
|||
import lombok.EqualsAndHashCode; |
|||
import jakarta.validation.constraints.*; |
|||
import java.util.Date; |
|||
import com.fasterxml.jackson.annotation.JsonFormat; |
|||
|
|||
/** |
|||
* 【请填写功能名称】业务对象 sxt_flfgyjxx470745 |
|||
* |
|||
* @author Lion Li |
|||
* @date 2026-08-31 |
|||
*/ |
|||
@Data |
|||
@EqualsAndHashCode(callSuper = true) |
|||
@AutoMapper(target = SxtFlfgyjxx470745.class, reverseConvertGenerate = false) |
|||
public class SxtFlfgyjxx470745Bo extends BaseEntity { |
|||
|
|||
/** |
|||
* |
|||
*/ |
|||
private String lawId; |
|||
|
|||
/** |
|||
* |
|||
*/ |
|||
private String lawName; |
|||
|
|||
/** |
|||
* |
|||
*/ |
|||
private Long detailSeries; |
|||
|
|||
/** |
|||
* |
|||
*/ |
|||
private Long detailChapter; |
|||
|
|||
/** |
|||
* |
|||
*/ |
|||
private Long detailSection; |
|||
|
|||
/** |
|||
* |
|||
*/ |
|||
private Long detailStrip; |
|||
|
|||
/** |
|||
* |
|||
*/ |
|||
private Long detailFund; |
|||
|
|||
/** |
|||
* |
|||
*/ |
|||
private Long detailItem; |
|||
|
|||
/** |
|||
* |
|||
*/ |
|||
private String chapterCaption; |
|||
|
|||
/** |
|||
* |
|||
*/ |
|||
private String lawDetailIndex; |
|||
|
|||
/** |
|||
* |
|||
*/ |
|||
private Long detailCatalog; |
|||
|
|||
/** |
|||
* |
|||
*/ |
|||
private String contentText; |
|||
|
|||
/** |
|||
* |
|||
*/ |
|||
private String signId; |
|||
|
|||
/** |
|||
* |
|||
*/ |
|||
private String dataPlace; |
|||
|
|||
/** |
|||
* |
|||
*/ |
|||
private Long ins; |
|||
|
|||
/** |
|||
* |
|||
*/ |
|||
private Long seq; |
|||
|
|||
/** |
|||
* |
|||
*/ |
|||
private Long updatestatus; |
|||
|
|||
/** |
|||
* |
|||
*/ |
|||
@NotBlank(message = "不能为空", groups = { EditGroup.class }) |
|||
private String id; |
|||
|
|||
/** |
|||
* |
|||
*/ |
|||
private String cdBatch; |
|||
|
|||
/** |
|||
* |
|||
*/ |
|||
private Date addTime; |
|||
|
|||
/** |
|||
* |
|||
*/ |
|||
private String cdOperation; |
|||
|
|||
/** |
|||
* |
|||
*/ |
|||
private Date cdTime; |
|||
|
|||
/** |
|||
* |
|||
*/ |
|||
private String beiyong1; |
|||
|
|||
/** |
|||
* |
|||
*/ |
|||
private String beiyong2; |
|||
|
|||
/** |
|||
* |
|||
*/ |
|||
private Date dmpShareCdTimeIdatat; |
|||
|
|||
|
|||
} |
|||
@ -0,0 +1,107 @@ |
|||
package com.zdxt.enforcementcode.domain.bo; |
|||
|
|||
import com.zdxt.enforcementcode.domain.SxtZqxxb104676; |
|||
import org.dromara.common.mybatis.core.domain.BaseEntity; |
|||
import org.dromara.common.core.validate.AddGroup; |
|||
import org.dromara.common.core.validate.EditGroup; |
|||
import io.github.linpeilie.annotations.AutoMapper; |
|||
import lombok.Data; |
|||
import lombok.EqualsAndHashCode; |
|||
import jakarta.validation.constraints.*; |
|||
import java.util.Date; |
|||
import com.fasterxml.jackson.annotation.JsonFormat; |
|||
|
|||
/** |
|||
* 【请填写功能名称】业务对象 sxt_zqxxb104676 |
|||
* |
|||
* @author Lion Li |
|||
* @date 2026-08-31 |
|||
*/ |
|||
@Data |
|||
@EqualsAndHashCode(callSuper = true) |
|||
@AutoMapper(target = SxtZqxxb104676.class, reverseConvertGenerate = false) |
|||
public class SxtZqxxb104676Bo extends BaseEntity { |
|||
|
|||
/** |
|||
* |
|||
*/ |
|||
private String signId; |
|||
|
|||
/** |
|||
* |
|||
*/ |
|||
private String powerCode; |
|||
|
|||
/** |
|||
* |
|||
*/ |
|||
private String powerName; |
|||
|
|||
/** |
|||
* |
|||
*/ |
|||
private String powerType; |
|||
|
|||
/** |
|||
* |
|||
*/ |
|||
private String dataPlace; |
|||
|
|||
/** |
|||
* |
|||
*/ |
|||
private Long ins; |
|||
|
|||
/** |
|||
* |
|||
*/ |
|||
private Long seq; |
|||
|
|||
/** |
|||
* |
|||
*/ |
|||
private Long updatestatus; |
|||
|
|||
/** |
|||
* |
|||
*/ |
|||
@NotBlank(message = "不能为空", groups = { EditGroup.class }) |
|||
private String id; |
|||
|
|||
/** |
|||
* |
|||
*/ |
|||
private String cdBatch; |
|||
|
|||
/** |
|||
* |
|||
*/ |
|||
private Date addTime; |
|||
|
|||
/** |
|||
* |
|||
*/ |
|||
private String cdOperation; |
|||
|
|||
/** |
|||
* |
|||
*/ |
|||
private Date cdTime; |
|||
|
|||
/** |
|||
* |
|||
*/ |
|||
private String beiyong1; |
|||
|
|||
/** |
|||
* |
|||
*/ |
|||
private String beiyong2; |
|||
|
|||
/** |
|||
* |
|||
*/ |
|||
private Date dmpShareCdTimeIdatat; |
|||
|
|||
|
|||
} |
|||
@ -0,0 +1,160 @@ |
|||
package com.zdxt.enforcementcode.domain.vo; |
|||
|
|||
import java.util.Date; |
|||
import com.fasterxml.jackson.annotation.JsonFormat; |
|||
import com.zdxt.enforcementcode.domain.SxtFlfgxxb474136; |
|||
import cn.idev.excel.annotation.ExcelIgnoreUnannotated; |
|||
import cn.idev.excel.annotation.ExcelProperty; |
|||
import org.dromara.common.excel.annotation.ExcelDictFormat; |
|||
import org.dromara.common.excel.convert.ExcelDictConvert; |
|||
import io.github.linpeilie.annotations.AutoMapper; |
|||
import lombok.Data; |
|||
|
|||
import java.io.Serial; |
|||
import java.io.Serializable; |
|||
import java.util.Date; |
|||
|
|||
|
|||
|
|||
/** |
|||
* 【请填写功能名称】视图对象 sxt_flfgxxb474136 |
|||
* |
|||
* @author Lion Li |
|||
* @date 2026-08-31 |
|||
*/ |
|||
@Data |
|||
@ExcelIgnoreUnannotated |
|||
@AutoMapper(target = SxtFlfgxxb474136.class) |
|||
public class SxtFlfgxxb474136Vo implements Serializable { |
|||
|
|||
@Serial |
|||
private static final long serialVersionUID = 1L; |
|||
|
|||
/** |
|||
* |
|||
*/ |
|||
@ExcelProperty(value = "") |
|||
private String lawName; |
|||
|
|||
/** |
|||
* |
|||
*/ |
|||
@ExcelProperty(value = "") |
|||
private String timeliness; |
|||
|
|||
/** |
|||
* |
|||
*/ |
|||
@ExcelProperty(value = "") |
|||
private String word; |
|||
|
|||
/** |
|||
* |
|||
*/ |
|||
@ExcelProperty(value = "") |
|||
private String organ; |
|||
|
|||
/** |
|||
* |
|||
*/ |
|||
@ExcelProperty(value = "") |
|||
private Date promulgation; |
|||
|
|||
/** |
|||
* |
|||
*/ |
|||
@ExcelProperty(value = "") |
|||
private Date implementation; |
|||
|
|||
/** |
|||
* |
|||
*/ |
|||
@ExcelProperty(value = "") |
|||
private String remark; |
|||
|
|||
/** |
|||
* |
|||
*/ |
|||
@ExcelProperty(value = "") |
|||
private String signId; |
|||
|
|||
/** |
|||
* |
|||
*/ |
|||
@ExcelProperty(value = "") |
|||
private String dataPlace; |
|||
|
|||
/** |
|||
* |
|||
*/ |
|||
@ExcelProperty(value = "") |
|||
private Long ins; |
|||
|
|||
/** |
|||
* |
|||
*/ |
|||
@ExcelProperty(value = "") |
|||
private Long seq; |
|||
|
|||
/** |
|||
* |
|||
*/ |
|||
@ExcelProperty(value = "") |
|||
private Long updatestatus; |
|||
|
|||
/** |
|||
* |
|||
*/ |
|||
@ExcelProperty(value = "") |
|||
private Date updatetime; |
|||
|
|||
/** |
|||
* |
|||
*/ |
|||
@ExcelProperty(value = "") |
|||
private String id; |
|||
|
|||
/** |
|||
* |
|||
*/ |
|||
@ExcelProperty(value = "") |
|||
private String cdBatch; |
|||
|
|||
/** |
|||
* |
|||
*/ |
|||
@ExcelProperty(value = "") |
|||
private Date addTime; |
|||
|
|||
/** |
|||
* |
|||
*/ |
|||
@ExcelProperty(value = "") |
|||
private String cdOperation; |
|||
|
|||
/** |
|||
* |
|||
*/ |
|||
@ExcelProperty(value = "") |
|||
private Date cdTime; |
|||
|
|||
/** |
|||
* |
|||
*/ |
|||
@ExcelProperty(value = "") |
|||
private String beiyong1; |
|||
|
|||
/** |
|||
* |
|||
*/ |
|||
@ExcelProperty(value = "") |
|||
private String beiyong2; |
|||
|
|||
/** |
|||
* |
|||
*/ |
|||
@ExcelProperty(value = "") |
|||
private Date dmpShareCdTimeIdatat; |
|||
|
|||
|
|||
} |
|||
@ -0,0 +1,190 @@ |
|||
package com.zdxt.enforcementcode.domain.vo; |
|||
|
|||
import java.util.Date; |
|||
import com.fasterxml.jackson.annotation.JsonFormat; |
|||
import com.zdxt.enforcementcode.domain.SxtFlfgyjxx470745; |
|||
import cn.idev.excel.annotation.ExcelIgnoreUnannotated; |
|||
import cn.idev.excel.annotation.ExcelProperty; |
|||
import org.dromara.common.excel.annotation.ExcelDictFormat; |
|||
import org.dromara.common.excel.convert.ExcelDictConvert; |
|||
import io.github.linpeilie.annotations.AutoMapper; |
|||
import lombok.Data; |
|||
|
|||
import java.io.Serial; |
|||
import java.io.Serializable; |
|||
import java.util.Date; |
|||
|
|||
|
|||
|
|||
/** |
|||
* 【请填写功能名称】视图对象 sxt_flfgyjxx470745 |
|||
* |
|||
* @author Lion Li |
|||
* @date 2026-08-31 |
|||
*/ |
|||
@Data |
|||
@ExcelIgnoreUnannotated |
|||
@AutoMapper(target = SxtFlfgyjxx470745.class) |
|||
public class SxtFlfgyjxx470745Vo implements Serializable { |
|||
|
|||
@Serial |
|||
private static final long serialVersionUID = 1L; |
|||
|
|||
/** |
|||
* |
|||
*/ |
|||
@ExcelProperty(value = "") |
|||
private String lawId; |
|||
|
|||
/** |
|||
* |
|||
*/ |
|||
@ExcelProperty(value = "") |
|||
private String lawName; |
|||
|
|||
/** |
|||
* |
|||
*/ |
|||
@ExcelProperty(value = "") |
|||
private Long detailSeries; |
|||
|
|||
/** |
|||
* |
|||
*/ |
|||
@ExcelProperty(value = "") |
|||
private Long detailChapter; |
|||
|
|||
/** |
|||
* |
|||
*/ |
|||
@ExcelProperty(value = "") |
|||
private Long detailSection; |
|||
|
|||
/** |
|||
* |
|||
*/ |
|||
@ExcelProperty(value = "") |
|||
private Long detailStrip; |
|||
|
|||
/** |
|||
* |
|||
*/ |
|||
@ExcelProperty(value = "") |
|||
private Long detailFund; |
|||
|
|||
/** |
|||
* |
|||
*/ |
|||
@ExcelProperty(value = "") |
|||
private Long detailItem; |
|||
|
|||
/** |
|||
* |
|||
*/ |
|||
@ExcelProperty(value = "") |
|||
private String chapterCaption; |
|||
|
|||
/** |
|||
* |
|||
*/ |
|||
@ExcelProperty(value = "") |
|||
private String lawDetailIndex; |
|||
|
|||
/** |
|||
* |
|||
*/ |
|||
@ExcelProperty(value = "") |
|||
private Long detailCatalog; |
|||
|
|||
/** |
|||
* |
|||
*/ |
|||
@ExcelProperty(value = "") |
|||
private String contentText; |
|||
|
|||
/** |
|||
* |
|||
*/ |
|||
@ExcelProperty(value = "") |
|||
private String signId; |
|||
|
|||
/** |
|||
* |
|||
*/ |
|||
@ExcelProperty(value = "") |
|||
private String dataPlace; |
|||
|
|||
/** |
|||
* |
|||
*/ |
|||
@ExcelProperty(value = "") |
|||
private Long ins; |
|||
|
|||
/** |
|||
* |
|||
*/ |
|||
@ExcelProperty(value = "") |
|||
private Long seq; |
|||
|
|||
/** |
|||
* |
|||
*/ |
|||
@ExcelProperty(value = "") |
|||
private Long updatestatus; |
|||
|
|||
/** |
|||
* |
|||
*/ |
|||
@ExcelProperty(value = "") |
|||
private Date updatetime; |
|||
|
|||
/** |
|||
* |
|||
*/ |
|||
@ExcelProperty(value = "") |
|||
private String id; |
|||
|
|||
/** |
|||
* |
|||
*/ |
|||
@ExcelProperty(value = "") |
|||
private String cdBatch; |
|||
|
|||
/** |
|||
* |
|||
*/ |
|||
@ExcelProperty(value = "") |
|||
private Date addTime; |
|||
|
|||
/** |
|||
* |
|||
*/ |
|||
@ExcelProperty(value = "") |
|||
private String cdOperation; |
|||
|
|||
/** |
|||
* |
|||
*/ |
|||
@ExcelProperty(value = "") |
|||
private Date cdTime; |
|||
|
|||
/** |
|||
* |
|||
*/ |
|||
@ExcelProperty(value = "") |
|||
private String beiyong1; |
|||
|
|||
/** |
|||
* |
|||
*/ |
|||
@ExcelProperty(value = "") |
|||
private String beiyong2; |
|||
|
|||
/** |
|||
* |
|||
*/ |
|||
@ExcelProperty(value = "") |
|||
private Date dmpShareCdTimeIdatat; |
|||
|
|||
|
|||
} |
|||
@ -0,0 +1,136 @@ |
|||
package com.zdxt.enforcementcode.domain.vo; |
|||
|
|||
import java.util.Date; |
|||
import com.fasterxml.jackson.annotation.JsonFormat; |
|||
import com.zdxt.enforcementcode.domain.SxtZqxxb104676; |
|||
import cn.idev.excel.annotation.ExcelIgnoreUnannotated; |
|||
import cn.idev.excel.annotation.ExcelProperty; |
|||
import org.dromara.common.excel.annotation.ExcelDictFormat; |
|||
import org.dromara.common.excel.convert.ExcelDictConvert; |
|||
import io.github.linpeilie.annotations.AutoMapper; |
|||
import lombok.Data; |
|||
|
|||
import java.io.Serial; |
|||
import java.io.Serializable; |
|||
import java.util.Date; |
|||
|
|||
|
|||
|
|||
/** |
|||
* 【请填写功能名称】视图对象 sxt_zqxxb104676 |
|||
* |
|||
* @author Lion Li |
|||
* @date 2026-08-31 |
|||
*/ |
|||
@Data |
|||
@ExcelIgnoreUnannotated |
|||
@AutoMapper(target = SxtZqxxb104676.class) |
|||
public class SxtZqxxb104676Vo implements Serializable { |
|||
|
|||
@Serial |
|||
private static final long serialVersionUID = 1L; |
|||
|
|||
/** |
|||
* |
|||
*/ |
|||
@ExcelProperty(value = "") |
|||
private String signId; |
|||
|
|||
/** |
|||
* |
|||
*/ |
|||
@ExcelProperty(value = "") |
|||
private String powerCode; |
|||
|
|||
/** |
|||
* |
|||
*/ |
|||
@ExcelProperty(value = "") |
|||
private String powerName; |
|||
|
|||
/** |
|||
* |
|||
*/ |
|||
@ExcelProperty(value = "") |
|||
private String powerType; |
|||
|
|||
/** |
|||
* |
|||
*/ |
|||
@ExcelProperty(value = "") |
|||
private String dataPlace; |
|||
|
|||
/** |
|||
* |
|||
*/ |
|||
@ExcelProperty(value = "") |
|||
private Long ins; |
|||
|
|||
/** |
|||
* |
|||
*/ |
|||
@ExcelProperty(value = "") |
|||
private Long seq; |
|||
|
|||
/** |
|||
* |
|||
*/ |
|||
@ExcelProperty(value = "") |
|||
private Long updatestatus; |
|||
|
|||
/** |
|||
* |
|||
*/ |
|||
@ExcelProperty(value = "") |
|||
private Date updatetime; |
|||
|
|||
/** |
|||
* |
|||
*/ |
|||
@ExcelProperty(value = "") |
|||
private String id; |
|||
|
|||
/** |
|||
* |
|||
*/ |
|||
@ExcelProperty(value = "") |
|||
private String cdBatch; |
|||
|
|||
/** |
|||
* |
|||
*/ |
|||
@ExcelProperty(value = "") |
|||
private Date addTime; |
|||
|
|||
/** |
|||
* |
|||
*/ |
|||
@ExcelProperty(value = "") |
|||
private String cdOperation; |
|||
|
|||
/** |
|||
* |
|||
*/ |
|||
@ExcelProperty(value = "") |
|||
private Date cdTime; |
|||
|
|||
/** |
|||
* |
|||
*/ |
|||
@ExcelProperty(value = "") |
|||
private String beiyong1; |
|||
|
|||
/** |
|||
* |
|||
*/ |
|||
@ExcelProperty(value = "") |
|||
private String beiyong2; |
|||
|
|||
/** |
|||
* |
|||
*/ |
|||
@ExcelProperty(value = "") |
|||
private Date dmpShareCdTimeIdatat; |
|||
|
|||
|
|||
} |
|||
@ -0,0 +1,15 @@ |
|||
package com.zdxt.enforcementcode.mapper; |
|||
|
|||
import com.zdxt.enforcementcode.domain.SxtFlfgxxb474136; |
|||
import com.zdxt.enforcementcode.domain.vo.SxtFlfgxxb474136Vo; |
|||
import org.dromara.common.mybatis.core.mapper.BaseMapperPlus; |
|||
|
|||
/** |
|||
* 【请填写功能名称】Mapper接口 |
|||
* |
|||
* @author Lion Li |
|||
* @date 2026-08-31 |
|||
*/ |
|||
public interface SxtFlfgxxb474136Mapper extends BaseMapperPlus<SxtFlfgxxb474136, SxtFlfgxxb474136Vo> { |
|||
|
|||
} |
|||
@ -0,0 +1,15 @@ |
|||
package com.zdxt.enforcementcode.mapper; |
|||
|
|||
import com.zdxt.enforcementcode.domain.SxtFlfgyjxx470745; |
|||
import com.zdxt.enforcementcode.domain.vo.SxtFlfgyjxx470745Vo; |
|||
import org.dromara.common.mybatis.core.mapper.BaseMapperPlus; |
|||
|
|||
/** |
|||
* 【请填写功能名称】Mapper接口 |
|||
* |
|||
* @author Lion Li |
|||
* @date 2026-08-31 |
|||
*/ |
|||
public interface SxtFlfgyjxx470745Mapper extends BaseMapperPlus<SxtFlfgyjxx470745, SxtFlfgyjxx470745Vo> { |
|||
|
|||
} |
|||
@ -0,0 +1,15 @@ |
|||
package com.zdxt.enforcementcode.mapper; |
|||
|
|||
import com.zdxt.enforcementcode.domain.SxtZqxxb104676; |
|||
import com.zdxt.enforcementcode.domain.vo.SxtZqxxb104676Vo; |
|||
import org.dromara.common.mybatis.core.mapper.BaseMapperPlus; |
|||
|
|||
/** |
|||
* 【请填写功能名称】Mapper接口 |
|||
* |
|||
* @author Lion Li |
|||
* @date 2026-08-31 |
|||
*/ |
|||
public interface SxtZqxxb104676Mapper extends BaseMapperPlus<SxtZqxxb104676, SxtZqxxb104676Vo> { |
|||
|
|||
} |
|||
@ -0,0 +1,68 @@ |
|||
package com.zdxt.enforcementcode.service; |
|||
|
|||
import com.zdxt.enforcementcode.domain.vo.SxtFlfgxxb474136Vo; |
|||
import com.zdxt.enforcementcode.domain.bo.SxtFlfgxxb474136Bo; |
|||
import org.dromara.common.mybatis.core.page.TableDataInfo; |
|||
import org.dromara.common.mybatis.core.page.PageQuery; |
|||
|
|||
import java.util.Collection; |
|||
import java.util.List; |
|||
|
|||
/** |
|||
* 【请填写功能名称】Service接口 |
|||
* |
|||
* @author Lion Li |
|||
* @date 2026-08-31 |
|||
*/ |
|||
public interface ISxtFlfgxxb474136Service { |
|||
|
|||
/** |
|||
* 查询【请填写功能名称】 |
|||
* |
|||
* @param id 主键 |
|||
* @return 【请填写功能名称】 |
|||
*/ |
|||
SxtFlfgxxb474136Vo queryById(String id); |
|||
|
|||
/** |
|||
* 分页查询【请填写功能名称】列表 |
|||
* |
|||
* @param bo 查询条件 |
|||
* @param pageQuery 分页参数 |
|||
* @return 【请填写功能名称】分页列表 |
|||
*/ |
|||
TableDataInfo<SxtFlfgxxb474136Vo> queryPageList(SxtFlfgxxb474136Bo bo, PageQuery pageQuery); |
|||
|
|||
/** |
|||
* 查询符合条件的【请填写功能名称】列表 |
|||
* |
|||
* @param bo 查询条件 |
|||
* @return 【请填写功能名称】列表 |
|||
*/ |
|||
List<SxtFlfgxxb474136Vo> queryList(SxtFlfgxxb474136Bo bo); |
|||
|
|||
/** |
|||
* 新增【请填写功能名称】 |
|||
* |
|||
* @param bo 【请填写功能名称】 |
|||
* @return 是否新增成功 |
|||
*/ |
|||
Boolean insertByBo(SxtFlfgxxb474136Bo bo); |
|||
|
|||
/** |
|||
* 修改【请填写功能名称】 |
|||
* |
|||
* @param bo 【请填写功能名称】 |
|||
* @return 是否修改成功 |
|||
*/ |
|||
Boolean updateByBo(SxtFlfgxxb474136Bo bo); |
|||
|
|||
/** |
|||
* 校验并批量删除【请填写功能名称】信息 |
|||
* |
|||
* @param ids 待删除的主键集合 |
|||
* @param isValid 是否进行有效性校验 |
|||
* @return 是否删除成功 |
|||
*/ |
|||
Boolean deleteWithValidByIds(Collection<String> ids, Boolean isValid); |
|||
} |
|||
@ -0,0 +1,68 @@ |
|||
package com.zdxt.enforcementcode.service; |
|||
|
|||
import com.zdxt.enforcementcode.domain.vo.SxtFlfgyjxx470745Vo; |
|||
import com.zdxt.enforcementcode.domain.bo.SxtFlfgyjxx470745Bo; |
|||
import org.dromara.common.mybatis.core.page.TableDataInfo; |
|||
import org.dromara.common.mybatis.core.page.PageQuery; |
|||
|
|||
import java.util.Collection; |
|||
import java.util.List; |
|||
|
|||
/** |
|||
* 【请填写功能名称】Service接口 |
|||
* |
|||
* @author Lion Li |
|||
* @date 2026-08-31 |
|||
*/ |
|||
public interface ISxtFlfgyjxx470745Service { |
|||
|
|||
/** |
|||
* 查询【请填写功能名称】 |
|||
* |
|||
* @param id 主键 |
|||
* @return 【请填写功能名称】 |
|||
*/ |
|||
SxtFlfgyjxx470745Vo queryById(String id); |
|||
|
|||
/** |
|||
* 分页查询【请填写功能名称】列表 |
|||
* |
|||
* @param bo 查询条件 |
|||
* @param pageQuery 分页参数 |
|||
* @return 【请填写功能名称】分页列表 |
|||
*/ |
|||
TableDataInfo<SxtFlfgyjxx470745Vo> queryPageList(SxtFlfgyjxx470745Bo bo, PageQuery pageQuery); |
|||
|
|||
/** |
|||
* 查询符合条件的【请填写功能名称】列表 |
|||
* |
|||
* @param bo 查询条件 |
|||
* @return 【请填写功能名称】列表 |
|||
*/ |
|||
List<SxtFlfgyjxx470745Vo> queryList(SxtFlfgyjxx470745Bo bo); |
|||
|
|||
/** |
|||
* 新增【请填写功能名称】 |
|||
* |
|||
* @param bo 【请填写功能名称】 |
|||
* @return 是否新增成功 |
|||
*/ |
|||
Boolean insertByBo(SxtFlfgyjxx470745Bo bo); |
|||
|
|||
/** |
|||
* 修改【请填写功能名称】 |
|||
* |
|||
* @param bo 【请填写功能名称】 |
|||
* @return 是否修改成功 |
|||
*/ |
|||
Boolean updateByBo(SxtFlfgyjxx470745Bo bo); |
|||
|
|||
/** |
|||
* 校验并批量删除【请填写功能名称】信息 |
|||
* |
|||
* @param ids 待删除的主键集合 |
|||
* @param isValid 是否进行有效性校验 |
|||
* @return 是否删除成功 |
|||
*/ |
|||
Boolean deleteWithValidByIds(Collection<String> ids, Boolean isValid); |
|||
} |
|||
@ -0,0 +1,68 @@ |
|||
package com.zdxt.enforcementcode.service; |
|||
|
|||
import com.zdxt.enforcementcode.domain.vo.SxtZqxxb104676Vo; |
|||
import com.zdxt.enforcementcode.domain.bo.SxtZqxxb104676Bo; |
|||
import org.dromara.common.mybatis.core.page.TableDataInfo; |
|||
import org.dromara.common.mybatis.core.page.PageQuery; |
|||
|
|||
import java.util.Collection; |
|||
import java.util.List; |
|||
|
|||
/** |
|||
* 【请填写功能名称】Service接口 |
|||
* |
|||
* @author Lion Li |
|||
* @date 2026-08-31 |
|||
*/ |
|||
public interface ISxtZqxxb104676Service { |
|||
|
|||
/** |
|||
* 查询【请填写功能名称】 |
|||
* |
|||
* @param id 主键 |
|||
* @return 【请填写功能名称】 |
|||
*/ |
|||
SxtZqxxb104676Vo queryById(String id); |
|||
|
|||
/** |
|||
* 分页查询【请填写功能名称】列表 |
|||
* |
|||
* @param bo 查询条件 |
|||
* @param pageQuery 分页参数 |
|||
* @return 【请填写功能名称】分页列表 |
|||
*/ |
|||
TableDataInfo<SxtZqxxb104676Vo> queryPageList(SxtZqxxb104676Bo bo, PageQuery pageQuery); |
|||
|
|||
/** |
|||
* 查询符合条件的【请填写功能名称】列表 |
|||
* |
|||
* @param bo 查询条件 |
|||
* @return 【请填写功能名称】列表 |
|||
*/ |
|||
List<SxtZqxxb104676Vo> queryList(SxtZqxxb104676Bo bo); |
|||
|
|||
/** |
|||
* 新增【请填写功能名称】 |
|||
* |
|||
* @param bo 【请填写功能名称】 |
|||
* @return 是否新增成功 |
|||
*/ |
|||
Boolean insertByBo(SxtZqxxb104676Bo bo); |
|||
|
|||
/** |
|||
* 修改【请填写功能名称】 |
|||
* |
|||
* @param bo 【请填写功能名称】 |
|||
* @return 是否修改成功 |
|||
*/ |
|||
Boolean updateByBo(SxtZqxxb104676Bo bo); |
|||
|
|||
/** |
|||
* 校验并批量删除【请填写功能名称】信息 |
|||
* |
|||
* @param ids 待删除的主键集合 |
|||
* @param isValid 是否进行有效性校验 |
|||
* @return 是否删除成功 |
|||
*/ |
|||
Boolean deleteWithValidByIds(Collection<String> ids, Boolean isValid); |
|||
} |
|||
@ -0,0 +1,150 @@ |
|||
package com.zdxt.enforcementcode.service.impl; |
|||
|
|||
import org.dromara.common.core.utils.MapstructUtils; |
|||
import org.dromara.common.core.utils.StringUtils; |
|||
import org.dromara.common.mybatis.core.page.TableDataInfo; |
|||
import org.dromara.common.mybatis.core.page.PageQuery; |
|||
import com.baomidou.mybatisplus.extension.plugins.pagination.Page; |
|||
import com.baomidou.mybatisplus.core.conditions.query.LambdaQueryWrapper; |
|||
import com.baomidou.mybatisplus.core.toolkit.Wrappers; |
|||
import lombok.RequiredArgsConstructor; |
|||
import lombok.extern.slf4j.Slf4j; |
|||
import org.springframework.stereotype.Service; |
|||
import com.zdxt.enforcementcode.domain.bo.SxtFlfgxxb474136Bo; |
|||
import com.zdxt.enforcementcode.domain.vo.SxtFlfgxxb474136Vo; |
|||
import com.zdxt.enforcementcode.domain.SxtFlfgxxb474136; |
|||
import com.zdxt.enforcementcode.mapper.SxtFlfgxxb474136Mapper; |
|||
import com.zdxt.enforcementcode.service.ISxtFlfgxxb474136Service; |
|||
|
|||
import java.util.List; |
|||
import java.util.Map; |
|||
import java.util.Collection; |
|||
|
|||
/** |
|||
* 【请填写功能名称】Service业务层处理 |
|||
* |
|||
* @author Lion Li |
|||
* @date 2026-08-31 |
|||
*/ |
|||
@Slf4j |
|||
@RequiredArgsConstructor |
|||
@Service |
|||
public class SxtFlfgxxb474136ServiceImpl implements ISxtFlfgxxb474136Service { |
|||
|
|||
private final SxtFlfgxxb474136Mapper baseMapper; |
|||
|
|||
/** |
|||
* 查询【请填写功能名称】 |
|||
* |
|||
* @param id 主键 |
|||
* @return 【请填写功能名称】 |
|||
*/ |
|||
@Override |
|||
public SxtFlfgxxb474136Vo queryById(String id){ |
|||
return baseMapper.selectVoById(id); |
|||
} |
|||
|
|||
/** |
|||
* 分页查询【请填写功能名称】列表 |
|||
* |
|||
* @param bo 查询条件 |
|||
* @param pageQuery 分页参数 |
|||
* @return 【请填写功能名称】分页列表 |
|||
*/ |
|||
@Override |
|||
public TableDataInfo<SxtFlfgxxb474136Vo> queryPageList(SxtFlfgxxb474136Bo bo, PageQuery pageQuery) { |
|||
LambdaQueryWrapper<SxtFlfgxxb474136> lqw = buildQueryWrapper(bo); |
|||
Page<SxtFlfgxxb474136Vo> result = baseMapper.selectVoPage(pageQuery.build(), lqw); |
|||
return TableDataInfo.build(result); |
|||
} |
|||
|
|||
/** |
|||
* 查询符合条件的【请填写功能名称】列表 |
|||
* |
|||
* @param bo 查询条件 |
|||
* @return 【请填写功能名称】列表 |
|||
*/ |
|||
@Override |
|||
public List<SxtFlfgxxb474136Vo> queryList(SxtFlfgxxb474136Bo bo) { |
|||
LambdaQueryWrapper<SxtFlfgxxb474136> lqw = buildQueryWrapper(bo); |
|||
return baseMapper.selectVoList(lqw); |
|||
} |
|||
|
|||
private LambdaQueryWrapper<SxtFlfgxxb474136> buildQueryWrapper(SxtFlfgxxb474136Bo bo) { |
|||
Map<String, Object> params = bo.getParams(); |
|||
LambdaQueryWrapper<SxtFlfgxxb474136> lqw = Wrappers.lambdaQuery(); |
|||
lqw.like(StringUtils.isNotBlank(bo.getLawName()), SxtFlfgxxb474136::getLawName, bo.getLawName()); |
|||
lqw.eq(StringUtils.isNotBlank(bo.getTimeliness()), SxtFlfgxxb474136::getTimeliness, bo.getTimeliness()); |
|||
lqw.eq(StringUtils.isNotBlank(bo.getWord()), SxtFlfgxxb474136::getWord, bo.getWord()); |
|||
lqw.eq(StringUtils.isNotBlank(bo.getOrgan()), SxtFlfgxxb474136::getOrgan, bo.getOrgan()); |
|||
lqw.eq(bo.getPromulgation() != null, SxtFlfgxxb474136::getPromulgation, bo.getPromulgation()); |
|||
lqw.eq(bo.getImplementation() != null, SxtFlfgxxb474136::getImplementation, bo.getImplementation()); |
|||
lqw.eq(StringUtils.isNotBlank(bo.getSignId()), SxtFlfgxxb474136::getSignId, bo.getSignId()); |
|||
lqw.eq(StringUtils.isNotBlank(bo.getDataPlace()), SxtFlfgxxb474136::getDataPlace, bo.getDataPlace()); |
|||
lqw.eq(bo.getIns() != null, SxtFlfgxxb474136::getIns, bo.getIns()); |
|||
lqw.eq(bo.getSeq() != null, SxtFlfgxxb474136::getSeq, bo.getSeq()); |
|||
lqw.eq(bo.getUpdatestatus() != null, SxtFlfgxxb474136::getUpdatestatus, bo.getUpdatestatus()); |
|||
//lqw.eq(bo.getUpdatetime() != null, SxtFlfgxxb474136::getUpdatetime, bo.getUpdatetime());
|
|||
lqw.orderByAsc(SxtFlfgxxb474136::getId); |
|||
lqw.eq(StringUtils.isNotBlank(bo.getCdBatch()), SxtFlfgxxb474136::getCdBatch, bo.getCdBatch()); |
|||
lqw.eq(bo.getAddTime() != null, SxtFlfgxxb474136::getAddTime, bo.getAddTime()); |
|||
lqw.eq(StringUtils.isNotBlank(bo.getCdOperation()), SxtFlfgxxb474136::getCdOperation, bo.getCdOperation()); |
|||
lqw.eq(bo.getCdTime() != null, SxtFlfgxxb474136::getCdTime, bo.getCdTime()); |
|||
lqw.eq(StringUtils.isNotBlank(bo.getBeiyong1()), SxtFlfgxxb474136::getBeiyong1, bo.getBeiyong1()); |
|||
lqw.eq(StringUtils.isNotBlank(bo.getBeiyong2()), SxtFlfgxxb474136::getBeiyong2, bo.getBeiyong2()); |
|||
lqw.eq(bo.getDmpShareCdTimeIdatat() != null, SxtFlfgxxb474136::getDmpShareCdTimeIdatat, bo.getDmpShareCdTimeIdatat()); |
|||
return lqw; |
|||
} |
|||
|
|||
/** |
|||
* 新增【请填写功能名称】 |
|||
* |
|||
* @param bo 【请填写功能名称】 |
|||
* @return 是否新增成功 |
|||
*/ |
|||
@Override |
|||
public Boolean insertByBo(SxtFlfgxxb474136Bo bo) { |
|||
SxtFlfgxxb474136 add = MapstructUtils.convert(bo, SxtFlfgxxb474136.class); |
|||
validEntityBeforeSave(add); |
|||
boolean flag = baseMapper.insert(add) > 0; |
|||
if (flag) { |
|||
bo.setId(add.getId()); |
|||
} |
|||
return flag; |
|||
} |
|||
|
|||
/** |
|||
* 修改【请填写功能名称】 |
|||
* |
|||
* @param bo 【请填写功能名称】 |
|||
* @return 是否修改成功 |
|||
*/ |
|||
@Override |
|||
public Boolean updateByBo(SxtFlfgxxb474136Bo bo) { |
|||
SxtFlfgxxb474136 update = MapstructUtils.convert(bo, SxtFlfgxxb474136.class); |
|||
validEntityBeforeSave(update); |
|||
return baseMapper.updateById(update) > 0; |
|||
} |
|||
|
|||
/** |
|||
* 保存前的数据校验 |
|||
*/ |
|||
private void validEntityBeforeSave(SxtFlfgxxb474136 entity){ |
|||
//TODO 做一些数据校验,如唯一约束
|
|||
} |
|||
|
|||
/** |
|||
* 校验并批量删除【请填写功能名称】信息 |
|||
* |
|||
* @param ids 待删除的主键集合 |
|||
* @param isValid 是否进行有效性校验 |
|||
* @return 是否删除成功 |
|||
*/ |
|||
@Override |
|||
public Boolean deleteWithValidByIds(Collection<String> ids, Boolean isValid) { |
|||
if(isValid){ |
|||
//TODO 做一些业务上的校验,判断是否需要校验
|
|||
} |
|||
return baseMapper.deleteByIds(ids) > 0; |
|||
} |
|||
} |
|||
@ -0,0 +1,156 @@ |
|||
package com.zdxt.enforcementcode.service.impl; |
|||
|
|||
import org.dromara.common.core.utils.MapstructUtils; |
|||
import org.dromara.common.core.utils.StringUtils; |
|||
import org.dromara.common.mybatis.core.page.TableDataInfo; |
|||
import org.dromara.common.mybatis.core.page.PageQuery; |
|||
import com.baomidou.mybatisplus.extension.plugins.pagination.Page; |
|||
import com.baomidou.mybatisplus.core.conditions.query.LambdaQueryWrapper; |
|||
import com.baomidou.mybatisplus.core.toolkit.Wrappers; |
|||
import lombok.RequiredArgsConstructor; |
|||
import lombok.extern.slf4j.Slf4j; |
|||
import org.springframework.stereotype.Service; |
|||
import com.zdxt.enforcementcode.domain.bo.SxtFlfgyjxx470745Bo; |
|||
import com.zdxt.enforcementcode.domain.vo.SxtFlfgyjxx470745Vo; |
|||
import com.zdxt.enforcementcode.domain.SxtFlfgyjxx470745; |
|||
import com.zdxt.enforcementcode.mapper.SxtFlfgyjxx470745Mapper; |
|||
import com.zdxt.enforcementcode.service.ISxtFlfgyjxx470745Service; |
|||
|
|||
import java.util.List; |
|||
import java.util.Map; |
|||
import java.util.Collection; |
|||
|
|||
/** |
|||
* 【请填写功能名称】Service业务层处理 |
|||
* |
|||
* @author Lion Li |
|||
* @date 2026-08-31 |
|||
*/ |
|||
@Slf4j |
|||
@RequiredArgsConstructor |
|||
@Service |
|||
public class SxtFlfgyjxx470745ServiceImpl implements ISxtFlfgyjxx470745Service { |
|||
|
|||
private final SxtFlfgyjxx470745Mapper baseMapper; |
|||
|
|||
/** |
|||
* 查询【请填写功能名称】 |
|||
* |
|||
* @param id 主键 |
|||
* @return 【请填写功能名称】 |
|||
*/ |
|||
@Override |
|||
public SxtFlfgyjxx470745Vo queryById(String id){ |
|||
return baseMapper.selectVoById(id); |
|||
} |
|||
|
|||
/** |
|||
* 分页查询【请填写功能名称】列表 |
|||
* |
|||
* @param bo 查询条件 |
|||
* @param pageQuery 分页参数 |
|||
* @return 【请填写功能名称】分页列表 |
|||
*/ |
|||
@Override |
|||
public TableDataInfo<SxtFlfgyjxx470745Vo> queryPageList(SxtFlfgyjxx470745Bo bo, PageQuery pageQuery) { |
|||
LambdaQueryWrapper<SxtFlfgyjxx470745> lqw = buildQueryWrapper(bo); |
|||
Page<SxtFlfgyjxx470745Vo> result = baseMapper.selectVoPage(pageQuery.build(), lqw); |
|||
return TableDataInfo.build(result); |
|||
} |
|||
|
|||
/** |
|||
* 查询符合条件的【请填写功能名称】列表 |
|||
* |
|||
* @param bo 查询条件 |
|||
* @return 【请填写功能名称】列表 |
|||
*/ |
|||
@Override |
|||
public List<SxtFlfgyjxx470745Vo> queryList(SxtFlfgyjxx470745Bo bo) { |
|||
LambdaQueryWrapper<SxtFlfgyjxx470745> lqw = buildQueryWrapper(bo); |
|||
return baseMapper.selectVoList(lqw); |
|||
} |
|||
|
|||
private LambdaQueryWrapper<SxtFlfgyjxx470745> buildQueryWrapper(SxtFlfgyjxx470745Bo bo) { |
|||
Map<String, Object> params = bo.getParams(); |
|||
LambdaQueryWrapper<SxtFlfgyjxx470745> lqw = Wrappers.lambdaQuery(); |
|||
lqw.eq(StringUtils.isNotBlank(bo.getLawId()), SxtFlfgyjxx470745::getLawId, bo.getLawId()); |
|||
lqw.like(StringUtils.isNotBlank(bo.getLawName()), SxtFlfgyjxx470745::getLawName, bo.getLawName()); |
|||
lqw.eq(bo.getDetailSeries() != null, SxtFlfgyjxx470745::getDetailSeries, bo.getDetailSeries()); |
|||
lqw.eq(bo.getDetailChapter() != null, SxtFlfgyjxx470745::getDetailChapter, bo.getDetailChapter()); |
|||
lqw.eq(bo.getDetailSection() != null, SxtFlfgyjxx470745::getDetailSection, bo.getDetailSection()); |
|||
lqw.eq(bo.getDetailStrip() != null, SxtFlfgyjxx470745::getDetailStrip, bo.getDetailStrip()); |
|||
lqw.eq(bo.getDetailFund() != null, SxtFlfgyjxx470745::getDetailFund, bo.getDetailFund()); |
|||
lqw.eq(bo.getDetailItem() != null, SxtFlfgyjxx470745::getDetailItem, bo.getDetailItem()); |
|||
lqw.eq(StringUtils.isNotBlank(bo.getChapterCaption()), SxtFlfgyjxx470745::getChapterCaption, bo.getChapterCaption()); |
|||
lqw.eq(StringUtils.isNotBlank(bo.getLawDetailIndex()), SxtFlfgyjxx470745::getLawDetailIndex, bo.getLawDetailIndex()); |
|||
lqw.eq(bo.getDetailCatalog() != null, SxtFlfgyjxx470745::getDetailCatalog, bo.getDetailCatalog()); |
|||
lqw.eq(StringUtils.isNotBlank(bo.getContentText()), SxtFlfgyjxx470745::getContentText, bo.getContentText()); |
|||
lqw.eq(StringUtils.isNotBlank(bo.getSignId()), SxtFlfgyjxx470745::getSignId, bo.getSignId()); |
|||
lqw.eq(StringUtils.isNotBlank(bo.getDataPlace()), SxtFlfgyjxx470745::getDataPlace, bo.getDataPlace()); |
|||
lqw.eq(bo.getIns() != null, SxtFlfgyjxx470745::getIns, bo.getIns()); |
|||
lqw.eq(bo.getSeq() != null, SxtFlfgyjxx470745::getSeq, bo.getSeq()); |
|||
lqw.eq(bo.getUpdatestatus() != null, SxtFlfgyjxx470745::getUpdatestatus, bo.getUpdatestatus()); |
|||
//lqw.eq(bo.getUpdatetime() != null, SxtFlfgyjxx470745::getUpdatetime, bo.getUpdatetime());
|
|||
lqw.orderByAsc(SxtFlfgyjxx470745::getId); |
|||
lqw.eq(StringUtils.isNotBlank(bo.getCdBatch()), SxtFlfgyjxx470745::getCdBatch, bo.getCdBatch()); |
|||
lqw.eq(bo.getAddTime() != null, SxtFlfgyjxx470745::getAddTime, bo.getAddTime()); |
|||
lqw.eq(StringUtils.isNotBlank(bo.getCdOperation()), SxtFlfgyjxx470745::getCdOperation, bo.getCdOperation()); |
|||
lqw.eq(bo.getCdTime() != null, SxtFlfgyjxx470745::getCdTime, bo.getCdTime()); |
|||
lqw.eq(StringUtils.isNotBlank(bo.getBeiyong1()), SxtFlfgyjxx470745::getBeiyong1, bo.getBeiyong1()); |
|||
lqw.eq(StringUtils.isNotBlank(bo.getBeiyong2()), SxtFlfgyjxx470745::getBeiyong2, bo.getBeiyong2()); |
|||
lqw.eq(bo.getDmpShareCdTimeIdatat() != null, SxtFlfgyjxx470745::getDmpShareCdTimeIdatat, bo.getDmpShareCdTimeIdatat()); |
|||
return lqw; |
|||
} |
|||
|
|||
/** |
|||
* 新增【请填写功能名称】 |
|||
* |
|||
* @param bo 【请填写功能名称】 |
|||
* @return 是否新增成功 |
|||
*/ |
|||
@Override |
|||
public Boolean insertByBo(SxtFlfgyjxx470745Bo bo) { |
|||
SxtFlfgyjxx470745 add = MapstructUtils.convert(bo, SxtFlfgyjxx470745.class); |
|||
validEntityBeforeSave(add); |
|||
boolean flag = baseMapper.insert(add) > 0; |
|||
if (flag) { |
|||
bo.setId(add.getId()); |
|||
} |
|||
return flag; |
|||
} |
|||
|
|||
/** |
|||
* 修改【请填写功能名称】 |
|||
* |
|||
* @param bo 【请填写功能名称】 |
|||
* @return 是否修改成功 |
|||
*/ |
|||
@Override |
|||
public Boolean updateByBo(SxtFlfgyjxx470745Bo bo) { |
|||
SxtFlfgyjxx470745 update = MapstructUtils.convert(bo, SxtFlfgyjxx470745.class); |
|||
validEntityBeforeSave(update); |
|||
return baseMapper.updateById(update) > 0; |
|||
} |
|||
|
|||
/** |
|||
* 保存前的数据校验 |
|||
*/ |
|||
private void validEntityBeforeSave(SxtFlfgyjxx470745 entity){ |
|||
//TODO 做一些数据校验,如唯一约束
|
|||
} |
|||
|
|||
/** |
|||
* 校验并批量删除【请填写功能名称】信息 |
|||
* |
|||
* @param ids 待删除的主键集合 |
|||
* @param isValid 是否进行有效性校验 |
|||
* @return 是否删除成功 |
|||
*/ |
|||
@Override |
|||
public Boolean deleteWithValidByIds(Collection<String> ids, Boolean isValid) { |
|||
if(isValid){ |
|||
//TODO 做一些业务上的校验,判断是否需要校验
|
|||
} |
|||
return baseMapper.deleteByIds(ids) > 0; |
|||
} |
|||
} |
|||
@ -0,0 +1,147 @@ |
|||
package com.zdxt.enforcementcode.service.impl; |
|||
|
|||
import org.dromara.common.core.utils.MapstructUtils; |
|||
import org.dromara.common.core.utils.StringUtils; |
|||
import org.dromara.common.mybatis.core.page.TableDataInfo; |
|||
import org.dromara.common.mybatis.core.page.PageQuery; |
|||
import com.baomidou.mybatisplus.extension.plugins.pagination.Page; |
|||
import com.baomidou.mybatisplus.core.conditions.query.LambdaQueryWrapper; |
|||
import com.baomidou.mybatisplus.core.toolkit.Wrappers; |
|||
import lombok.RequiredArgsConstructor; |
|||
import lombok.extern.slf4j.Slf4j; |
|||
import org.springframework.stereotype.Service; |
|||
import com.zdxt.enforcementcode.domain.bo.SxtZqxxb104676Bo; |
|||
import com.zdxt.enforcementcode.domain.vo.SxtZqxxb104676Vo; |
|||
import com.zdxt.enforcementcode.domain.SxtZqxxb104676; |
|||
import com.zdxt.enforcementcode.mapper.SxtZqxxb104676Mapper; |
|||
import com.zdxt.enforcementcode.service.ISxtZqxxb104676Service; |
|||
|
|||
import java.util.List; |
|||
import java.util.Map; |
|||
import java.util.Collection; |
|||
|
|||
/** |
|||
* 【请填写功能名称】Service业务层处理 |
|||
* |
|||
* @author Lion Li |
|||
* @date 2026-08-31 |
|||
*/ |
|||
@Slf4j |
|||
@RequiredArgsConstructor |
|||
@Service |
|||
public class SxtZqxxb104676ServiceImpl implements ISxtZqxxb104676Service { |
|||
|
|||
private final SxtZqxxb104676Mapper baseMapper; |
|||
|
|||
/** |
|||
* 查询【请填写功能名称】 |
|||
* |
|||
* @param id 主键 |
|||
* @return 【请填写功能名称】 |
|||
*/ |
|||
@Override |
|||
public SxtZqxxb104676Vo queryById(String id){ |
|||
return baseMapper.selectVoById(id); |
|||
} |
|||
|
|||
/** |
|||
* 分页查询【请填写功能名称】列表 |
|||
* |
|||
* @param bo 查询条件 |
|||
* @param pageQuery 分页参数 |
|||
* @return 【请填写功能名称】分页列表 |
|||
*/ |
|||
@Override |
|||
public TableDataInfo<SxtZqxxb104676Vo> queryPageList(SxtZqxxb104676Bo bo, PageQuery pageQuery) { |
|||
LambdaQueryWrapper<SxtZqxxb104676> lqw = buildQueryWrapper(bo); |
|||
Page<SxtZqxxb104676Vo> result = baseMapper.selectVoPage(pageQuery.build(), lqw); |
|||
return TableDataInfo.build(result); |
|||
} |
|||
|
|||
/** |
|||
* 查询符合条件的【请填写功能名称】列表 |
|||
* |
|||
* @param bo 查询条件 |
|||
* @return 【请填写功能名称】列表 |
|||
*/ |
|||
@Override |
|||
public List<SxtZqxxb104676Vo> queryList(SxtZqxxb104676Bo bo) { |
|||
LambdaQueryWrapper<SxtZqxxb104676> lqw = buildQueryWrapper(bo); |
|||
return baseMapper.selectVoList(lqw); |
|||
} |
|||
|
|||
private LambdaQueryWrapper<SxtZqxxb104676> buildQueryWrapper(SxtZqxxb104676Bo bo) { |
|||
Map<String, Object> params = bo.getParams(); |
|||
LambdaQueryWrapper<SxtZqxxb104676> lqw = Wrappers.lambdaQuery(); |
|||
lqw.eq(StringUtils.isNotBlank(bo.getSignId()), SxtZqxxb104676::getSignId, bo.getSignId()); |
|||
lqw.eq(StringUtils.isNotBlank(bo.getPowerCode()), SxtZqxxb104676::getPowerCode, bo.getPowerCode()); |
|||
lqw.like(StringUtils.isNotBlank(bo.getPowerName()), SxtZqxxb104676::getPowerName, bo.getPowerName()); |
|||
lqw.eq(StringUtils.isNotBlank(bo.getPowerType()), SxtZqxxb104676::getPowerType, bo.getPowerType()); |
|||
lqw.eq(StringUtils.isNotBlank(bo.getDataPlace()), SxtZqxxb104676::getDataPlace, bo.getDataPlace()); |
|||
lqw.eq(bo.getIns() != null, SxtZqxxb104676::getIns, bo.getIns()); |
|||
lqw.eq(bo.getSeq() != null, SxtZqxxb104676::getSeq, bo.getSeq()); |
|||
lqw.eq(bo.getUpdatestatus() != null, SxtZqxxb104676::getUpdatestatus, bo.getUpdatestatus()); |
|||
//lqw.eq(bo.getUpdatetime() != null, SxtZqxxb104676::getUpdatetime, bo.getUpdatetime());
|
|||
lqw.orderByAsc(SxtZqxxb104676::getId); |
|||
lqw.eq(StringUtils.isNotBlank(bo.getCdBatch()), SxtZqxxb104676::getCdBatch, bo.getCdBatch()); |
|||
lqw.eq(bo.getAddTime() != null, SxtZqxxb104676::getAddTime, bo.getAddTime()); |
|||
lqw.eq(StringUtils.isNotBlank(bo.getCdOperation()), SxtZqxxb104676::getCdOperation, bo.getCdOperation()); |
|||
lqw.eq(bo.getCdTime() != null, SxtZqxxb104676::getCdTime, bo.getCdTime()); |
|||
lqw.eq(StringUtils.isNotBlank(bo.getBeiyong1()), SxtZqxxb104676::getBeiyong1, bo.getBeiyong1()); |
|||
lqw.eq(StringUtils.isNotBlank(bo.getBeiyong2()), SxtZqxxb104676::getBeiyong2, bo.getBeiyong2()); |
|||
lqw.eq(bo.getDmpShareCdTimeIdatat() != null, SxtZqxxb104676::getDmpShareCdTimeIdatat, bo.getDmpShareCdTimeIdatat()); |
|||
return lqw; |
|||
} |
|||
|
|||
/** |
|||
* 新增【请填写功能名称】 |
|||
* |
|||
* @param bo 【请填写功能名称】 |
|||
* @return 是否新增成功 |
|||
*/ |
|||
@Override |
|||
public Boolean insertByBo(SxtZqxxb104676Bo bo) { |
|||
SxtZqxxb104676 add = MapstructUtils.convert(bo, SxtZqxxb104676.class); |
|||
validEntityBeforeSave(add); |
|||
boolean flag = baseMapper.insert(add) > 0; |
|||
if (flag) { |
|||
bo.setId(add.getId()); |
|||
} |
|||
return flag; |
|||
} |
|||
|
|||
/** |
|||
* 修改【请填写功能名称】 |
|||
* |
|||
* @param bo 【请填写功能名称】 |
|||
* @return 是否修改成功 |
|||
*/ |
|||
@Override |
|||
public Boolean updateByBo(SxtZqxxb104676Bo bo) { |
|||
SxtZqxxb104676 update = MapstructUtils.convert(bo, SxtZqxxb104676.class); |
|||
validEntityBeforeSave(update); |
|||
return baseMapper.updateById(update) > 0; |
|||
} |
|||
|
|||
/** |
|||
* 保存前的数据校验 |
|||
*/ |
|||
private void validEntityBeforeSave(SxtZqxxb104676 entity){ |
|||
//TODO 做一些数据校验,如唯一约束
|
|||
} |
|||
|
|||
/** |
|||
* 校验并批量删除【请填写功能名称】信息 |
|||
* |
|||
* @param ids 待删除的主键集合 |
|||
* @param isValid 是否进行有效性校验 |
|||
* @return 是否删除成功 |
|||
*/ |
|||
@Override |
|||
public Boolean deleteWithValidByIds(Collection<String> ids, Boolean isValid) { |
|||
if(isValid){ |
|||
//TODO 做一些业务上的校验,判断是否需要校验
|
|||
} |
|||
return baseMapper.deleteByIds(ids) > 0; |
|||
} |
|||
} |
|||
@ -0,0 +1,6 @@ |
|||
<?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.zdxt.enforcementcode.mapper.SxtFlfgxxb474136Mapper"> |
|||
</mapper> |
|||
@ -0,0 +1,6 @@ |
|||
<?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.zdxt.enforcementcode.mapper.SxtFlfgyjxx470745Mapper"> |
|||
</mapper> |
|||
@ -0,0 +1,6 @@ |
|||
<?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.zdxt.enforcementcode.mapper.SxtZqxxb104676Mapper"> |
|||
</mapper> |
|||
Loading…
Reference in new issue