feat: 迁移国内标准法规部分1
This commit is contained in:
+23
@@ -0,0 +1,23 @@
|
||||
package com.adc.da.slrs.sarStandAttrInfo.controller;
|
||||
|
||||
|
||||
import org.springframework.web.bind.annotation.RequestMapping;
|
||||
import com.adc.da.slrs.sarStandAttrInfo.entity.SarStandAttrInfo;
|
||||
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-06-01
|
||||
*/
|
||||
@RestController
|
||||
@Api(description = "|SarStandAttrInfo|")
|
||||
@RequestMapping("/SarStandAttrInfo/sar-stand-attr-info")
|
||||
public class SarStandAttrInfoController extends BaseController<SarStandAttrInfo> {
|
||||
|
||||
}
|
||||
+40
@@ -0,0 +1,40 @@
|
||||
package com.adc.da.slrs.sarStandAttrInfo.dao;
|
||||
|
||||
import com.adc.da.slrs.sarStandAttrInfo.entity.SarStandAttrInfo;
|
||||
import com.adc.da.sys.common.SelectionResult;
|
||||
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
|
||||
import org.apache.ibatis.annotations.Param;
|
||||
|
||||
import java.util.List;
|
||||
import java.util.Map;
|
||||
|
||||
/**
|
||||
* <p>
|
||||
* Mapper 接口
|
||||
* </p>
|
||||
*
|
||||
* @author super_liu
|
||||
* @since 2021-06-01
|
||||
*/
|
||||
public interface SarStandAttrInfoDao extends BaseMapper<SarStandAttrInfo> {
|
||||
|
||||
void alterStandAttr(@Param("fieldInfo") String fieldInfo);
|
||||
|
||||
void deleteStandAttr(@Param("fieldInfo") String fieldInfo);
|
||||
|
||||
void updateAttrLen(@Param("fieldInfo") String fieldInfo);
|
||||
|
||||
Integer selectStandAttrColumn(@Param("columnName") String columnName);
|
||||
|
||||
Map<String, Object> selectStandFieldAndData(@Param("fieldInfo") String fieldInfo, @Param("standId") String standId);
|
||||
|
||||
int insertStandAttr(@Param("fieldInfo") String fieldInfo, @Param("fieldValue") String fieldValue);
|
||||
|
||||
int deleteStandAttrByStandId(@Param("standId") String standId);
|
||||
|
||||
int updateStandInfo(@Param("standId") String standId, @Param("field") String field, @Param("value") String value);
|
||||
|
||||
String selectFieldValByStandId(@Param("field") String field, @Param("standId") String standId);
|
||||
|
||||
List<SelectionResult> selectFieldValByContainsVal(@Param("field") String field, @Param("value") String value, @Param("standIds") List<String> standIds);
|
||||
}
|
||||
+172
@@ -0,0 +1,172 @@
|
||||
package com.adc.da.slrs.sarStandAttrInfo.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-06-01
|
||||
*/
|
||||
@Data
|
||||
@EqualsAndHashCode(callSuper = true)
|
||||
@Accessors(chain = true)
|
||||
@ApiModel(value="SarStandAttrInfo对象", description="")
|
||||
public class SarStandAttrInfo extends BaseEntity {
|
||||
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
@ApiModelProperty(value = "主键")
|
||||
@TableField("ID")
|
||||
private String id;
|
||||
|
||||
@ApiModelProperty(value = "标准基础表主键")
|
||||
@TableField("STAND_ID")
|
||||
private String standId;
|
||||
|
||||
@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;
|
||||
|
||||
@TableField("GKDW")
|
||||
private String gkdw;
|
||||
|
||||
@TableField("FBJG")
|
||||
private String fbjg;
|
||||
|
||||
@TableField("CYSD")
|
||||
private String cysd;
|
||||
|
||||
@TableField("XCXSSRQ")
|
||||
private String xcxssrq;
|
||||
|
||||
@TableField("ZCCSSRQ")
|
||||
private String zccssrq;
|
||||
|
||||
@TableField("EOPSSRQ")
|
||||
private String eopssrq;
|
||||
|
||||
@TableField("CBBH")
|
||||
private String cbbh;
|
||||
|
||||
@TableField("CLLX")
|
||||
private String cllx;
|
||||
|
||||
@TableField("GXHBQ")
|
||||
private String gxhbq;
|
||||
|
||||
@TableField("XGBM")
|
||||
private String xgbm;
|
||||
|
||||
@TableField("ZGRZLX")
|
||||
private String zgrzlx;
|
||||
|
||||
@TableField("GZZXX")
|
||||
private String gzzxx;
|
||||
|
||||
@TableField("FO")
|
||||
private String fo;
|
||||
|
||||
@TableField("XMPGJS")
|
||||
private String xmpgjs;
|
||||
|
||||
@TableField("SVPPS")
|
||||
private String svpps;
|
||||
|
||||
@TableField("CA")
|
||||
private String ca;
|
||||
|
||||
@TableField("ZQYJG")
|
||||
private String zqyjg;
|
||||
|
||||
@TableField("SSG")
|
||||
private String ssg;
|
||||
|
||||
@TableField("BPG")
|
||||
private String bpg;
|
||||
|
||||
@TableField("CGBM")
|
||||
private String cgbm;
|
||||
|
||||
@TableField("FBGBJBD")
|
||||
private String fbgbjbd;
|
||||
|
||||
@TableField("ZBJBD")
|
||||
private String zbjbd;
|
||||
|
||||
@TableField("ZRBM")
|
||||
private String zrbm;
|
||||
|
||||
@TableField("FGWHR")
|
||||
private String fgwhr;
|
||||
|
||||
@TableField("DTBJH")
|
||||
private String dtbjh;
|
||||
|
||||
@TableField("YYBJ")
|
||||
private String yybj;
|
||||
|
||||
@TableField("BYYBJ")
|
||||
private String byybj;
|
||||
|
||||
@TableField("XGLC")
|
||||
private String xglc;
|
||||
|
||||
@TableField("CHJL")
|
||||
private String chjl;
|
||||
|
||||
@TableField("XCXSSRQXM")
|
||||
private String xcxssrqxm;
|
||||
|
||||
@TableField("ZCCSSRQXM")
|
||||
private String zccssrqxm;
|
||||
|
||||
@TableField("EOPSSRQXM")
|
||||
private String eopssrqxm;
|
||||
|
||||
@TableField("CBCD")
|
||||
private String cbcd;
|
||||
|
||||
@TableField("ZRLX")
|
||||
private String zrlx;
|
||||
|
||||
@TableField("YQLX")
|
||||
private String yqlx;
|
||||
|
||||
@TableField("XXZLXX")
|
||||
private String xxzlxx;
|
||||
|
||||
@TableField("NRDBZFGQD")
|
||||
private String nrdbzfgqd;
|
||||
|
||||
@TableField("FGXXSXXX")
|
||||
private String fgxxsxxx;
|
||||
|
||||
@TableField("DXBZ")
|
||||
private String dxbz;
|
||||
|
||||
@TableField("BDTBZBH")
|
||||
private String bdtbzbh;
|
||||
|
||||
|
||||
}
|
||||
+16
@@ -0,0 +1,16 @@
|
||||
package com.adc.da.slrs.sarStandAttrInfo.service;
|
||||
|
||||
import com.adc.da.slrs.sarStandAttrInfo.entity.SarStandAttrInfo;
|
||||
import com.baomidou.mybatisplus.extension.service.IService;
|
||||
|
||||
/**
|
||||
* <p>
|
||||
* 服务类
|
||||
* </p>
|
||||
*
|
||||
* @author super_liu
|
||||
* @since 2021-06-01
|
||||
*/
|
||||
public interface ISarStandAttrInfoService extends IService<SarStandAttrInfo> {
|
||||
|
||||
}
|
||||
+20
@@ -0,0 +1,20 @@
|
||||
package com.adc.da.slrs.sarStandAttrInfo.service.impl;
|
||||
|
||||
import com.adc.da.slrs.sarStandAttrInfo.entity.SarStandAttrInfo;
|
||||
import com.adc.da.slrs.sarStandAttrInfo.dao.SarStandAttrInfoDao;
|
||||
import com.adc.da.slrs.sarStandAttrInfo.service.ISarStandAttrInfoService;
|
||||
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
|
||||
import org.springframework.stereotype.Service;
|
||||
|
||||
/**
|
||||
* <p>
|
||||
* 服务实现类
|
||||
* </p>
|
||||
*
|
||||
* @author super_liu
|
||||
* @since 2021-06-01
|
||||
*/
|
||||
@Service
|
||||
public class SarStandAttrInfoServiceImpl extends ServiceImpl<SarStandAttrInfoDao, SarStandAttrInfo> implements ISarStandAttrInfoService {
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user