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
6b2dadc1
Commit
6b2dadc1
authored
Apr 10, 2019
by
zhkwei
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
CIT模板配置
parent
3fd60ed7
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
16 additions
and
13 deletions
+16
-13
TemplateGroupServiceImpl.java
...c/taxtech/atms/service/impl/TemplateGroupServiceImpl.java
+10
-7
CitJournalAdjustExtendsMapper.xml
...axtech/atms/dao/extends/CitJournalAdjustExtendsMapper.xml
+6
-6
No files found.
atms-api/src/main/java/pwc/taxtech/atms/service/impl/TemplateGroupServiceImpl.java
View file @
6b2dadc1
...
...
@@ -397,10 +397,11 @@ public class TemplateGroupServiceImpl extends AbstractService {
config
.
setUpdateTime
(
now
);
config
.
setUpdateBy
(
authUserHelper
.
getCurrentUserId
());
cellTemplateConfigList
.
add
(
config
);
if
(
allowManual
)
{
addManualConfig
(
cellTemplate
,
template
,
cell
,
now
,
cellTemplateConfigList
);
}
//只允许单元格内容为${KeyIn}的才允许手工收入,所以此处注释 update by zhikai.z.wei start
// if (allowManual) {
// addManualConfig(cellTemplate, template, cell, now, cellTemplateConfigList);
// }
//只允许单元格内容为${KeyIn}的才允许手工收入,所以此处注释 update by zhikai.z.wei end
PeriodDataSource
pds
=
new
PeriodDataSource
();
pds
.
setAmount
(
BigDecimal
.
ZERO
);
pds
.
setUpdateBy
(
"Admin"
);
...
...
@@ -556,9 +557,11 @@ public class TemplateGroupServiceImpl extends AbstractService {
config
.
setUpdateBy
(
authUserHelper
.
getCurrentUserId
());
cellTemplateConfigList
.
add
(
config
);
//noinspection Duplicates
if
(
allowManual
)
{
addManualConfig
(
cellTemplate
,
template
,
cell
,
now
,
cellTemplateConfigList
);
}
//只允许单元格内容为${KeyIn}的才允许手工收入,所以此处注释 update by zhikai.z.wei start
// if (allowManual) {
// addManualConfig(cellTemplate, template, cell, now, cellTemplateConfigList);
// }
//只允许单元格内容为${KeyIn}的才允许手工收入,所以此处注释 update by zhikai.z.wei end
PeriodDataSource
pds
=
new
PeriodDataSource
();
pds
.
setAmount
(
BigDecimal
.
ZERO
);
pds
.
setUpdateBy
(
"Admin"
);
...
...
atms-dao/src/main/resources/pwc/taxtech/atms/dao/extends/CitJournalAdjustExtendsMapper.xml
View file @
6b2dadc1
...
...
@@ -364,12 +364,12 @@
<if
test=
"subjectName != null and subjectName != ''"
>
and subject_name LIKE CONCAT('%' ,#{subjectName},'%')
</if>
<
!--<if test="periodStart!=null">--
>
<!--AND account_period >= #{periodStart,jdbcType=INTEGER}-->
<
!--</if>--
>
<
!--<if test="periodEnd!=null">--
>
<!--AND account_period <= #{periodEnd,jdbcType=INTEGER}-->
<
!--</if>--
>
<
if
test=
"periodStart!=null"
>
AND account_period >= #{periodStart,jdbcType=INTEGER}
<
/if
>
<
if
test=
"periodEnd!=null"
>
AND account_period
<
= #{periodEnd,jdbcType=INTEGER}
<
/if
>
UNION ALL
select
id, organization_id, project_id, tms_period as period ,date,source, ledger_id, ledger_name, currency_code,
...
...
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