Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
H
hg-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
hg-smart
Commits
8a017efa
Commit
8a017efa
authored
Oct 06, 2024
by
liuyang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
2024-10-08 委外出库单
parent
7437525d
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
16 additions
and
0 deletions
+16
-0
ServiceHGKC014B.java
...java/com/baosight/hggp/hg/kc/service/ServiceHGKC014B.java
+1
-0
ServiceHGKC015B.java
...java/com/baosight/hggp/hg/kc/service/ServiceHGKC015B.java
+1
-0
HGKC015.xml
src/main/java/com/baosight/hggp/hg/kc/sql/HGKC015.xml
+1
-0
HGSC010A.xml
src/main/java/com/baosight/hggp/hg/sc/sql/HGSC010A.xml
+6
-0
HGSC010B.xml
src/main/java/com/baosight/hggp/hg/sc/sql/HGSC010B.xml
+6
-0
sqlmap-config.xml
src/main/resources/resources/ibatis/sqlmap-config.xml
+1
-0
No files found.
src/main/java/com/baosight/hggp/hg/kc/service/ServiceHGKC014B.java
View file @
8a017efa
...
@@ -52,6 +52,7 @@ public class ServiceHGKC014B extends ServiceEPBase {
...
@@ -52,6 +52,7 @@ public class ServiceHGKC014B extends ServiceEPBase {
try
{
try
{
Map
queryMap
=
EiInfoUtils
.
getFirstRow
(
inInfo
);
Map
queryMap
=
EiInfoUtils
.
getFirstRow
(
inInfo
);
queryMap
.
put
(
"isRemainingQty"
,
"true"
);
queryMap
.
put
(
"isRemainingQty"
,
"true"
);
queryMap
.
put
(
"status"
,
"1"
);
queryMap
.
remove
(
"parentId"
);
queryMap
.
remove
(
"parentId"
);
inInfo
=
super
.
query
(
inInfo
,
HGSC010A
.
QUERY
,
new
HGSC010A
());
inInfo
=
super
.
query
(
inInfo
,
HGSC010A
.
QUERY
,
new
HGSC010A
());
List
<
HGSC010A
>
resultBlock
=
MapUtils
.
toDaoEPBases
(
inInfo
,
HGSC010A
.
class
);
List
<
HGSC010A
>
resultBlock
=
MapUtils
.
toDaoEPBases
(
inInfo
,
HGSC010A
.
class
);
...
...
src/main/java/com/baosight/hggp/hg/kc/service/ServiceHGKC015B.java
View file @
8a017efa
...
@@ -48,6 +48,7 @@ public class ServiceHGKC015B extends ServiceEPBase {
...
@@ -48,6 +48,7 @@ public class ServiceHGKC015B extends ServiceEPBase {
try
{
try
{
Map
queryMap
=
EiInfoUtils
.
getFirstRow
(
inInfo
);
Map
queryMap
=
EiInfoUtils
.
getFirstRow
(
inInfo
);
queryMap
.
put
(
"isRemainingQty"
,
"true"
);
queryMap
.
put
(
"isRemainingQty"
,
"true"
);
queryMap
.
put
(
"status"
,
"1"
);
queryMap
.
remove
(
"parentId"
);
queryMap
.
remove
(
"parentId"
);
inInfo
=
super
.
query
(
inInfo
,
HGSC010B
.
QUERY
,
new
HGSC010B
());
inInfo
=
super
.
query
(
inInfo
,
HGSC010B
.
QUERY
,
new
HGSC010B
());
List
<
HGSC010B
>
resultBlock
=
MapUtils
.
toDaoEPBases
(
inInfo
,
HGSC010B
.
class
);
List
<
HGSC010B
>
resultBlock
=
MapUtils
.
toDaoEPBases
(
inInfo
,
HGSC010B
.
class
);
...
...
src/main/java/com/baosight/hggp/hg/kc/sql/HGKC015.xml
View file @
8a017efa
...
@@ -26,6 +26,7 @@
...
@@ -26,6 +26,7 @@
<sqlMap
namespace=
"HGKC015"
>
<sqlMap
namespace=
"HGKC015"
>
<sql
id=
"condition"
>
<sql
id=
"condition"
>
<include
refid=
"HGXSDataAuth.authCondition"
/>
<isNotEmpty
prepend=
" AND "
property=
"id"
>
<isNotEmpty
prepend=
" AND "
property=
"id"
>
ID = #id#
ID = #id#
</isNotEmpty>
</isNotEmpty>
...
...
src/main/java/com/baosight/hggp/hg/sc/sql/HGSC010A.xml
View file @
8a017efa
...
@@ -120,6 +120,12 @@
...
@@ -120,6 +120,12 @@
<isNotEmpty
prepend=
" AND "
property=
"isRemainingQty"
>
<isNotEmpty
prepend=
" AND "
property=
"isRemainingQty"
>
REMAINING_QTY > 0
REMAINING_QTY > 0
</isNotEmpty>
</isNotEmpty>
<isNotEmpty
prepend=
" AND "
property=
"status"
>
PARENT_ID IN (SELECT ID FROM ${hggpSchema}.HGSC010 WHERE DELETE_FLAG = 0 AND SUB_STATUS = 1
<isNotEmpty
prepend=
" AND "
property=
"companyCode"
>
COMPANY_CODE = #companyCode#
</isNotEmpty>
)
</isNotEmpty>
</sql>
</sql>
<select
id=
"query"
parameterClass=
"java.util.HashMap"
<select
id=
"query"
parameterClass=
"java.util.HashMap"
...
...
src/main/java/com/baosight/hggp/hg/sc/sql/HGSC010B.xml
View file @
8a017efa
...
@@ -120,6 +120,12 @@
...
@@ -120,6 +120,12 @@
<isNotEmpty
prepend=
" AND "
property=
"isRemainingQty"
>
<isNotEmpty
prepend=
" AND "
property=
"isRemainingQty"
>
REMAINING_QTY > 0
REMAINING_QTY > 0
</isNotEmpty>
</isNotEmpty>
<isNotEmpty
prepend=
" AND "
property=
"status"
>
PARENT_ID IN (SELECT ID FROM ${hggpSchema}.HGSC010 WHERE DELETE_FLAG = 0 AND SUB_STATUS = 1
<isNotEmpty
prepend=
" AND "
property=
"companyCode"
>
COMPANY_CODE = #companyCode#
</isNotEmpty>
)
</isNotEmpty>
</sql>
</sql>
<select
id=
"query"
parameterClass=
"java.util.HashMap"
<select
id=
"query"
parameterClass=
"java.util.HashMap"
...
...
src/main/resources/resources/ibatis/sqlmap-config.xml
View file @
8a017efa
...
@@ -55,6 +55,7 @@
...
@@ -55,6 +55,7 @@
<sqlMap
resource=
"com/baosight/hggp/hg/kc/sql/HGKC013.xml"
/>
<sqlMap
resource=
"com/baosight/hggp/hg/kc/sql/HGKC013.xml"
/>
<sqlMap
resource=
"com/baosight/hggp/hg/kc/sql/HGKC013A.xml"
/>
<sqlMap
resource=
"com/baosight/hggp/hg/kc/sql/HGKC013A.xml"
/>
<sqlMap
resource=
"com/baosight/hggp/hg/kc/sql/HGKC014.xml"
/>
<sqlMap
resource=
"com/baosight/hggp/hg/kc/sql/HGKC014.xml"
/>
<sqlMap
resource=
"com/baosight/hggp/hg/kc/sql/HGKC015.xml"
/>
<!-- 质量 -->
<!-- 质量 -->
<sqlMap
resource=
"com/baosight/hggp/hg/zl/sql/HGZL001.xml"
/>
<sqlMap
resource=
"com/baosight/hggp/hg/zl/sql/HGZL001.xml"
/>
...
...
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