|
@@ -21,6 +21,7 @@ import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
|
|
|
import org.springframework.transaction.annotation.Transactional;
|
|
|
|
|
|
import java.util.List;
|
|
|
+import java.util.Objects;
|
|
|
import java.util.stream.Collectors;
|
|
|
|
|
|
/**
|
|
@@ -73,7 +74,7 @@ public class ItdmWeituoInfoServiceImpl extends ServiceImpl<ItdmWeituoInfoMapper,
|
|
|
@Override
|
|
|
public void updateWeituo(WeituoUpdateCommand command) {
|
|
|
ItdmWeituoInfo itdmWeituoInfo = WeituoConvert.INSTANCE.convert(command);
|
|
|
- if (itdmWeituoInfo.getShenheStatus().equals(ShenheStatus.t.getCode())) {
|
|
|
+ if (Objects.equals(itdmWeituoInfo.getShenheStatus(), ShenheStatus.t.getCode())) {
|
|
|
throw new JeecgBootException("审核通过不能修改数据");
|
|
|
}
|
|
|
|