自检指标,应征凭证种类字典表

This commit is contained in:
dengliangliang 2025-12-11 16:46:18 +08:00
parent 4e888f7a6d
commit 307c44154f
5 changed files with 108 additions and 0 deletions

View File

@ -48,6 +48,9 @@ public class ZjzbdmVoController {
@Autowired
private IZjzbSwjgVoService zjzbSwjgVoService;
@Autowired
private IZjzbDzbzdszlVoService zjzbDzbzdszlVoService;
@GetMapping("/page")
@ApiOperation("分页查询")
public Result<IPage<ZjzbdmVo>> getZjzbdmVoPage(@RequestParam(defaultValue = "1") int pageNum,
@ -159,4 +162,14 @@ public class ZjzbdmVoController {
return R.ok(zjzbSwjgDTOS);
}
@GetMapping("/getZjzbDzbzdszlVoList")
@ApiOperation("查询自检指标应征凭证种类代码")
public Result<List<ZjzbDzbzdszlVo>> getZjzbDzbzdszlVoList() {
List<ZjzbDzbzdszlVo> zjzbDzbzdszlVos = zjzbDzbzdszlVoService.lambdaQuery()
.eq(ZjzbDzbzdszlVo::getYxbz,"Y")
.eq(ZjzbDzbzdszlVo::getXybz,"Y")
.orderByAsc(ZjzbDzbzdszlVo::getDzbzdszlDm)
.list();
return R.ok(zjzbDzbzdszlVos);
}
}

View File

@ -0,0 +1,55 @@
package com.kakarote.crm.entity.VO;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;
import java.io.Serializable;
/**
* @description: 电子类表证单书种类代码
* @Author: dengLL
* @CreateTime: 2025/12/10
*/
@Setter
@Getter
@TableName("wk_crm_dzbzdszl")
public class ZjzbDzbzdszlVo implements Serializable {
private static final long serialVersionUID = 1L;
@TableId(value = "dzbzdszl_dm",type = IdType.NONE)
@ApiModelProperty(value = "电子表证单书种类代码")
private String dzbzdszlDm;
@TableField(value = "dzbzdszlmc")
@ApiModelProperty(value = "电子表证单书种类名称")
private String dzbzdszlmc;
@TableField(value = "xybz")
@ApiModelProperty(value = "选用标志")
private String xybz;
@TableField(value = "yxbz")
@ApiModelProperty(value = "有效标志")
private String yxbz;
@TableField(value = "zg")
@ApiModelProperty(value = "字轨")
private String zg;
@TableField(value = "sjdzbzdszl_dm")
@ApiModelProperty(value = "上级电子表证单书种类代码")
private String sjdzbzdszlDm;
@TableField(value = "sdnsrbz_dm")
@ApiModelProperty(value = "送达纳税人标志代码")
private String sdnsrbzDm;
@TableField(value = "bz")
@ApiModelProperty(value = "备注")
private String bz;
}

View File

@ -0,0 +1,12 @@
package com.kakarote.crm.mapper;
import com.kakarote.core.servlet.BaseMapper;
import com.kakarote.crm.entity.VO.ZjzbDzbzdszlVo;
/**
* @description: 电子类表证单书种类代码
* @Author: dengLL
* @CreateTime: 2025/12/11
*/
public interface ZjzbDzbzdszlVoMapper extends BaseMapper<ZjzbDzbzdszlVo> {
}

View File

@ -0,0 +1,12 @@
package com.kakarote.crm.service;
import com.kakarote.core.servlet.BaseService;
import com.kakarote.crm.entity.VO.ZjzbDzbzdszlVo;
/**
* @description: 电子类表证单书种类代码
* @Author: dengLL
* @CreateTime: 2025/12/11
*/
public interface IZjzbDzbzdszlVoService extends BaseService<ZjzbDzbzdszlVo> {
}

View File

@ -0,0 +1,16 @@
package com.kakarote.crm.service.impl;
import com.kakarote.core.servlet.BaseServiceImpl;
import com.kakarote.crm.entity.VO.ZjzbDzbzdszlVo;
import com.kakarote.crm.mapper.ZjzbDzbzdszlVoMapper;
import com.kakarote.crm.service.IZjzbDzbzdszlVoService;
import org.springframework.stereotype.Service;
/**
* @description: 电子类表证单书种类代码
* @Author: dengLL
* @CreateTime: 2025/12/11
*/
@Service
public class ZjzbDzbzdszlVoServiceImpl extends BaseServiceImpl<ZjzbDzbzdszlVoMapper, ZjzbDzbzdszlVo> implements IZjzbDzbzdszlVoService {
}