Commit 56a5fff2 authored by 刘子正's avatar 刘子正

Merge branch 'V2.0.3' of http://103.249.252.28:90/lcy/education

parents 7b2f8d24 00892908
......@@ -106,7 +106,10 @@ public class BCompanyServiceImpl implements BCompanyService{
@Override
public PersistModel stopOrStartUser(String businessId) {
String status = "1";
BCompany nowStatus = bCompanyRepository.selectOne(new BCompany(businessId,"0","1"));
BCompany bCompany = new BCompany();
bCompany.setBusinessId(businessId);
bCompany.setDelFlag("0");
BCompany nowStatus = bCompanyRepository.selectOne(bCompany);
if(nowStatus.getFlag().equals("1")){
status="0";
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment