|
@@ -12,6 +12,7 @@ import com.alibaba.excel.event.AnalysisEventListener;
|
|
|
import com.baomidou.mybatisplus.core.conditions.query.LambdaQueryWrapper;
|
|
|
import com.pj.api.client.admin.AdminInterface;
|
|
|
import com.pj.current.satoken.StpUserUtil;
|
|
|
+import com.pj.enummj.People;
|
|
|
import com.pj.utils.sg.AjaxJson;
|
|
|
import com.pj.utils.so.SoMap;
|
|
|
import org.apache.commons.lang3.StringUtils;
|
|
@@ -109,7 +110,7 @@ public class TbEnterpriseService extends ServiceImpl<TbEnterpriseMapper, TbEnter
|
|
|
int isLock = tbEnterprise.getIsLock();
|
|
|
// 如果商户被锁住则禁止app端登录
|
|
|
// TODO
|
|
|
- adminInterface.isLock(String.valueOf(tbEnterprise.getId()), 0,isLock);
|
|
|
+ adminInterface.isLock(String.valueOf(tbEnterprise.getId()), People.PEOPLE_TYPE_TWO.getCode(),isLock);
|
|
|
|
|
|
return line;
|
|
|
}
|