计划库新增字段及逻辑
This commit is contained in:
+23
@@ -0,0 +1,23 @@
|
||||
package com.adc.da.slrs.esStandRelation.controller;
|
||||
|
||||
|
||||
import org.springframework.web.bind.annotation.RequestMapping;
|
||||
import com.adc.da.slrs.esStandRelation.entity.EsStandRelation;
|
||||
import io.swagger.annotations.Api;
|
||||
import org.springframework.web.bind.annotation.RestController;
|
||||
import com.adc.da.base.web.BaseController;
|
||||
|
||||
/**
|
||||
* <p>
|
||||
* 前端控制器
|
||||
* </p>
|
||||
*
|
||||
* @author yzh
|
||||
* @since 2021-12-24
|
||||
*/
|
||||
@RestController
|
||||
@Api(description = "|EsStandRelation|")
|
||||
@RequestMapping("/esStandRelation/es-stand-relation")
|
||||
public class EsStandRelationController extends BaseController<EsStandRelation> {
|
||||
|
||||
}
|
||||
@@ -0,0 +1,19 @@
|
||||
package com.adc.da.slrs.esStandRelation.dao;
|
||||
|
||||
import com.adc.da.slrs.esStandRelation.entity.EsStandRelation;
|
||||
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
|
||||
import org.apache.ibatis.annotations.Param;
|
||||
|
||||
import java.util.List;
|
||||
|
||||
/**
|
||||
* <p>
|
||||
* Mapper 接口
|
||||
* </p>
|
||||
*
|
||||
* @author yzh
|
||||
* @since 2021-12-24
|
||||
*/
|
||||
public interface EsStandRelationDao extends BaseMapper<EsStandRelation> {
|
||||
List<EsStandRelation> getDatas(@Param("id")String id);
|
||||
}
|
||||
@@ -0,0 +1,62 @@
|
||||
package com.adc.da.slrs.esStandRelation.entity;
|
||||
|
||||
import com.adc.da.base.entity.BaseEntity;
|
||||
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;
|
||||
import org.springframework.beans.factory.annotation.Autowired;
|
||||
|
||||
/**
|
||||
* <p>
|
||||
*
|
||||
* </p>
|
||||
*
|
||||
* @author yzh
|
||||
* @since 2021-12-24
|
||||
*/
|
||||
@Data
|
||||
@EqualsAndHashCode(callSuper = true)
|
||||
@Accessors(chain = true)
|
||||
@ApiModel(value="EsStandRelation对象", description="")
|
||||
public class EsStandRelation extends BaseEntity {
|
||||
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
@TableField("id")
|
||||
private String id;
|
||||
|
||||
@ApiModelProperty(value = "企标制修订计划")
|
||||
@TableField("es_id")
|
||||
private String esId;
|
||||
|
||||
@ApiModelProperty(value = "是否引用标准")
|
||||
@TableField("is_relate")
|
||||
private String isRelate;
|
||||
|
||||
@ApiModelProperty(value = "采用程度")
|
||||
@TableField("use_level")
|
||||
private String useLevel;
|
||||
|
||||
@ApiModelProperty(value = "简述技术指标依据")
|
||||
@TableField("technologic")
|
||||
private String technologic;
|
||||
|
||||
@ApiModelProperty(value = "采标id")
|
||||
@TableField("stand_id")
|
||||
private String standId;
|
||||
|
||||
@ApiModelProperty(value = "标准类型")
|
||||
@TableField("stand_type")
|
||||
private String standType;
|
||||
|
||||
@TableField(exist = false)
|
||||
private String standNumber;
|
||||
|
||||
@TableField(exist = false)
|
||||
private String standName;
|
||||
|
||||
|
||||
}
|
||||
+16
@@ -0,0 +1,16 @@
|
||||
package com.adc.da.slrs.esStandRelation.service;
|
||||
|
||||
import com.adc.da.slrs.esStandRelation.entity.EsStandRelation;
|
||||
import com.baomidou.mybatisplus.extension.service.IService;
|
||||
|
||||
/**
|
||||
* <p>
|
||||
* 服务类
|
||||
* </p>
|
||||
*
|
||||
* @author yzh
|
||||
* @since 2021-12-24
|
||||
*/
|
||||
public interface IEsStandRelationService extends IService<EsStandRelation> {
|
||||
|
||||
}
|
||||
+20
@@ -0,0 +1,20 @@
|
||||
package com.adc.da.slrs.esStandRelation.service.impl;
|
||||
|
||||
import com.adc.da.slrs.esStandRelation.entity.EsStandRelation;
|
||||
import com.adc.da.slrs.esStandRelation.dao.EsStandRelationDao;
|
||||
import com.adc.da.slrs.esStandRelation.service.IEsStandRelationService;
|
||||
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
|
||||
import org.springframework.stereotype.Service;
|
||||
|
||||
/**
|
||||
* <p>
|
||||
* 服务实现类
|
||||
* </p>
|
||||
*
|
||||
* @author yzh
|
||||
* @since 2021-12-24
|
||||
*/
|
||||
@Service
|
||||
public class EsStandRelationServiceImpl extends ServiceImpl<EsStandRelationDao, EsStandRelation> implements IEsStandRelationService {
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user