|
@@ -697,7 +697,7 @@ public class XkzxxCtl extends BaseWebCtl {
|
|
|
List<LhyxEntity> lhyxlist = lhyxService.findByJyrid(gkjyr.getId());
|
|
|
if (lhyxlist != null && lhyxlist.size() > 0) {
|
|
|
for (LhyxEntity lhyx : lhyxlist) {
|
|
|
- if ("6".equals(lhyx.getFlowstatus())) {
|
|
|
+ if ("0".equals(lhyx.getFlowstatus()) || "6".equals(lhyx.getFlowstatus())) {
|
|
|
wr.setSuccess(false);
|
|
|
wr.setMessage("该经营人正在理货延续中,请勿再申请");
|
|
|
return wr;
|
|
@@ -714,7 +714,7 @@ public class XkzxxCtl extends BaseWebCtl {
|
|
|
List<LhbgEntity> lhbglist = lhbgService.findByJyrid(gkjyr.getId());
|
|
|
if (lhbglist != null && lhbglist.size() > 0) {
|
|
|
for (LhbgEntity lhbg : lhbglist) {
|
|
|
- if ("6".equals(lhbg.getFlowstatus())) {
|
|
|
+ if ("0".equals(lhbg.getFlowstatus()) || "6".equals(lhbg.getFlowstatus())) {
|
|
|
wr.setSuccess(false);
|
|
|
wr.setMessage("该经营人正在理货变更中,请勿再申请");
|
|
|
return wr;
|
|
@@ -734,7 +734,7 @@ public class XkzxxCtl extends BaseWebCtl {
|
|
|
List<LhyxEntity> lhyxlist = lhyxService.findByJyrid(gkjyr.getId());
|
|
|
if (lhyxlist != null && lhyxlist.size() > 0) {
|
|
|
for (LhyxEntity lhyx : lhyxlist) {
|
|
|
- if ("6".equals(lhyx.getFlowstatus())) {
|
|
|
+ if ("0".equals(lhyx.getFlowstatus()) || "6".equals(lhyx.getFlowstatus())) {
|
|
|
wr.setSuccess(false);
|
|
|
wr.setMessage("该经营人正在理货延续中,请勿再申请");
|
|
|
return wr;
|
|
@@ -749,10 +749,11 @@ public class XkzxxCtl extends BaseWebCtl {
|
|
|
return wr;
|
|
|
}
|
|
|
}else if(flag == null){
|
|
|
+
|
|
|
List<LhbgEntity> lhbglist = lhbgService.findByJyrid(gkjyr.getId());
|
|
|
if (lhbglist != null && lhbglist.size() > 0) {
|
|
|
for (LhbgEntity lhbg : lhbglist) {
|
|
|
- if ("6".equals(lhbg.getFlowstatus())) {
|
|
|
+ if ("0".equals(lhbg.getFlowstatus()) || "6".equals(lhbg.getFlowstatus())) {
|
|
|
wr.setSuccess(false);
|
|
|
wr.setMessage("该经营人正在理货变更中,请勿再申请");
|
|
|
return wr;
|