提交 4e8cdfbf authored 作者: zhouzhigang's avatar zhouzhigang

--no commit message

上级 1e273cdf
......@@ -30,6 +30,11 @@
<arguments>
</arguments>
</buildCommand>
<buildCommand>
<name>org.springframework.ide.eclipse.boot.validation.springbootbuilder</name>
<arguments>
</arguments>
</buildCommand>
</buildSpec>
<natures>
<nature>com.genuitec.eclipse.springframework.springnature</nature>
......
......@@ -44,6 +44,7 @@ import com.zrqx.core.vo.schoolsysuser.fg.biddingflow.CycleStatusAndFlowCodeVo;
import com.zrqx.core.vo.schoolsysuser.fg.publicbasicrelation.PublicBasicRelationVo;
import com.zrqx.school.sysuser.client.BgMemberClient;
import com.zrqx.school.sysuser.client.FgMemberClient;
import com.zrqx.school.sysuser.manage.biddingcycle.BiddingCycleManage;
import com.zrqx.school.sysuser.manage.dictionarydata.FgDictionaryDataManage;
import com.zrqx.school.sysuser.manage.export.ExportManage;
import com.zrqx.school.sysuser.manage.major.FgMajorManage;
......@@ -119,6 +120,8 @@ public class FgBasicTeachingPlanServiceImpl extends BaseModelServiceImpl<BasicTe
private BiddingFlowService biddingFlowService;
@Autowired
private FgMajorMapper fgMajorMapper;
@Autowired
private BiddingCycleManage cycleManage;
......@@ -212,11 +215,8 @@ public class FgBasicTeachingPlanServiceImpl extends BaseModelServiceImpl<BasicTe
@Override
public boolean batchDelete(List<Integer> ids) {
CycleStatusAndFlowCodeVo biddingConfig = biddingFlowService.getBiddingConfigTwo();
if(biddingConfig != null){
if("0".equals(biddingConfig.getStatus())){
throw new BaseException("当前有开启的征订周期,不能进行删除操作,请联系出版社管理员");
}
if(cycleManage.biddingCycleIsExsit()){
throw new BaseException("当前有开启的征订周期,不能进行删除操作,请联系出版社管理员");
}
List<Integer> list = new ArrayList<Integer>();
ids.forEach(vo ->{
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论