|
|
|
@ -80,7 +80,7 @@ public class AppEntEnterpriseInformationController { |
|
|
|
|
|
|
|
//根据当前登录用户部门ID 查询企业统一信用代码
|
|
|
|
LambdaQueryWrapper<EnterpriseInformation> lqw = Wrappers.lambdaQuery(); |
|
|
|
lqw.eq(EnterpriseInformation::getDeptId, LoginHelper.getDeptId()); |
|
|
|
lqw.eq(EnterpriseInformation::getId, LoginHelper.getDeptId()); |
|
|
|
EnterpriseInformation enterpriseInformation = enterpriseInformationMapper.selectOne(lqw); |
|
|
|
if(enterpriseInformation == null){ |
|
|
|
return R.fail("企业纳税识别号不存在"); |
|
|
|
@ -123,7 +123,7 @@ public class AppEntEnterpriseInformationController { |
|
|
|
|
|
|
|
//根据当前登录用户部门ID 查询企业统一信用代码
|
|
|
|
LambdaQueryWrapper<EnterpriseInformation> lqw = Wrappers.lambdaQuery(); |
|
|
|
lqw.eq(EnterpriseInformation::getDeptId, LoginHelper.getDeptId()); |
|
|
|
lqw.eq(EnterpriseInformation::getId, LoginHelper.getDeptId()); |
|
|
|
EnterpriseInformation enterpriseInformation = enterpriseInformationMapper.selectOne(lqw); |
|
|
|
if(enterpriseInformation == null){ |
|
|
|
return R.fail("企业纳税识别号不存在"); |
|
|
|
|