Commit 4acb0552 authored by wujipeng's avatar wujipeng
Browse files

报表配置

parent 59c2f8ff
package com.ruzhoukj.integration.mapper;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.ruzhoukj.integration.pojo.entity.ReportConfigEntity;
import org.apache.ibatis.annotations.Mapper;
/**
* @author : wujipeng
* @date : 2026/3/9 10:09
* @Version: 1.0
* @Desc : 描述信息
*/
@Mapper
public interface ReportConfigMapper extends BaseMapper<ReportConfigEntity> {
}
package com.ruzhoukj.integration.pojo.entity;
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 com.fasterxml.jackson.annotation.JsonInclude;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
/**
* @author : wujipeng
* @date : 2026/3/9 10:08
* @Version: 1.0
* @Desc : 描述信息
*/
@Data
@TableName("report_config")
@JsonInclude(JsonInclude.Include.NON_NULL)
public class ReportConfigEntity {
@TableId(type = IdType.ASSIGN_ID)
private String id;
@ApiModelProperty(value = "模板id")
@TableField(value = "template_id")
private String templateId;
@ApiModelProperty(value = "模板id")
@TableField(value = "report_id")
private String reportId;
private String num;
@ApiModelProperty(value = "row, col")
private String type;
@ApiModelProperty(value = "高度")
private Integer height;
@ApiModelProperty(value = "宽度")
private Integer width;
@ApiModelProperty(value = "是否隐藏")
private Boolean hidden;
}
package com.ruzhoukj.integration.service;
import com.baomidou.mybatisplus.extension.service.IService;
import com.ruzhoukj.integration.pojo.entity.ReportConfigEntity;
import org.springframework.stereotype.Service;
/**
* @author : wujipeng
* @date : 2026/3/9 10:10
* @Version: 1.0
* @Desc : 描述信息
*/
@Service
public interface ReportConfigService extends IService<ReportConfigEntity> {
}
package com.ruzhoukj.integration.service.impl;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.ruzhoukj.integration.mapper.ReportConfigMapper;
import com.ruzhoukj.integration.pojo.entity.ReportConfigEntity;
import com.ruzhoukj.integration.service.ReportConfigService;
import org.springframework.stereotype.Service;
/**
* @author : wujipeng
* @date : 2026/3/9 10:10
* @Version: 1.0
* @Desc : 描述信息
*/
@Service
public class ReportConfigServiceImpl extends ServiceImpl<ReportConfigMapper, ReportConfigEntity> implements ReportConfigService {
}
<?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.ruzhoukj.integration.mapper.ReportConfigMapper">
</mapper>
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment