Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
H
hp-smart
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
platform
hp-smart
Commits
abfcdd85
Commit
abfcdd85
authored
Jan 22, 2024
by
宋祥
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
1.按月统计库存收发存
parent
23a9f843
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
9 changed files
with
20 additions
and
18 deletions
+20
-18
ServiceHPKC009.java
.../java/com/baosight/hpjx/hp/kc/service/ServiceHPKC009.java
+0
-0
HPKC001.xml
src/main/java/com/baosight/hpjx/hp/kc/sql/HPKC001.xml
+2
-2
HPKC002.xml
src/main/java/com/baosight/hpjx/hp/kc/sql/HPKC002.xml
+2
-2
HPKC003.xml
src/main/java/com/baosight/hpjx/hp/kc/sql/HPKC003.xml
+2
-2
HPKC004.xml
src/main/java/com/baosight/hpjx/hp/kc/sql/HPKC004.xml
+2
-2
HPKC006.xml
src/main/java/com/baosight/hpjx/hp/kc/sql/HPKC006.xml
+2
-2
HPKC007.xml
src/main/java/com/baosight/hpjx/hp/kc/sql/HPKC007.xml
+2
-2
DateUtils.java
src/main/java/com/baosight/hpjx/util/DateUtils.java
+1
-0
HPKC009.jsp
src/main/webapp/HP/KC/HPKC009.jsp
+7
-6
No files found.
src/main/java/com/baosight/hpjx/hp/kc/service/ServiceHPKC009.java
View file @
abfcdd85
This diff is collapsed.
Click to expand it.
src/main/java/com/baosight/hpjx/hp/kc/sql/HPKC001.xml
View file @
abfcdd85
...
...
@@ -172,8 +172,8 @@
WHERE ID = #id#
</update>
<!--
按天统计
-->
<select
id=
"statDa
y
"
resultClass=
"com.baosight.hpjx.hp.kc.domain.HPKC001"
>
<!--
统计库存
-->
<select
id=
"statDa
te
"
resultClass=
"com.baosight.hpjx.hp.kc.domain.HPKC001"
>
SELECT
COMPANY_CODE AS "companyCode",
DEP_CODE AS "depCode",
...
...
src/main/java/com/baosight/hpjx/hp/kc/sql/HPKC002.xml
View file @
abfcdd85
...
...
@@ -170,8 +170,8 @@
WHERE ID = #id#
</update>
<!--
按天统计
-->
<select
id=
"statDa
y
"
resultClass=
"com.baosight.hpjx.hp.kc.domain.HPKC002"
>
<!--
统计库存
-->
<select
id=
"statDa
te
"
resultClass=
"com.baosight.hpjx.hp.kc.domain.HPKC002"
>
SELECT
COMPANY_CODE AS "companyCode",
DEP_CODE AS "depCode",
...
...
src/main/java/com/baosight/hpjx/hp/kc/sql/HPKC003.xml
View file @
abfcdd85
...
...
@@ -173,8 +173,8 @@
ID = #id#
</update>
<!--
按天统计
-->
<select
id=
"statDa
y
"
resultClass=
"com.baosight.hpjx.hp.kc.domain.HPKC003"
>
<!--
统计库存
-->
<select
id=
"statDa
te
"
resultClass=
"com.baosight.hpjx.hp.kc.domain.HPKC003"
>
SELECT
COMPANY_CODE AS "companyCode",
DEP_CODE AS "depCode",
...
...
src/main/java/com/baosight/hpjx/hp/kc/sql/HPKC004.xml
View file @
abfcdd85
...
...
@@ -247,8 +247,8 @@
ID = #id#
</update>
<!--
按天统计
-->
<select
id=
"statDa
y
"
resultClass=
"com.baosight.hpjx.hp.kc.domain.HPKC004"
>
<!--
统计库存
-->
<select
id=
"statDa
te
"
resultClass=
"com.baosight.hpjx.hp.kc.domain.HPKC004"
>
SELECT
COMPANY_CODE AS "companyCode",
DEP_CODE AS "depCode",
...
...
src/main/java/com/baosight/hpjx/hp/kc/sql/HPKC006.xml
View file @
abfcdd85
...
...
@@ -120,8 +120,8 @@
ID = #id#
</update>
<!--
按天统计
-->
<select
id=
"statDa
y
"
resultClass=
"com.baosight.hpjx.hp.kc.domain.HPKC006"
>
<!--
统计库存
-->
<select
id=
"statDa
te
"
resultClass=
"com.baosight.hpjx.hp.kc.domain.HPKC006"
>
SELECT
COMPANY_CODE AS "companyCode",
DEP_CODE AS "depCode",
...
...
src/main/java/com/baosight/hpjx/hp/kc/sql/HPKC007.xml
View file @
abfcdd85
...
...
@@ -163,8 +163,8 @@
ID = #id#
</update>
<!--
按天统计
-->
<select
id=
"statDa
y
"
resultClass=
"com.baosight.hpjx.hp.kc.domain.HPKC007"
>
<!--
统计库存
-->
<select
id=
"statDa
te
"
resultClass=
"com.baosight.hpjx.hp.kc.domain.HPKC007"
>
SELECT
COMPANY_CODE AS "companyCode",
DEP_CODE AS "depCode",
...
...
src/main/java/com/baosight/hpjx/util/DateUtils.java
View file @
abfcdd85
...
...
@@ -27,6 +27,7 @@ public class DateUtils extends org.apache.commons.lang3.time.DateUtils {
public
static
final
DateTimeFormatter
DATETIME
=
DateTimeFormatter
.
ofPattern
(
"yyyy-MM-dd HH:mm:ss"
);
public
static
final
DateTimeFormatter
SHORT_DATE
=
DateTimeFormatter
.
ofPattern
(
"yyyyMMdd"
);
public
static
final
DateTimeFormatter
DATE
=
DateTimeFormatter
.
ofPattern
(
"yyyy-MM-dd"
);
public
static
final
DateTimeFormatter
SHORT_MONTH
=
DateTimeFormatter
.
ofPattern
(
"yyyyMM"
);
public
static
final
DateTimeFormatter
YEAR_MONTH
=
DateTimeFormatter
.
ofPattern
(
"yyyy-MM"
);
/**
...
...
src/main/webapp/HP/KC/HPKC009.jsp
View file @
abfcdd85
...
...
@@ -8,12 +8,16 @@
<EF:EFPage
title=
"库存收发存"
>
<EF:EFRegion
id=
"inqu"
title=
"查询条件"
>
<div
class=
"row"
>
<EF:EFDatePicker
ename=
"inqu_status-0-dateProc"
cname=
"日期:"
role=
"date"
format=
"yyyy-MM
-dd
"
readonly=
"true"
/>
<EF:EFDatePicker
ename=
"inqu_status-0-dateProc"
cname=
"日期:"
start=
"year"
depth=
"year"
role=
"date"
format=
"yyyy-MM"
readonly=
"true"
/>
<EF:EFSelect
ename=
"inqu_status-0-inventType"
cname=
"存货类型:"
filter=
"contains"
defaultValue=
""
>
<EF:EFOption
label=
"请选择"
value=
""
/>
<EF:EFCodeOption
codeName=
"hpjx.hpkc.inventType"
/>
</EF:EFSelect>
<EF:EFSelect
ename=
"inqu_status-0-whCode"
cname=
"仓库名称"
filter=
"contains"
defultValue=
""
>
<EF:EFOption
label=
"请选择"
value=
""
/>
<EF:EFOptions
blockId=
"whName_block_id"
textField=
"textField"
valueField=
"valueField"
/>
</EF:EFSelect>
</div>
</EF:EFRegion>
...
...
@@ -23,12 +27,9 @@
<EF:EFComboColumn
cname=
"库存类型"
ename=
"kcType"
enable=
"false"
width=
"80"
align=
"center"
>
<EF:EFCodeOption
codeName=
"hpjx.hpkc.kcType"
/>
</EF:EFComboColumn>
<EF:EFComboColumn
cname=
"日期类型"
ename=
"dateType"
enable=
"false"
width=
"80"
align=
"center"
>
<EF:EFCodeOption
codeName=
"hpjx.hpkc.dateType"
/>
</EF:EFComboColumn>
<EF:EFColumn
cname=
"日期"
ename=
"dateProc"
enable=
"false"
width=
"90"
align=
"center"
/>
<EF:EFComboColumn
cname=
"仓库名称"
ename=
"whCode"
enable=
"false"
columnTemplate=
"#=textField#"
itemTemplate=
"#=textField#"
blockName=
"wh
_record
_block_id"
itemTemplate=
"#=textField#"
blockName=
"wh
Name
_block_id"
textField=
"textField"
valueField=
"valueField"
align=
"center"
filter=
"contains"
width=
"100"
>
</EF:EFComboColumn>
...
...
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