AbstractService.java 4.65 KB
Newer Older
frank.xa.zhang's avatar
frank.xa.zhang committed
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30
package pwc.taxtech.atms.service.impl;

import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.beans.factory.annotation.Autowired;
import pwc.taxtech.atms.common.AtmsApiSettings;
import pwc.taxtech.atms.common.AuthUserHelper;
import pwc.taxtech.atms.common.ResponseMessageBuilder;
import pwc.taxtech.atms.dao.*;

public class AbstractService {
    protected final Logger logger = LoggerFactory.getLogger(this.getClass());

    @Autowired
    protected AuthUserHelper authUserHelper;
    @Autowired
    protected CommonDocumentHelper commonDocumentHelper;
    @Autowired
    protected ResponseMessageBuilder responseMessageBuilder;
    @Autowired
    protected AtmsApiSettings atmsApiSettings;
    @Autowired
    protected OperationLogServiceImpl operationLogService;

    @Autowired
    protected AreaMapper areaMapper;
    @Autowired
    protected AreaRegionMapper areaRegionMapper;
    @Autowired
    protected BusinessUnitMapper businessUnitMapper;
31 32 33 34 35 36 37 38 39 40 41 42 43 44
//    @Autowired
//    protected CustomerMapper customerMapper;
//    @Autowired
//    protected EnterpriseAccountMapper enterpriseAccountMapper;
//    @Autowired
//    protected EnterpriseAccountSetMapper enterpriseAccountSetMapper;
//    @Autowired
//    protected EnterpriseAccountSetOrgMapper enterpriseAccountSetOrgMapper;
//    @Autowired
//    protected AccountMappingMapper accountMappingMapper;
//    @Autowired
//    protected CustomAccountMapper customAccountMapper;
//    @Autowired
//    protected MailQueueMapper mailQueueMapper;
frank.xa.zhang's avatar
frank.xa.zhang committed
45 46 47 48 49 50 51 52 53 54 55 56 57 58
    @Autowired
    protected MenuMapper menuMapper;
    @Autowired
    protected OperationLogBasicDataMapper operationLogBasicDataMapper;
    @Autowired
    protected OperationLogEnterPriseMapper operationLogEnterpriseMapper;
    @Autowired
    protected OrganizationMapper organizationMapper;
    @Autowired
    protected PermissionMapper permissionMapper;
    @Autowired
    protected RegionMapper regionMapper;
    @Autowired
    protected RolePermissionMapper rolePermissionMapper;
59 60
//    @Autowired
//    protected StandardAccountMapper standardAccountMapper;
frank.xa.zhang's avatar
frank.xa.zhang committed
61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102
    @Autowired
    protected UserMapper userMapper;
    @Autowired
    protected UserRoleMapper userRoleMapper;
    @Autowired
    protected DimensionMapper dimensionMapper;
    @Autowired
    protected DimensionValueMapper dimensionValueMapper;
    @Autowired
    protected StockMapper stockMapper;
    @Autowired
    protected MyStatisticAttributeMapper myStatisticAttributeMapper;
    @Autowired
    protected StatisticAttributeMapper statisticAttributeMapper;
    @Autowired
    protected DimensionValueOrgMapper dimensionValueOrgMapper;
    @Autowired
    protected UserDimensionValueOrgMapper userDimensionValueOrgMapper;
    @Autowired
    protected MyUserMapper myUserMapper;
    @Autowired
    protected ServiceTypeMapper serviceTypeMapper;
    @Autowired
    protected StatisticAttributeDimensionMapper statisticAttributeDimensionMapper;
    @Autowired
    protected RoleCategoryMapper roleCategoryMapper;
    @Autowired
    protected RoleMapper roleMapper;
    @Autowired
    protected UserDimensionValueMapper userDimensionValueMapper;
    @Autowired
    protected UserDimensionValueRoleMapper userDimensionValueRoleMapper;
    @Autowired
    protected UserOrganizationRoleMapper userOrganizationRoleMapper;
    @Autowired
    protected UserOrganizationMapper userOrganizationMapper;
    @Autowired
    protected DictionaryMapper dictionaryMapper;
    @Autowired
    protected OrganizationStructureMapper organizationStructureMapper;
    @Autowired
    protected IndustryMapper industryMapper;
103 104 105 106 107 108
//    @Autowired
//    protected TaxPayerReportRuleMapper taxPayerReportRuleMapper;
//    @Autowired
//    protected TaxRuleSettingMapper taxRuleSettingMapper;
//    @Autowired
//    protected TaxRuleSettingOrganizationMapper taxRuleSettingOrganizationMapper;
frank.xa.zhang's avatar
frank.xa.zhang committed
109 110
    @Autowired
    protected OrganizationServiceTemplateGroupMapper organizationServiceTemplateGroupMapper;
111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128
//    @Autowired
//    protected TemplateGroupMapper templateGroupMapper;
//    @Autowired
//    protected KeyValueConfigMapper keyValueConfigMapper;
//    @Autowired
//    protected KeyValueReferenceMapper keyValueReferenceMapper;
//    @Autowired
//    protected ModelConfigMapper modelConfigMapper;
//    @Autowired
//    protected CellTemplateMapper cellTemplateMapper;
//    @Autowired
//    protected CellTemplateConfigMapper cellTemplateConfigMapper;
//    @Autowired
//    protected TemplateMapper templateMapper;
//    //    @Autowired
////    protected  TemplateFormulaMapper templateFormulaMapper;
//    @Autowired
//    protected FormulaConfigMapper formulaConfigMapper;
frank.xa.zhang's avatar
frank.xa.zhang committed
129 130
    @Autowired
    DistributedIdService distributedIdService;
131 132
//    @Autowired
//    ProjectMapper projectMapper;
frank.xa.zhang's avatar
frank.xa.zhang committed
133
}