Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
P
patzn-cloud-service-hmhj
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
wangweidong
patzn-cloud-service-hmhj
Commits
59590dee
Commit
59590dee
authored
Nov 04, 2025
by
jiangxuming
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
feat: 孙主任提的导出表
parent
cdf07ad4
Expand all
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
2 additions
and
2 deletions
+2
-2
EntrustSampleServiceImpl.java
...vice/lims/hmhj/service/impl/EntrustSampleServiceImpl.java
+0
-0
EntrustSampleMapper.xml
src/main/resources/mapper/hmhj/EntrustSampleMapper.xml
+2
-2
YLExport1.xlsx
src/main/resources/templates/excel/YLExport1.xlsx
+0
-0
YLExport2.xlsx
src/main/resources/templates/excel/YLExport2.xlsx
+0
-0
No files found.
src/main/java/com/patzn/cloud/service/lims/hmhj/service/impl/EntrustSampleServiceImpl.java
View file @
59590dee
This diff is collapsed.
Click to expand it.
src/main/resources/mapper/hmhj/EntrustSampleMapper.xml
View file @
59590dee
...
@@ -520,6 +520,7 @@
...
@@ -520,6 +520,7 @@
<select
id=
"laborHourStatisticsTable"
resultType=
"com.patzn.cloud.service.hmhj.vo.EntrustSampleItemVO"
>
<select
id=
"laborHourStatisticsTable"
resultType=
"com.patzn.cloud.service.hmhj.vo.EntrustSampleItemVO"
>
SELECT
SELECT
EXTRACT(DAY FROM s.ctime) AS day,
EXTRACT(DAY FROM s.ctime) AS day,
TO_CHAR(s.ctime, 'MM.DD') AS monthDay,
s.sample_grading,
s.sample_grading,
slot_no ,
slot_no ,
i.name,
i.name,
...
@@ -528,8 +529,7 @@
...
@@ -528,8 +529,7 @@
"entrust_sample" s join entrust_sample_item i on i.entrust_sample_id = s.id join entrust_sample_item_index ii on ii.entrust_sample_item_id = i.id
"entrust_sample" s join entrust_sample_item i on i.entrust_sample_id = s.id join entrust_sample_item_index ii on ii.entrust_sample_item_id = i.id
WHERE
WHERE
s.NAME IN ( '原铝', '原铝重取' )
s.NAME IN ( '原铝', '原铝重取' )
AND s.ctime > date_trunc('month', CURRENT_DATE)
AND s.ctime between #{dto.entrustTimeStart} and #{dto.entrustTimeEnd}
AND s.ctime
<
date_trunc('month', CURRENT_DATE) + INTERVAL '1 month'
AND CAST(TRIM(slot_no) AS INTEGER) >= 1001
AND CAST(TRIM(slot_no) AS INTEGER) >= 1001
AND CAST(TRIM(slot_no) AS INTEGER)
<
= 7000
AND CAST(TRIM(slot_no) AS INTEGER)
<
= 7000
ORDER BY
ORDER BY
...
...
src/main/resources/templates/excel/YLExport1.xlsx
0 → 100644
View file @
59590dee
File added
src/main/resources/templates/excel/YLExport2.xlsx
0 → 100644
View file @
59590dee
File added
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