|
@@ -160,7 +160,7 @@ public class LisNameNode {
|
|
|
|
|
|
lisBillNeoDTO = new LisBillNeoDTO();
|
|
lisBillNeoDTO = new LisBillNeoDTO();
|
|
|
|
|
|
- lislist = lisRepository.findByNameIs(lisname);
|
|
|
|
|
|
+ lislist = lisRepository.findByNameAndStatus(lisname, 1);
|
|
|
|
|
|
if (ListUtil.isNotEmpty(lislist)) {
|
|
if (ListUtil.isNotEmpty(lislist)) {
|
|
lisBillNeoDTO = ListoLISDTO(lislist.get(0));
|
|
lisBillNeoDTO = ListoLISDTO(lislist.get(0));
|
|
@@ -290,7 +290,7 @@ public class LisNameNode {
|
|
String name = lisvo.getUniqueName();
|
|
String name = lisvo.getUniqueName();
|
|
|
|
|
|
if (StringUtil.isNotBlank(name)) {
|
|
if (StringUtil.isNotBlank(name)) {
|
|
- List<LisName> lislt = lisRepository.findByNameIs(name);
|
|
|
|
|
|
+ List<LisName> lislt = lisRepository.findByNameAndStatus(name, 1);
|
|
|
|
|
|
for (LisName lis : lislt) {
|
|
for (LisName lis : lislt) {
|
|
criticalNeoDTO = new CriticalNeoDTO();
|
|
criticalNeoDTO = new CriticalNeoDTO();
|
|
@@ -355,7 +355,7 @@ public class LisNameNode {
|
|
neoEntityDTO.setName(name);
|
|
neoEntityDTO.setName(name);
|
|
|
|
|
|
try {
|
|
try {
|
|
- List<LisName> lisres = lisRepository.findByNameIs(name);
|
|
|
|
|
|
+ List<LisName> lisres = lisRepository.findByNameAndStatus(name, 1);
|
|
|
|
|
|
if (lisres != null && lisres.size() > 0) {
|
|
if (lisres != null && lisres.size() > 0) {
|
|
LisName lis = lisres.get(0);
|
|
LisName lis = lisres.get(0);
|