Browse Source

20221017_sun修正项目申报嵌入式按钮不显示问题

15143018065 2 years ago
parent
commit
b2775543cf

+ 1 - 2
ruoyi-modules/mz-business-xmsb/src/main/java/com/ruoyi/business/service/impl/ZwywXmsbFwzxServiceImpl.java

@@ -7,7 +7,6 @@ import com.ruoyi.business.service.IZwywXmsbFwzxService;
 import com.ruoyi.common.security.utils.SecurityUtils;
 import com.ruoyi.system.api.enums.ExamineStatus;
 import com.ruoyi.system.api.enums.XmsbFwzxStatus;
-import com.ruoyi.system.api.enums.XmsbYldyStatus;
 import org.apache.commons.lang3.ObjectUtils;
 import org.apache.commons.lang3.StringUtils;
 import org.springframework.beans.factory.annotation.Autowired;
@@ -69,7 +68,7 @@ public class ZwywXmsbFwzxServiceImpl implements IZwywXmsbFwzxService
                 }
             } else if (deptLevel.size() == 2) {
                 // 区县
-                if (StringUtils.equals(r.getStatus(), XmsbYldyStatus.MZSH.getCode())) {
+                if (StringUtils.equals(r.getStatus(), XmsbFwzxStatus.MZSH.getCode())) {
                     r.setEditFlg(ExamineStatus.SYES.getCode());
                 }
             }