|
|
@@ -23,10 +23,7 @@ public class CommonServiceImpl implements CommonService {
|
|
|
InitStatusDTO result = new InitStatusDTO();
|
|
|
int count = 0;
|
|
|
Long companyId = BaseContextHolder.getCompanyId();
|
|
|
- count = commonMapper.getCountBaseSet(companyId);
|
|
|
- if (count > 0){
|
|
|
- result.setBaseSet(true);
|
|
|
- }
|
|
|
+ result.setBaseSet(true);
|
|
|
count = commonMapper.getCountWarehouse(companyId);
|
|
|
if (count > 0){
|
|
|
result.setWarehouse(true);
|