Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
B
bailuntec-cost
Overview
Overview
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
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
huluobin
bailuntec-cost
Commits
60d44582
Commit
60d44582
authored
Jan 26, 2021
by
huluobin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
# update
parent
7d3d1256
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
4 deletions
+6
-4
CostTypeMapper.xml
cost-service/src/main/resources/mapper/CostTypeMapper.xml
+6
-4
No files found.
cost-service/src/main/resources/mapper/CostTypeMapper.xml
View file @
60d44582
...
@@ -17,7 +17,7 @@
...
@@ -17,7 +17,7 @@
t1.create_user_id,
t1.create_user_id,
t1.create_user
t1.create_user
from cost_type t1
from cost_type t1
left join accounting_subject t2 on t1.accounting_subject_
no = t2.subject_no
left join accounting_subject t2 on t1.accounting_subject_
id = t2.id
where t1.cost_template_type =#{req.costTemplateType}
where t1.cost_template_type =#{req.costTemplateType}
<if
test=
"req.accountingSubjectNo !=null"
>
<if
test=
"req.accountingSubjectNo !=null"
>
and t1.accounting_subject_no = #{req.accountingSubjectNo}
and t1.accounting_subject_no = #{req.accountingSubjectNo}
...
@@ -73,9 +73,11 @@
...
@@ -73,9 +73,11 @@
</select>
</select>
<select
id=
"selectTestType"
resultType=
"com.blt.other.database.model.CostTypeDomain"
>
<select
id=
"selectTestType"
resultType=
"com.blt.other.database.model.CostTypeDomain"
>
SELECT t1.* from cost_type t1
SELECT t1.*
LEFT JOIN cost_type t2 on t1.type_name =t2.type_name and t2.cost_template_type = 2
from cost_type t1
where t1.cost_template_type = 9 and t2.id is null;
LEFT JOIN cost_type t2 on t1.type_name = t2.type_name and t2.cost_template_type = 2
where t1.cost_template_type = 9
and t2.id is null;
</select>
</select>
...
...
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