Commit 625704a5 authored by wangxl's avatar wangxl

1

parent add017bf
......@@ -106,10 +106,10 @@ public class ComBatchServiceImpl extends BaseServiceImpl<ComBatchDAO, ComBatchQu
throw new BusinessException("批次不存在或已删除!");
if (!dto.getYear().equals(batch.getYear()) || !dto.getBatch().equals(batch.getBatch())) {
ComBatch comBatch = new ComBatch();
batch.setYear(dto.getYear());
batch.setBatch(dto.getBatch());
batch.setSystemType(dto.getSystemType());
batch.setTimeType(dto.getTimeType());
comBatch.setYear(dto.getYear());
comBatch.setBatch(dto.getBatch());
comBatch.setSystemType(dto.getSystemType());
comBatch.setTimeType(dto.getTimeType());
comBatch = this.getEntity(comBatch);
if (null != comBatch)
throw new BusinessException("年度批次已存在!");
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment