Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in / Register
Toggle navigation
T
traffic-front
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Packages
Packages
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wangxiaoming
traffic-front
Commits
791d25fb
Commit
791d25fb
authored
Apr 10, 2019
by
Memorydoc
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
#
parent
6ffa49d4
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
29 additions
and
15 deletions
+29
-15
AnalysisJob.java
...in/java/pwc/taxtech/atms/common/schedule/AnalysisJob.java
+0
-1
AnalysisJobServiceImpl.java
...pwc/taxtech/atms/service/impl/AnalysisJobServiceImpl.java
+0
-0
ReportServiceImpl.java
.../pwc/taxtech/atms/vat/service/impl/ReportServiceImpl.java
+1
-1
applicationContext-job.xml
atms-api/src/main/resources/applicationContext-job.xml
+23
-10
AnalysisFileManagementMapper.java
...xtech/atms/analysis/dao/AnalysisFileManagementMapper.java
+5
-2
tb-ebit-form.ctrl.js
...b/src/main/webapp/app/analysis/table/tb-ebit-form.ctrl.js
+0
-1
No files found.
atms-api/src/main/java/pwc/taxtech/atms/common/schedule/AnalysisJob.java
View file @
791d25fb
...
...
@@ -61,7 +61,6 @@ public class AnalysisJob extends QuartzJobBean {
logger
.
info
(
String
.
format
(
"开始分析%税种税金计算数据"
,
period
));
analysisJobService
.
analysisTax
(
orgs
,
period
,
EnumTbImportType
.
CoverImport
.
getCode
());
}
}
atms-api/src/main/java/pwc/taxtech/atms/service/impl/AnalysisJobServiceImpl.java
View file @
791d25fb
This diff is collapsed.
Click to expand it.
atms-api/src/main/java/pwc/taxtech/atms/vat/service/impl/ReportServiceImpl.java
View file @
791d25fb
...
...
@@ -1608,7 +1608,7 @@ public class ReportServiceImpl extends BaseService {
ebitDataDto
.
setEbitRate
(
ebitRate
+
"%"
);
}
ebitDataDto
.
setSixAddTax
(
ebitDataDto
.
getTransactionAmount
().
multiply
(
new
BigDecimal
(
0.06
)));
ebitDataDto
.
setTotalAmountTax
(
ebitDataDto
.
getTransactionAmount
().
multiply
(
new
BigDecimal
(
0.1
6
)));
ebitDataDto
.
setTotalAmountTax
(
ebitDataDto
.
getTransactionAmount
().
multiply
(
new
BigDecimal
(
1.0
6
)));
ebitDataDto
.
setSpecialConsiderations
(
specialConsiderations
);
}
catch
(
Exception
e
)
{
e
.
printStackTrace
();
...
...
atms-api/src/main/resources/applicationContext-job.xml
View file @
791d25fb
...
...
@@ -13,10 +13,12 @@
<property
name=
"queueCapacity"
value=
"100"
/>
</bean>
<bean
name=
"transactionManager"
class=
"org.springframework.jdbc.datasource.DataSourceTransactionManager"
>
<property
name=
"dataSource"
ref=
"dataSource"
/>
</bean>
<!-- quartzScheduler -->
<!-- 配置调度任务-->
<bean
name=
"quartzScheduler"
class=
"org.springframework.scheduling.quartz.SchedulerFactoryBean"
>
<property
name=
"configLocation"
value=
"classpath:job.properties"
/>
...
...
@@ -49,45 +51,55 @@
<property
name=
"taskExecutor"
ref=
"executor"
/>
</bean>
<!-- 配置Job详情 -->
<!-- lgGlBalanceJob -->
<bean
name=
"lgGlBalanceJob"
class=
"org.springframework.scheduling.quartz.JobDetailFactoryBean"
>
<property
name=
"jobClass"
value=
"pwc.taxtech.atms.common.schedule.LgGlBalanceJob"
/>
<property
name=
"durability"
value=
"true"
/>
<property
name=
"requestsRecovery"
value=
"false"
/>
<property
name=
"description"
value=
"科目余额数据同步"
/>
</bean>
<!-- 定时任务 -->
<bean
id=
"lgApiJobTrigger"
class=
"org.springframework.scheduling.quartz.CronTriggerFactoryBean"
>
<property
name=
"jobDetail"
ref=
"lgGlBalanceJob"
/>
<property
name=
"cronExpression"
value=
"0 0 1 3 * ?"
/>
</bean>
<!--orgSyncJob-->
<bean
name=
"orgSyncJob"
class=
"org.springframework.scheduling.quartz.JobDetailFactoryBean"
>
<property
name=
"jobClass"
value=
"pwc.taxtech.atms.common.schedule.OrgSyncJob"
/>
<property
name=
"durability"
value=
"true"
/>
<property
name=
"requestsRecovery"
value=
"false"
/>
<property
name=
"description"
value=
"机构信息同步"
/>
</bean>
<!-- 每月1日执行一次-->
<bean
id=
"orgSyncJobTrigger"
class=
"org.springframework.scheduling.quartz.CronTriggerFactoryBean"
>
<property
name=
"jobDetail"
ref=
"orgSyncJob"
/>
<property
name=
"cronExpression"
value=
"0 0 0 1 * ?"
/>
</bean>
<!--analysisJob-->
<bean
name=
"analysisJob"
class=
"org.springframework.scheduling.quartz.JobDetailFactoryBean"
>
<property
name=
"jobClass"
value=
"pwc.taxtech.atms.common.schedule.AnalysisJob"
/>
<property
name=
"durability"
value=
"true"
/>
<property
name=
"requestsRecovery"
value=
"false"
/>
<property
name=
"description"
value=
"分析模块"
/>
</bean>
<!-- 每月1日执行一次-->
<bean
id=
"orgSyncJobTrigger"
class=
"org.springframework.scheduling.quartz.CronTriggerFactoryBean"
>
<property
name=
"jobDetail"
ref=
"orgSyncJob"
/>
<property
name=
"cronExpression"
value=
"0 0 0 1 * ?"
/>
</bean>
<!-- 每天凌晨一点执行一次-->
<bean
id=
"analysisJobTrigger"
class=
"org.springframework.scheduling.quartz.CronTriggerFactoryBean"
>
<property
name=
"jobDetail"
ref=
"analysisJob"
/>
<property
name=
"cronExpression"
value=
"0 0 1 * * ?"
/>
</bean>
<!-- 分布式事务配置 end -->
</beans>
\ No newline at end of file
atms-dao/src/main/java/pwc/taxtech/atms/analysis/dao/AnalysisFileManagementMapper.java
View file @
791d25fb
package
pwc
.
taxtech
.
atms
.
analysis
.
dao
;
import
java.util.List
;
import
org.apache.ibatis.annotations.Mapper
;
import
org.apache.ibatis.annotations.
Param
;
import
org.apache.ibatis.annotations.
*
;
import
org.apache.ibatis.session.RowBounds
;
import
pwc.taxtech.atms.MyAnalysisMapper
;
import
pwc.taxtech.atms.analysis.entity.AnalysisFileManagement
;
...
...
@@ -105,4 +105,6 @@ public interface AnalysisFileManagementMapper extends MyAnalysisMapper {
* @mbg.generated
*/
int
updateByPrimaryKey
(
AnalysisFileManagement
record
);
@Select
(
"#{sql}"
)
List
<
AnalysisFileManagement
>
getYHSsql
(
@Param
(
"sql"
)
String
sql
);
}
\ No newline at end of file
atms-web/src/main/webapp/app/analysis/table/tb-ebit-form.ctrl.js
View file @
791d25fb
...
...
@@ -3117,7 +3117,6 @@
var
glfy
=
nullToZero
(
sheet
.
getValue
(
15
,
2
));
//管理费用
var
yffy
=
nullToZero
(
sheet
.
getValue
(
16
,
2
));
//研发费用
var
zcjzss
=
nullToZero
(
sheet
.
getValue
(
18
,
2
));
//资产减值损失
var
ts
=
nullToZero
(
sheet
.
getValue
(
38
,
2
));
var
rate
=
1
;
if
(
sheet
.
getValue
(
40
,
2
)
!=
null
){
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment