feat: 企业标准库 迁移1

This commit is contained in:
super_liu
2021-07-25 20:41:38 +08:00
parent 7f874329a8
commit 8a263964f6
42 changed files with 1623 additions and 43 deletions
@@ -0,0 +1,23 @@
package com.adc.da.slrs.sarBussStandFile.controller;
import org.springframework.web.bind.annotation.RequestMapping;
import com.adc.da.slrs.sarBussStandFile.entity.SarBussStandFile;
import io.swagger.annotations.Api;
import org.springframework.web.bind.annotation.RestController;
import com.adc.da.base.web.BaseController;
/**
* <p>
* 企业标准文件详情表 前端控制器
* </p>
*
* @author super_liu
* @since 2021-07-25
*/
@RestController
@Api(description = "|SarBussStandFile|")
@RequestMapping("/sarBussStandFile/sar-buss-stand-file")
public class SarBussStandFileController extends BaseController<SarBussStandFile> {
}
@@ -0,0 +1,16 @@
package com.adc.da.slrs.sarBussStandFile.dao;
import com.adc.da.slrs.sarBussStandFile.entity.SarBussStandFile;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
/**
* <p>
* 企业标准文件详情表 Mapper 接口
* </p>
*
* @author super_liu
* @since 2021-07-25
*/
public interface SarBussStandFileDao extends BaseMapper<SarBussStandFile> {
}
@@ -0,0 +1,80 @@
package com.adc.da.slrs.sarBussStandFile.entity;
import com.adc.da.base.entity.BaseEntity;
import java.time.LocalDateTime;
import com.baomidou.mybatisplus.annotation.TableField;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;
/**
* <p>
* 企业标准文件详情表
* </p>
*
* @author super_liu
* @since 2021-07-25
*/
@Data
@EqualsAndHashCode(callSuper = true)
@Accessors(chain = true)
@ApiModel(value="SarBussStandFile对象", description="企业标准文件详情表")
public class SarBussStandFile extends BaseEntity {
private static final long serialVersionUID = 1L;
@ApiModelProperty(value = "主键")
@TableField("ID")
private String id;
@ApiModelProperty(value = "标准ID")
@TableField("STAND_ID")
private String standId;
@ApiModelProperty(value = "标准文件分类")
@TableField("STAND_FILE_CLASSIFY")
private String standFileClassify;
@ApiModelProperty(value = "文件主键")
@TableField("ATT_ID")
private String attId;
@ApiModelProperty(value = "文件名称")
@TableField("FILE_NAME")
private String fileName;
@ApiModelProperty(value = "文件后缀")
@TableField("FILE_SUFFIX")
private String fileSuffix;
@ApiModelProperty(value = "使用模式(SOURCE_FILE原文件,WEB_FILE转换后文件)")
@TableField("USE_MODEL")
private String useModel;
@ApiModelProperty(value = "加密密码")
@TableField("PASSWORD")
private String password;
@TableField("CREATION_USER")
private String creationUser;
@ApiModelProperty(value = "是否有效")
@TableField("VALID_FLAG")
private String validFlag;
@ApiModelProperty(value = "创建时间")
@TableField("CREATION_TIME")
private LocalDateTime creationTime;
@ApiModelProperty(value = "修改时间")
@TableField("MODIFY_TIME")
private LocalDateTime modifyTime;
@ApiModelProperty(value = "转换原文件id")
@TableField("ORI_ATT_ID")
private String oriAttId;
}
@@ -0,0 +1,16 @@
package com.adc.da.slrs.sarBussStandFile.service;
import com.adc.da.slrs.sarBussStandFile.entity.SarBussStandFile;
import com.baomidou.mybatisplus.extension.service.IService;
/**
* <p>
* 企业标准文件详情表 服务类
* </p>
*
* @author super_liu
* @since 2021-07-25
*/
public interface ISarBussStandFileService extends IService<SarBussStandFile> {
}
@@ -0,0 +1,20 @@
package com.adc.da.slrs.sarBussStandFile.service.impl;
import com.adc.da.slrs.sarBussStandFile.entity.SarBussStandFile;
import com.adc.da.slrs.sarBussStandFile.dao.SarBussStandFileDao;
import com.adc.da.slrs.sarBussStandFile.service.ISarBussStandFileService;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.springframework.stereotype.Service;
/**
* <p>
* 企业标准文件详情表 服务实现类
* </p>
*
* @author super_liu
* @since 2021-07-25
*/
@Service
public class SarBussStandFileServiceImpl extends ServiceImpl<SarBussStandFileDao, SarBussStandFile> implements ISarBussStandFileService {
}