|
|
@@ -28,14 +28,14 @@ public class CompanyFiscalCodeManage { |
|
|
|
|
|
|
|
public void fiscalCodeConfigure(ReqCompanyFiscalCodeAndSealSnPO reqCompanyFiscalCodeAndSealSnPO) { |
|
|
|
Long userId = LoginUserUtil.getUserId(); |
|
|
|
Long companyId = userInfoHelper.getCompanyId(userId); |
|
|
|
String organizationCode = userInfoHelper.getOrganizationCode(userId); |
|
|
|
// TODO 校验用户权限 |
|
|
|
|
|
|
|
// 保存财政编码配置 |
|
|
|
String fiscalCode = reqCompanyFiscalCodeAndSealSnPO.getFiscalCode(); |
|
|
|
CompanyFiscalCode companyFiscalCodeSaveRecord = new CompanyFiscalCode(); |
|
|
|
companyFiscalCodeSaveRecord.setFiscalCode(fiscalCode); |
|
|
|
companyFiscalCodeSaveRecord.setCompanyId(companyId); |
|
|
|
companyFiscalCodeSaveRecord.setOrganizationCode(organizationCode); |
|
|
|
companyFiscalCodeSaveRecord.setCreateOn(LocalDateTime.now()); |
|
|
|
companyFiscalCodeSaveRecord.setUpdateOn(LocalDateTime.now()); |
|
|
|
companyFiscalCodeSaveRecord.setCreateBy(userId); |
|
|
@@ -46,7 +46,7 @@ public class CompanyFiscalCodeManage { |
|
|
|
String sealSn = reqCompanyFiscalCodeAndSealSnPO.getSealSn(); |
|
|
|
CompanySignature companySignatureSaveRecord = new CompanySignature(); |
|
|
|
companySignatureSaveRecord.setSealSn(sealSn); |
|
|
|
companySignatureSaveRecord.setCompanyId(companyId); |
|
|
|
companySignatureSaveRecord.setOrganizationCode(organizationCode); |
|
|
|
companySignatureSaveRecord.setCreateOn(LocalDateTime.now()); |
|
|
|
companySignatureSaveRecord.setUpdateOn(LocalDateTime.now()); |
|
|
|
companySignatureSaveRecord.setCreateBy(userId); |
|
|
|