feat: There is no way the, 改改改 从企标计划开始 改到 企标标准入库及企标库 改至计划已确认关联之多…… 待改完
This commit is contained in:
+9
@@ -5,6 +5,7 @@ import com.adc.da.http.PageInfo;
|
||||
import com.adc.da.http.ResponseMessage;
|
||||
import com.adc.da.http.Result;
|
||||
import com.adc.da.slrs.esRevisePlan.service.IEsRevisePlanService;
|
||||
import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
|
||||
import io.swagger.annotations.ApiOperation;
|
||||
import org.apache.ibatis.annotations.Param;
|
||||
import org.springframework.beans.factory.annotation.Autowired;
|
||||
@@ -54,6 +55,14 @@ public class EsRevisePlanController extends BaseController<EsRevisePlan> {
|
||||
}
|
||||
|
||||
//----------------回来改----------------------上面的------
|
||||
@ApiOperation(value = "获取是否存在重复名企标名称接口")
|
||||
@GetMapping("/getDataByNameAndSort")
|
||||
public ResponseMessage<Integer> getDataByNameAndSort(EsRevisePlan esRevisePlan){
|
||||
QueryWrapper qw = new QueryWrapper();
|
||||
qw.eq("buss_sort",esRevisePlan.getBussSort());
|
||||
qw.eq("es_name",esRevisePlan.getEsName());
|
||||
return Result.success(iEsRevisePlanService.count(qw));
|
||||
}
|
||||
@ApiOperation(value = "获取是否存在重复名企标名称接口")
|
||||
@GetMapping("/getDataByName")
|
||||
public ResponseMessage<Object> getDataByName(EsRevisePlan esRevisePlan){
|
||||
|
||||
@@ -71,10 +71,10 @@ public class EsRevisePlan extends BasePage {
|
||||
@JsonFormat(timezone = "GMT+8", pattern = "yyyy-MM-dd")
|
||||
private Date releaseTime;
|
||||
|
||||
@ApiModelProperty(value = "起草责任单位")
|
||||
@ApiModelProperty(value = "起草责任单位ID")
|
||||
private String unit;
|
||||
|
||||
@ApiModelProperty(value = "起草责任单位ID")
|
||||
@ApiModelProperty(value = "起草责任单位名称")
|
||||
private String unitName;
|
||||
|
||||
@ApiModelProperty(value = "引入企业标准json(标准id)")
|
||||
|
||||
Reference in New Issue
Block a user