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
8b205365
Commit
8b205365
authored
Oct 16, 2024
by
liuyang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
2024-10-17 新增返回ID,查询附件判断,修复采购开票bug
parent
27b0d4f7
Hide whitespace changes
Inline
Side-by-side
Showing
31 changed files
with
99 additions
and
16 deletions
+99
-16
HGCG003A.xml
src/main/java/com/baosight/hggp/hg/cg/sql/HGCG003A.xml
+1
-1
ServiceHGCW012.java
.../java/com/baosight/hggp/hg/cw/service/ServiceHGCW012.java
+2
-1
ServiceHGPZ002A.java
...java/com/baosight/hggp/hg/pz/service/ServiceHGPZ002A.java
+2
-1
ServiceHGPZ009A.java
...java/com/baosight/hggp/hg/pz/service/ServiceHGPZ009A.java
+2
-1
ServiceHGSC003B.java
...java/com/baosight/hggp/hg/sc/service/ServiceHGSC003B.java
+2
-1
ServiceHGSC004B.java
...java/com/baosight/hggp/hg/sc/service/ServiceHGSC004B.java
+2
-1
ServiceHGSC004D.java
...java/com/baosight/hggp/hg/sc/service/ServiceHGSC004D.java
+2
-1
HGSCTools.java
src/main/java/com/baosight/hggp/hg/sc/tools/HGSCTools.java
+3
-2
ServiceHGXT001A.java
...java/com/baosight/hggp/hg/xt/service/ServiceHGXT001A.java
+2
-1
ServiceHGXT099.java
.../java/com/baosight/hggp/hg/xt/service/ServiceHGXT099.java
+2
-1
ServiceHGYX005.java
.../java/com/baosight/hggp/hg/yx/service/ServiceHGYX005.java
+9
-4
ServiceHGYX006.java
.../java/com/baosight/hggp/hg/yx/service/ServiceHGYX006.java
+4
-0
ServiceHGYX007.java
.../java/com/baosight/hggp/hg/yx/service/ServiceHGYX007.java
+4
-0
ServiceHGYX008.java
.../java/com/baosight/hggp/hg/yx/service/ServiceHGYX008.java
+4
-0
ServiceHGYX009.java
.../java/com/baosight/hggp/hg/yx/service/ServiceHGYX009.java
+4
-0
ServiceHGYX010.java
.../java/com/baosight/hggp/hg/yx/service/ServiceHGYX010.java
+4
-0
ServiceHGYX011.java
.../java/com/baosight/hggp/hg/yx/service/ServiceHGYX011.java
+4
-0
ServiceHGYX012.java
.../java/com/baosight/hggp/hg/yx/service/ServiceHGYX012.java
+4
-0
ServiceHGYX013.java
.../java/com/baosight/hggp/hg/yx/service/ServiceHGYX013.java
+4
-0
ServiceHGYX014.java
.../java/com/baosight/hggp/hg/yx/service/ServiceHGYX014.java
+4
-0
HGYX006.xml
src/main/java/com/baosight/hggp/hg/yx/sql/HGYX006.xml
+3
-0
HGYX007.xml
src/main/java/com/baosight/hggp/hg/yx/sql/HGYX007.xml
+3
-0
HGYX008.xml
src/main/java/com/baosight/hggp/hg/yx/sql/HGYX008.xml
+3
-0
HGYX009.xml
src/main/java/com/baosight/hggp/hg/yx/sql/HGYX009.xml
+3
-0
HGYX010.xml
src/main/java/com/baosight/hggp/hg/yx/sql/HGYX010.xml
+3
-0
HGYX011.xml
src/main/java/com/baosight/hggp/hg/yx/sql/HGYX011.xml
+3
-0
HGYX012.xml
src/main/java/com/baosight/hggp/hg/yx/sql/HGYX012.xml
+3
-0
HGYX013.xml
src/main/java/com/baosight/hggp/hg/yx/sql/HGYX013.xml
+3
-0
HGYX014.xml
src/main/java/com/baosight/hggp/hg/yx/sql/HGYX014.xml
+3
-0
ServiceHGZL001A.java
...java/com/baosight/hggp/hg/zl/service/ServiceHGZL001A.java
+2
-1
HGCW012A.js
src/main/webapp/HG/CW/HGCW012A.js
+5
-0
No files found.
src/main/java/com/baosight/hggp/hg/cg/sql/HGCG003A.xml
View file @
8b205365
...
@@ -328,7 +328,7 @@
...
@@ -328,7 +328,7 @@
CANCEL_AMOUNT = #cancelAmount#,
CANCEL_AMOUNT = #cancelAmount#,
UN_CANCEL_AMOUNT = #unCancelAmount#,
UN_CANCEL_AMOUNT = #unCancelAmount#,
<include
refid=
"updateRevise"
/>
<include
refid=
"updateRevise"
/>
WHERE
RECEIVE_NO = #receiveNo
#
WHERE
ID = #id
#
</update>
</update>
<!-- 行锁 -->
<!-- 行锁 -->
...
...
src/main/java/com/baosight/hggp/hg/cw/service/ServiceHGCW012.java
View file @
8b205365
...
@@ -413,14 +413,15 @@ public class ServiceHGCW012 extends ServiceBase {
...
@@ -413,14 +413,15 @@ public class ServiceHGCW012 extends ServiceBase {
//生成明细表
//生成明细表
for
(
HGCW013
hgcw013
:
hgcw013List
)
{
for
(
HGCW013
hgcw013
:
hgcw013List
)
{
hgcw013
.
setMainId
(
hgcw012
.
getId
());
hgcw013
.
setMainId
(
hgcw012
.
getId
());
hgcw013
.
setId
(
null
);
//跟新采购收票状态
//跟新采购收票状态
Map
<
String
,
Object
>
paramMap
=
new
HashMap
<>();
Map
<
String
,
Object
>
paramMap
=
new
HashMap
<>();
paramMap
.
put
(
HGCG003B
.
FIELD_RECEIVE_NO
,
hgcw013
.
getSettlementNumber
());
paramMap
.
put
(
HGCG003B
.
FIELD_RECEIVE_NO
,
hgcw013
.
getSettlementNumber
());
paramMap
.
put
(
HGCG003B
.
FIELD_IS_INVOICING
,
HGConstant
.
CgIsInvoicing
.
S_1
);
paramMap
.
put
(
HGCG003B
.
FIELD_IS_INVOICING
,
HGConstant
.
CgIsInvoicing
.
S_1
);
paramMap
.
put
(
HGCG003B
.
FIELD_CANCEL_AMOUNT
,
hgcw013
.
getTotalContractPriceIncluding
());
paramMap
.
put
(
HGCG003B
.
FIELD_CANCEL_AMOUNT
,
hgcw013
.
getTotalContractPriceIncluding
());
paramMap
.
put
(
HGCG003B
.
FIELD_UN_CANCEL_AMOUNT
,
0
);
paramMap
.
put
(
HGCG003B
.
FIELD_UN_CANCEL_AMOUNT
,
0
);
paramMap
.
put
(
HGCG003B
.
FIELD_ID
,
hgcw013
.
getId
());
DaoUtils
.
update
(
HGSqlConstant
.
HgCg003A
.
UPDATE_IS_INVOICING
,
paramMap
);
DaoUtils
.
update
(
HGSqlConstant
.
HgCg003A
.
UPDATE_IS_INVOICING
,
paramMap
);
hgcw013
.
setId
(
null
);
this
.
addHGCW013
(
hgcw013
);
this
.
addHGCW013
(
hgcw013
);
}
}
}
else
{
}
else
{
...
...
src/main/java/com/baosight/hggp/hg/pz/service/ServiceHGPZ002A.java
View file @
8b205365
...
@@ -2,6 +2,7 @@ package com.baosight.hggp.hg.pz.service;
...
@@ -2,6 +2,7 @@ package com.baosight.hggp.hg.pz.service;
import
com.baosight.hggp.aspect.annotation.OperationLogAnnotation
;
import
com.baosight.hggp.aspect.annotation.OperationLogAnnotation
;
import
com.baosight.hggp.core.constant.CommonConstant
;
import
com.baosight.hggp.core.constant.CommonConstant
;
import
com.baosight.hggp.core.constant.S3Constant
;
import
com.baosight.hggp.core.dao.DaoUtils
;
import
com.baosight.hggp.core.dao.DaoUtils
;
import
com.baosight.hggp.hg.ds.domain.HGDS002
;
import
com.baosight.hggp.hg.ds.domain.HGDS002
;
import
com.baosight.hggp.hg.pz.domain.HGPZ002A
;
import
com.baosight.hggp.hg.pz.domain.HGPZ002A
;
...
@@ -67,7 +68,7 @@ public class ServiceHGPZ002A extends ServiceEPBase {
...
@@ -67,7 +68,7 @@ public class ServiceHGPZ002A extends ServiceEPBase {
try
{
try
{
// 项目环境
// 项目环境
String
projectEnv
=
ProjectInfo
.
getProjectEnv
();
String
projectEnv
=
ProjectInfo
.
getProjectEnv
();
if
(
CommonConstant
.
projectEnv
.
RUN
.
equalsIgnoreCase
(
projectEnv
))
{
if
(
CommonConstant
.
FileLocation
.
S3
.
equalsIgnoreCase
(
S3Constant
.
FILE_LOCATION
))
{
inInfo
=
super
.
query
(
inInfo
,
"HGPZ002A.queryRun"
,
new
HGPZ002A
());
inInfo
=
super
.
query
(
inInfo
,
"HGPZ002A.queryRun"
,
new
HGPZ002A
());
}
else
{
}
else
{
inInfo
=
super
.
query
(
inInfo
,
"HGPZ002A.queryDev"
,
new
HGPZ002A
());
inInfo
=
super
.
query
(
inInfo
,
"HGPZ002A.queryDev"
,
new
HGPZ002A
());
...
...
src/main/java/com/baosight/hggp/hg/pz/service/ServiceHGPZ009A.java
View file @
8b205365
...
@@ -2,6 +2,7 @@ package com.baosight.hggp.hg.pz.service;
...
@@ -2,6 +2,7 @@ package com.baosight.hggp.hg.pz.service;
import
com.baosight.hggp.aspect.annotation.OperationLogAnnotation
;
import
com.baosight.hggp.aspect.annotation.OperationLogAnnotation
;
import
com.baosight.hggp.core.constant.CommonConstant
;
import
com.baosight.hggp.core.constant.CommonConstant
;
import
com.baosight.hggp.core.constant.S3Constant
;
import
com.baosight.hggp.core.dao.DaoUtils
;
import
com.baosight.hggp.core.dao.DaoUtils
;
import
com.baosight.hggp.core.utils.Iplat4jUtils
;
import
com.baosight.hggp.core.utils.Iplat4jUtils
;
import
com.baosight.hggp.hg.ds.domain.HGDS002
;
import
com.baosight.hggp.hg.ds.domain.HGDS002
;
...
@@ -57,7 +58,7 @@ public class ServiceHGPZ009A extends ServiceEPBase {
...
@@ -57,7 +58,7 @@ public class ServiceHGPZ009A extends ServiceEPBase {
try
{
try
{
// 项目环境
// 项目环境
String
projectEnv
=
ProjectInfo
.
getProjectEnv
();
String
projectEnv
=
ProjectInfo
.
getProjectEnv
();
if
(
CommonConstant
.
projectEnv
.
RUN
.
equalsIgnoreCase
(
projectEnv
))
{
if
(
CommonConstant
.
FileLocation
.
S3
.
equalsIgnoreCase
(
S3Constant
.
FILE_LOCATION
))
{
inInfo
=
super
.
query
(
inInfo
,
HGPZ009A
.
QUERY_RUN
,
new
HGPZ009A
());
inInfo
=
super
.
query
(
inInfo
,
HGPZ009A
.
QUERY_RUN
,
new
HGPZ009A
());
}
else
{
}
else
{
inInfo
=
super
.
query
(
inInfo
,
HGPZ009A
.
QUERY_DEV
,
new
HGPZ009A
());
inInfo
=
super
.
query
(
inInfo
,
HGPZ009A
.
QUERY_DEV
,
new
HGPZ009A
());
...
...
src/main/java/com/baosight/hggp/hg/sc/service/ServiceHGSC003B.java
View file @
8b205365
package
com
.
baosight
.
hggp
.
hg
.
sc
.
service
;
package
com
.
baosight
.
hggp
.
hg
.
sc
.
service
;
import
com.baosight.hggp.core.constant.CommonConstant
;
import
com.baosight.hggp.core.constant.CommonConstant
;
import
com.baosight.hggp.core.constant.S3Constant
;
import
com.baosight.hggp.core.dao.DaoUtils
;
import
com.baosight.hggp.core.dao.DaoUtils
;
import
com.baosight.hggp.core.tools.Iplat4jTools
;
import
com.baosight.hggp.core.tools.Iplat4jTools
;
import
com.baosight.hggp.hg.sc.domain.HGSC099
;
import
com.baosight.hggp.hg.sc.domain.HGSC099
;
...
@@ -58,7 +59,7 @@ public class ServiceHGSC003B extends ServiceEPBase {
...
@@ -58,7 +59,7 @@ public class ServiceHGSC003B extends ServiceEPBase {
}
}
inInfo
.
setCell
(
EiConstant
.
queryBlock
,
ACConstants
.
ROW_CODE_0
,
"bizTypes"
,
bizTypes
);
inInfo
.
setCell
(
EiConstant
.
queryBlock
,
ACConstants
.
ROW_CODE_0
,
"bizTypes"
,
bizTypes
);
}
}
if
(
CommonConstant
.
projectEnv
.
RUN
.
equalsIgnoreCase
(
projectEnv
))
{
if
(
CommonConstant
.
FileLocation
.
S3
.
equalsIgnoreCase
(
S3Constant
.
FILE_LOCATION
))
{
inInfo
=
super
.
query
(
inInfo
,
"HGSC099.queryRun"
,
new
HGSC099
());
inInfo
=
super
.
query
(
inInfo
,
"HGSC099.queryRun"
,
new
HGSC099
());
}
else
{
}
else
{
inInfo
=
super
.
query
(
inInfo
,
"HGSC099.queryDev"
,
new
HGSC099
());
inInfo
=
super
.
query
(
inInfo
,
"HGSC099.queryDev"
,
new
HGSC099
());
...
...
src/main/java/com/baosight/hggp/hg/sc/service/ServiceHGSC004B.java
View file @
8b205365
package
com
.
baosight
.
hggp
.
hg
.
sc
.
service
;
package
com
.
baosight
.
hggp
.
hg
.
sc
.
service
;
import
com.baosight.hggp.core.constant.CommonConstant
;
import
com.baosight.hggp.core.constant.CommonConstant
;
import
com.baosight.hggp.core.constant.S3Constant
;
import
com.baosight.hggp.core.dao.DaoUtils
;
import
com.baosight.hggp.core.dao.DaoUtils
;
import
com.baosight.hggp.core.tools.Iplat4jTools
;
import
com.baosight.hggp.core.tools.Iplat4jTools
;
import
com.baosight.hggp.hg.sc.domain.HGSC099
;
import
com.baosight.hggp.hg.sc.domain.HGSC099
;
...
@@ -56,7 +57,7 @@ public class ServiceHGSC004B extends ServiceEPBase {
...
@@ -56,7 +57,7 @@ public class ServiceHGSC004B extends ServiceEPBase {
}
}
inInfo
.
setCell
(
EiConstant
.
queryBlock
,
ACConstants
.
ROW_CODE_0
,
"bizTypes"
,
bizTypes
);
inInfo
.
setCell
(
EiConstant
.
queryBlock
,
ACConstants
.
ROW_CODE_0
,
"bizTypes"
,
bizTypes
);
}
}
if
(
CommonConstant
.
projectEnv
.
RUN
.
equalsIgnoreCase
(
projectEnv
))
{
if
(
CommonConstant
.
FileLocation
.
S3
.
equalsIgnoreCase
(
S3Constant
.
FILE_LOCATION
))
{
inInfo
=
super
.
query
(
inInfo
,
"HGSC099.queryRun"
,
new
HGSC099
());
inInfo
=
super
.
query
(
inInfo
,
"HGSC099.queryRun"
,
new
HGSC099
());
}
else
{
}
else
{
inInfo
=
super
.
query
(
inInfo
,
"HGSC099.queryDev"
,
new
HGSC099
());
inInfo
=
super
.
query
(
inInfo
,
"HGSC099.queryDev"
,
new
HGSC099
());
...
...
src/main/java/com/baosight/hggp/hg/sc/service/ServiceHGSC004D.java
View file @
8b205365
package
com
.
baosight
.
hggp
.
hg
.
sc
.
service
;
package
com
.
baosight
.
hggp
.
hg
.
sc
.
service
;
import
com.baosight.hggp.core.constant.CommonConstant
;
import
com.baosight.hggp.core.constant.CommonConstant
;
import
com.baosight.hggp.core.constant.S3Constant
;
import
com.baosight.hggp.core.tools.Iplat4jTools
;
import
com.baosight.hggp.core.tools.Iplat4jTools
;
import
com.baosight.hggp.hg.sc.domain.HGSC099
;
import
com.baosight.hggp.hg.sc.domain.HGSC099
;
import
com.baosight.hggp.util.LogUtils
;
import
com.baosight.hggp.util.LogUtils
;
...
@@ -56,7 +57,7 @@ public class ServiceHGSC004D extends ServiceEPBase {
...
@@ -56,7 +57,7 @@ public class ServiceHGSC004D extends ServiceEPBase {
}
}
inInfo
.
setCell
(
EiConstant
.
queryBlock
,
ACConstants
.
ROW_CODE_0
,
"bizTypes"
,
bizTypes
);
inInfo
.
setCell
(
EiConstant
.
queryBlock
,
ACConstants
.
ROW_CODE_0
,
"bizTypes"
,
bizTypes
);
}
}
if
(
CommonConstant
.
projectEnv
.
RUN
.
equalsIgnoreCase
(
projectEnv
))
{
if
(
CommonConstant
.
FileLocation
.
S3
.
equalsIgnoreCase
(
S3Constant
.
FILE_LOCATION
))
{
inInfo
=
super
.
query
(
inInfo
,
"HGSC099.queryRun"
,
new
HGSC099
());
inInfo
=
super
.
query
(
inInfo
,
"HGSC099.queryRun"
,
new
HGSC099
());
}
else
{
}
else
{
inInfo
=
super
.
query
(
inInfo
,
"HGSC099.queryDev"
,
new
HGSC099
());
inInfo
=
super
.
query
(
inInfo
,
"HGSC099.queryDev"
,
new
HGSC099
());
...
...
src/main/java/com/baosight/hggp/hg/sc/tools/HGSCTools.java
View file @
8b205365
...
@@ -6,6 +6,7 @@ import com.baosight.hggp.common.ComputeTypeEnum;
...
@@ -6,6 +6,7 @@ import com.baosight.hggp.common.ComputeTypeEnum;
import
com.baosight.hggp.common.HandleStatusEnum
;
import
com.baosight.hggp.common.HandleStatusEnum
;
import
com.baosight.hggp.common.ProductTypeEnum
;
import
com.baosight.hggp.common.ProductTypeEnum
;
import
com.baosight.hggp.core.constant.CommonConstant
;
import
com.baosight.hggp.core.constant.CommonConstant
;
import
com.baosight.hggp.core.constant.S3Constant
;
import
com.baosight.hggp.core.dao.DaoBase
;
import
com.baosight.hggp.core.dao.DaoBase
;
import
com.baosight.hggp.core.dao.DaoUtils
;
import
com.baosight.hggp.core.dao.DaoUtils
;
import
com.baosight.hggp.core.security.UserSessionUtils
;
import
com.baosight.hggp.core.security.UserSessionUtils
;
...
@@ -1792,7 +1793,7 @@ public class HGSCTools {
...
@@ -1792,7 +1793,7 @@ public class HGSCTools {
queryMap
.
put
(
HGSC099
.
FIELD_biz_type
,
bizType
);
queryMap
.
put
(
HGSC099
.
FIELD_biz_type
,
bizType
);
// 项目环境
// 项目环境
String
projectEnv
=
ProjectInfo
.
getProjectEnv
();
String
projectEnv
=
ProjectInfo
.
getProjectEnv
();
if
(
CommonConstant
.
projectEnv
.
RUN
.
equalsIgnoreCase
(
projectEnv
))
{
if
(
CommonConstant
.
FileLocation
.
S3
.
equalsIgnoreCase
(
S3Constant
.
FILE_LOCATION
))
{
return
DaoBase
.
getInstance
().
query
(
"HGSC099.queryRun"
,
queryMap
);
return
DaoBase
.
getInstance
().
query
(
"HGSC099.queryRun"
,
queryMap
);
}
else
{
}
else
{
return
DaoBase
.
getInstance
().
query
(
"HGSC099.queryDev"
,
queryMap
);
return
DaoBase
.
getInstance
().
query
(
"HGSC099.queryDev"
,
queryMap
);
...
@@ -1806,7 +1807,7 @@ public class HGSCTools {
...
@@ -1806,7 +1807,7 @@ public class HGSCTools {
queryMap
.
put
(
"bizTypes"
,
bizTypes
);
queryMap
.
put
(
"bizTypes"
,
bizTypes
);
// 项目环境
// 项目环境
String
projectEnv
=
ProjectInfo
.
getProjectEnv
();
String
projectEnv
=
ProjectInfo
.
getProjectEnv
();
if
(
CommonConstant
.
projectEnv
.
RUN
.
equalsIgnoreCase
(
projectEnv
))
{
if
(
CommonConstant
.
FileLocation
.
S3
.
equalsIgnoreCase
(
S3Constant
.
FILE_LOCATION
))
{
return
DaoBase
.
getInstance
().
query
(
"HGSC099.queryRun"
,
queryMap
);
return
DaoBase
.
getInstance
().
query
(
"HGSC099.queryRun"
,
queryMap
);
}
else
{
}
else
{
return
DaoBase
.
getInstance
().
query
(
"HGSC099.queryDev"
,
queryMap
);
return
DaoBase
.
getInstance
().
query
(
"HGSC099.queryDev"
,
queryMap
);
...
...
src/main/java/com/baosight/hggp/hg/xt/service/ServiceHGXT001A.java
View file @
8b205365
...
@@ -2,6 +2,7 @@ package com.baosight.hggp.hg.xt.service;
...
@@ -2,6 +2,7 @@ package com.baosight.hggp.hg.xt.service;
import
com.baosight.hggp.aspect.annotation.OperationLogAnnotation
;
import
com.baosight.hggp.aspect.annotation.OperationLogAnnotation
;
import
com.baosight.hggp.core.constant.CommonConstant
;
import
com.baosight.hggp.core.constant.CommonConstant
;
import
com.baosight.hggp.core.constant.S3Constant
;
import
com.baosight.hggp.hg.xt.domain.HGXT099
;
import
com.baosight.hggp.hg.xt.domain.HGXT099
;
import
com.baosight.hggp.util.LogUtils
;
import
com.baosight.hggp.util.LogUtils
;
import
com.baosight.iplat4j.core.ProjectInfo
;
import
com.baosight.iplat4j.core.ProjectInfo
;
...
@@ -47,7 +48,7 @@ public class ServiceHGXT001A extends ServiceEPBase {
...
@@ -47,7 +48,7 @@ public class ServiceHGXT001A extends ServiceEPBase {
try
{
try
{
// 项目环境
// 项目环境
String
projectEnv
=
ProjectInfo
.
getProjectEnv
();
String
projectEnv
=
ProjectInfo
.
getProjectEnv
();
if
(
CommonConstant
.
projectEnv
.
RUN
.
equalsIgnoreCase
(
projectEnv
))
{
if
(
CommonConstant
.
FileLocation
.
S3
.
equalsIgnoreCase
(
S3Constant
.
FILE_LOCATION
))
{
inInfo
=
super
.
query
(
inInfo
,
"HGXT099.queryRun"
,
new
HGXT099
());
inInfo
=
super
.
query
(
inInfo
,
"HGXT099.queryRun"
,
new
HGXT099
());
}
else
{
}
else
{
inInfo
=
super
.
query
(
inInfo
,
"HGXT099.queryDev"
,
new
HGXT099
());
inInfo
=
super
.
query
(
inInfo
,
"HGXT099.queryDev"
,
new
HGXT099
());
...
...
src/main/java/com/baosight/hggp/hg/xt/service/ServiceHGXT099.java
View file @
8b205365
...
@@ -2,6 +2,7 @@ package com.baosight.hggp.hg.xt.service;
...
@@ -2,6 +2,7 @@ package com.baosight.hggp.hg.xt.service;
import
com.baosight.hggp.aspect.annotation.OperationLogAnnotation
;
import
com.baosight.hggp.aspect.annotation.OperationLogAnnotation
;
import
com.baosight.hggp.core.constant.CommonConstant
;
import
com.baosight.hggp.core.constant.CommonConstant
;
import
com.baosight.hggp.core.constant.S3Constant
;
import
com.baosight.hggp.core.dao.DaoUtils
;
import
com.baosight.hggp.core.dao.DaoUtils
;
import
com.baosight.hggp.hg.ds.domain.HGDS002
;
import
com.baosight.hggp.hg.ds.domain.HGDS002
;
import
com.baosight.hggp.hg.xt.domain.HGXT099
;
import
com.baosight.hggp.hg.xt.domain.HGXT099
;
...
@@ -48,7 +49,7 @@ public class ServiceHGXT099 extends ServiceEPBase {
...
@@ -48,7 +49,7 @@ public class ServiceHGXT099 extends ServiceEPBase {
try
{
try
{
// 项目环境
// 项目环境
String
projectEnv
=
ProjectInfo
.
getProjectEnv
();
String
projectEnv
=
ProjectInfo
.
getProjectEnv
();
if
(
CommonConstant
.
projectEnv
.
RUN
.
equalsIgnoreCase
(
projectEnv
))
{
if
(
CommonConstant
.
FileLocation
.
S3
.
equalsIgnoreCase
(
S3Constant
.
FILE_LOCATION
))
{
inInfo
=
super
.
query
(
inInfo
,
"HGXT099.queryRun"
,
new
HGXT099
());
inInfo
=
super
.
query
(
inInfo
,
"HGXT099.queryRun"
,
new
HGXT099
());
}
else
{
}
else
{
inInfo
=
super
.
query
(
inInfo
,
"HGXT099.queryDev"
,
new
HGXT099
());
inInfo
=
super
.
query
(
inInfo
,
"HGXT099.queryDev"
,
new
HGXT099
());
...
...
src/main/java/com/baosight/hggp/hg/yx/service/ServiceHGYX005.java
View file @
8b205365
...
@@ -17,6 +17,7 @@ import com.baosight.iplat4j.core.ei.EiInfo;
...
@@ -17,6 +17,7 @@ import com.baosight.iplat4j.core.ei.EiInfo;
import
com.baosight.iplat4j.core.service.impl.ServiceEPBase
;
import
com.baosight.iplat4j.core.service.impl.ServiceEPBase
;
import
com.baosight.iplat4j.ed.util.SequenceGenerator
;
import
com.baosight.iplat4j.ed.util.SequenceGenerator
;
import
java.util.ArrayList
;
import
java.util.Arrays
;
import
java.util.Arrays
;
import
java.util.List
;
import
java.util.List
;
...
@@ -65,13 +66,17 @@ public class ServiceHGYX005 extends ServiceEPBase {
...
@@ -65,13 +66,17 @@ public class ServiceHGYX005 extends ServiceEPBase {
List
<
HGYX005
>
resultRows
=
MapUtils
.
toDaoEPBases
(
inInfo
.
getBlock
(
EiConstant
.
resultBlock
).
getRows
(),
HGYX005
.
class
);
List
<
HGYX005
>
resultRows
=
MapUtils
.
toDaoEPBases
(
inInfo
.
getBlock
(
EiConstant
.
resultBlock
).
getRows
(),
HGYX005
.
class
);
List
<
HGYX005A
>
detailRows
=
MapUtils
.
toDaoEPBases
(
inInfo
,
CommonConstant
.
Field
.
DETAIL
,
HGYX005A
.
class
);
List
<
HGYX005A
>
detailRows
=
MapUtils
.
toDaoEPBases
(
inInfo
,
CommonConstant
.
Field
.
DETAIL
,
HGYX005A
.
class
);
// 写入数据
// 写入数据
for
(
HGYX005
HGYX005
:
resultRows
)
{
List
<
HGYX005
>
hpyx005List
=
new
ArrayList
<>();
if
(
HGYX005
.
getId
()
==
null
||
HGYX005
.
getId
()
==
0
)
{
for
(
HGYX005
hgyx005
:
resultRows
)
{
this
.
add
(
HGYX005
,
detailRows
);
if
(
hgyx005
.
getId
()
==
null
||
hgyx005
.
getId
()
==
0
)
{
this
.
add
(
hgyx005
,
detailRows
);
}
else
{
}
else
{
this
.
modify
(
HGYX
005
,
detailRows
);
this
.
modify
(
hgyx
005
,
detailRows
);
}
}
hpyx005List
.
add
(
hgyx005
);
}
}
inInfo
.
getBlock
(
EiConstant
.
resultBlock
).
setRows
(
hpyx005List
);
inInfo
.
getBlock
(
CommonConstant
.
Field
.
DETAIL
).
setRows
(
detailRows
);
inInfo
.
setStatus
(
EiConstant
.
STATUS_DEFAULT
);
inInfo
.
setStatus
(
EiConstant
.
STATUS_DEFAULT
);
inInfo
.
setMsg
(
"操作成功!本次对["
+
resultRows
.
size
()
+
"]条数据保存成功!"
);
inInfo
.
setMsg
(
"操作成功!本次对["
+
resultRows
.
size
()
+
"]条数据保存成功!"
);
}
catch
(
Exception
e
)
{
}
catch
(
Exception
e
)
{
...
...
src/main/java/com/baosight/hggp/hg/yx/service/ServiceHGYX006.java
View file @
8b205365
...
@@ -15,6 +15,7 @@ import com.baosight.iplat4j.core.ei.EiInfo;
...
@@ -15,6 +15,7 @@ import com.baosight.iplat4j.core.ei.EiInfo;
import
com.baosight.iplat4j.core.service.impl.ServiceEPBase
;
import
com.baosight.iplat4j.core.service.impl.ServiceEPBase
;
import
com.baosight.iplat4j.ed.util.SequenceGenerator
;
import
com.baosight.iplat4j.ed.util.SequenceGenerator
;
import
java.util.ArrayList
;
import
java.util.Arrays
;
import
java.util.Arrays
;
import
java.util.List
;
import
java.util.List
;
import
java.util.Map
;
import
java.util.Map
;
...
@@ -61,6 +62,7 @@ public class ServiceHGYX006 extends ServiceEPBase {
...
@@ -61,6 +62,7 @@ public class ServiceHGYX006 extends ServiceEPBase {
public
EiInfo
save
(
EiInfo
inInfo
)
{
public
EiInfo
save
(
EiInfo
inInfo
)
{
try
{
try
{
List
<
Map
>
resultRows
=
inInfo
.
getBlock
(
EiConstant
.
resultBlock
).
getRows
();
List
<
Map
>
resultRows
=
inInfo
.
getBlock
(
EiConstant
.
resultBlock
).
getRows
();
List
<
HGYX006
>
list
=
new
ArrayList
<>();
// 写入数据
// 写入数据
for
(
Map
resultRow
:
resultRows
)
{
for
(
Map
resultRow
:
resultRows
)
{
HGYX006
hgyx006
=
new
HGYX006
();
HGYX006
hgyx006
=
new
HGYX006
();
...
@@ -70,7 +72,9 @@ public class ServiceHGYX006 extends ServiceEPBase {
...
@@ -70,7 +72,9 @@ public class ServiceHGYX006 extends ServiceEPBase {
}
else
{
}
else
{
this
.
modify
(
hgyx006
);
this
.
modify
(
hgyx006
);
}
}
list
.
add
(
hgyx006
);
}
}
inInfo
.
getBlock
(
EiConstant
.
resultBlock
).
setRows
(
list
);
inInfo
.
setStatus
(
EiConstant
.
STATUS_DEFAULT
);
inInfo
.
setStatus
(
EiConstant
.
STATUS_DEFAULT
);
inInfo
.
setMsg
(
"操作成功!本次对["
+
resultRows
.
size
()
+
"]条数据保存成功!"
);
inInfo
.
setMsg
(
"操作成功!本次对["
+
resultRows
.
size
()
+
"]条数据保存成功!"
);
}
catch
(
Exception
e
)
{
}
catch
(
Exception
e
)
{
...
...
src/main/java/com/baosight/hggp/hg/yx/service/ServiceHGYX007.java
View file @
8b205365
...
@@ -16,6 +16,7 @@ import com.baosight.iplat4j.core.resource.I18nMessages;
...
@@ -16,6 +16,7 @@ import com.baosight.iplat4j.core.resource.I18nMessages;
import
com.baosight.iplat4j.core.service.impl.ServiceEPBase
;
import
com.baosight.iplat4j.core.service.impl.ServiceEPBase
;
import
com.baosight.iplat4j.ed.util.SequenceGenerator
;
import
com.baosight.iplat4j.ed.util.SequenceGenerator
;
import
java.util.ArrayList
;
import
java.util.List
;
import
java.util.List
;
import
java.util.Map
;
import
java.util.Map
;
...
@@ -71,6 +72,7 @@ public class ServiceHGYX007 extends ServiceEPBase {
...
@@ -71,6 +72,7 @@ public class ServiceHGYX007 extends ServiceEPBase {
try
{
try
{
List
<
Map
>
resultRows
=
inInfo
.
getBlock
(
"resultA"
).
getRows
();
List
<
Map
>
resultRows
=
inInfo
.
getBlock
(
"resultA"
).
getRows
();
// 写入数据
// 写入数据
List
<
HGYX007
>
list
=
new
ArrayList
<>();
for
(
Map
resultRow
:
resultRows
)
{
for
(
Map
resultRow
:
resultRows
)
{
HGYX007
hgyx007
=
new
HGYX007
();
HGYX007
hgyx007
=
new
HGYX007
();
hgyx007
.
fromMap
(
resultRow
);
hgyx007
.
fromMap
(
resultRow
);
...
@@ -79,7 +81,9 @@ public class ServiceHGYX007 extends ServiceEPBase {
...
@@ -79,7 +81,9 @@ public class ServiceHGYX007 extends ServiceEPBase {
}
else
{
}
else
{
this
.
modify
(
hgyx007
);
this
.
modify
(
hgyx007
);
}
}
list
.
add
(
hgyx007
);
}
}
inInfo
.
getBlock
(
"resultA"
).
setRows
(
list
);
inInfo
.
setStatus
(
EiConstant
.
STATUS_DEFAULT
);
inInfo
.
setStatus
(
EiConstant
.
STATUS_DEFAULT
);
inInfo
.
setMsg
(
"操作成功!本次对["
+
resultRows
.
size
()
+
"]条数据保存成功!"
);
inInfo
.
setMsg
(
"操作成功!本次对["
+
resultRows
.
size
()
+
"]条数据保存成功!"
);
}
catch
(
Exception
e
)
{
}
catch
(
Exception
e
)
{
...
...
src/main/java/com/baosight/hggp/hg/yx/service/ServiceHGYX008.java
View file @
8b205365
...
@@ -15,6 +15,7 @@ import com.baosight.iplat4j.core.exception.PlatException;
...
@@ -15,6 +15,7 @@ import com.baosight.iplat4j.core.exception.PlatException;
import
com.baosight.iplat4j.core.resource.I18nMessages
;
import
com.baosight.iplat4j.core.resource.I18nMessages
;
import
com.baosight.iplat4j.core.service.impl.ServiceEPBase
;
import
com.baosight.iplat4j.core.service.impl.ServiceEPBase
;
import
java.util.ArrayList
;
import
java.util.List
;
import
java.util.List
;
import
java.util.Map
;
import
java.util.Map
;
...
@@ -70,6 +71,7 @@ public class ServiceHGYX008 extends ServiceEPBase {
...
@@ -70,6 +71,7 @@ public class ServiceHGYX008 extends ServiceEPBase {
try
{
try
{
List
<
Map
>
resultRows
=
inInfo
.
getBlock
(
"resultB"
).
getRows
();
List
<
Map
>
resultRows
=
inInfo
.
getBlock
(
"resultB"
).
getRows
();
// 写入数据
// 写入数据
List
<
HGYX008
>
list
=
new
ArrayList
<>();
for
(
Map
resultRow
:
resultRows
)
{
for
(
Map
resultRow
:
resultRows
)
{
HGYX008
hgyx008
=
new
HGYX008
();
HGYX008
hgyx008
=
new
HGYX008
();
hgyx008
.
fromMap
(
resultRow
);
hgyx008
.
fromMap
(
resultRow
);
...
@@ -78,7 +80,9 @@ public class ServiceHGYX008 extends ServiceEPBase {
...
@@ -78,7 +80,9 @@ public class ServiceHGYX008 extends ServiceEPBase {
}
else
{
}
else
{
this
.
modify
(
hgyx008
);
this
.
modify
(
hgyx008
);
}
}
list
.
add
(
hgyx008
);
}
}
inInfo
.
getBlock
(
"resultB"
).
setRows
(
list
);
inInfo
.
setStatus
(
EiConstant
.
STATUS_DEFAULT
);
inInfo
.
setStatus
(
EiConstant
.
STATUS_DEFAULT
);
inInfo
.
setMsg
(
"操作成功!本次对["
+
resultRows
.
size
()
+
"]条数据保存成功!"
);
inInfo
.
setMsg
(
"操作成功!本次对["
+
resultRows
.
size
()
+
"]条数据保存成功!"
);
}
catch
(
Exception
e
)
{
}
catch
(
Exception
e
)
{
...
...
src/main/java/com/baosight/hggp/hg/yx/service/ServiceHGYX009.java
View file @
8b205365
...
@@ -14,6 +14,7 @@ import com.baosight.iplat4j.core.exception.PlatException;
...
@@ -14,6 +14,7 @@ import com.baosight.iplat4j.core.exception.PlatException;
import
com.baosight.iplat4j.core.resource.I18nMessages
;
import
com.baosight.iplat4j.core.resource.I18nMessages
;
import
com.baosight.iplat4j.core.service.impl.ServiceEPBase
;
import
com.baosight.iplat4j.core.service.impl.ServiceEPBase
;
import
java.util.ArrayList
;
import
java.util.List
;
import
java.util.List
;
import
java.util.Map
;
import
java.util.Map
;
...
@@ -69,6 +70,7 @@ public class ServiceHGYX009 extends ServiceEPBase {
...
@@ -69,6 +70,7 @@ public class ServiceHGYX009 extends ServiceEPBase {
try
{
try
{
List
<
Map
>
resultRows
=
inInfo
.
getBlock
(
"resultC"
).
getRows
();
List
<
Map
>
resultRows
=
inInfo
.
getBlock
(
"resultC"
).
getRows
();
// 写入数据
// 写入数据
List
<
HGYX009
>
list
=
new
ArrayList
<>();
for
(
Map
resultRow
:
resultRows
)
{
for
(
Map
resultRow
:
resultRows
)
{
HGYX009
hgyx009
=
new
HGYX009
();
HGYX009
hgyx009
=
new
HGYX009
();
hgyx009
.
fromMap
(
resultRow
);
hgyx009
.
fromMap
(
resultRow
);
...
@@ -77,7 +79,9 @@ public class ServiceHGYX009 extends ServiceEPBase {
...
@@ -77,7 +79,9 @@ public class ServiceHGYX009 extends ServiceEPBase {
}
else
{
}
else
{
this
.
modify
(
hgyx009
);
this
.
modify
(
hgyx009
);
}
}
list
.
add
(
hgyx009
);
}
}
inInfo
.
getBlock
(
"resultC"
).
setRows
(
list
);
inInfo
.
setStatus
(
EiConstant
.
STATUS_DEFAULT
);
inInfo
.
setStatus
(
EiConstant
.
STATUS_DEFAULT
);
inInfo
.
setMsg
(
"操作成功!本次对["
+
resultRows
.
size
()
+
"]条数据保存成功!"
);
inInfo
.
setMsg
(
"操作成功!本次对["
+
resultRows
.
size
()
+
"]条数据保存成功!"
);
}
catch
(
Exception
e
)
{
}
catch
(
Exception
e
)
{
...
...
src/main/java/com/baosight/hggp/hg/yx/service/ServiceHGYX010.java
View file @
8b205365
...
@@ -14,6 +14,7 @@ import com.baosight.iplat4j.core.exception.PlatException;
...
@@ -14,6 +14,7 @@ import com.baosight.iplat4j.core.exception.PlatException;
import
com.baosight.iplat4j.core.resource.I18nMessages
;
import
com.baosight.iplat4j.core.resource.I18nMessages
;
import
com.baosight.iplat4j.core.service.impl.ServiceEPBase
;
import
com.baosight.iplat4j.core.service.impl.ServiceEPBase
;
import
java.util.ArrayList
;
import
java.util.List
;
import
java.util.List
;
import
java.util.Map
;
import
java.util.Map
;
...
@@ -69,6 +70,7 @@ public class ServiceHGYX010 extends ServiceEPBase {
...
@@ -69,6 +70,7 @@ public class ServiceHGYX010 extends ServiceEPBase {
try
{
try
{
List
<
Map
>
resultRows
=
inInfo
.
getBlock
(
EiConstant
.
resultBlock
).
getRows
();
List
<
Map
>
resultRows
=
inInfo
.
getBlock
(
EiConstant
.
resultBlock
).
getRows
();
// 写入数据
// 写入数据
List
<
HGYX010
>
list
=
new
ArrayList
<>();
for
(
Map
resultRow
:
resultRows
)
{
for
(
Map
resultRow
:
resultRows
)
{
HGYX010
hgyx010
=
new
HGYX010
();
HGYX010
hgyx010
=
new
HGYX010
();
hgyx010
.
fromMap
(
resultRow
);
hgyx010
.
fromMap
(
resultRow
);
...
@@ -77,7 +79,9 @@ public class ServiceHGYX010 extends ServiceEPBase {
...
@@ -77,7 +79,9 @@ public class ServiceHGYX010 extends ServiceEPBase {
}
else
{
}
else
{
this
.
modify
(
hgyx010
);
this
.
modify
(
hgyx010
);
}
}
list
.
add
(
hgyx010
);
}
}
inInfo
.
getBlock
(
EiConstant
.
resultBlock
).
setRows
(
list
);
inInfo
.
setStatus
(
EiConstant
.
STATUS_DEFAULT
);
inInfo
.
setStatus
(
EiConstant
.
STATUS_DEFAULT
);
inInfo
.
setMsg
(
"操作成功!本次对["
+
resultRows
.
size
()
+
"]条数据保存成功!"
);
inInfo
.
setMsg
(
"操作成功!本次对["
+
resultRows
.
size
()
+
"]条数据保存成功!"
);
}
catch
(
Exception
e
)
{
}
catch
(
Exception
e
)
{
...
...
src/main/java/com/baosight/hggp/hg/yx/service/ServiceHGYX011.java
View file @
8b205365
...
@@ -15,6 +15,7 @@ import com.baosight.iplat4j.core.ei.EiConstant;
...
@@ -15,6 +15,7 @@ import com.baosight.iplat4j.core.ei.EiConstant;
import
com.baosight.iplat4j.core.ei.EiInfo
;
import
com.baosight.iplat4j.core.ei.EiInfo
;
import
com.baosight.iplat4j.core.service.impl.ServiceEPBase
;
import
com.baosight.iplat4j.core.service.impl.ServiceEPBase
;
import
java.util.ArrayList
;
import
java.util.Arrays
;
import
java.util.Arrays
;
import
java.util.List
;
import
java.util.List
;
import
java.util.Map
;
import
java.util.Map
;
...
@@ -61,6 +62,7 @@ public class ServiceHGYX011 extends ServiceEPBase {
...
@@ -61,6 +62,7 @@ public class ServiceHGYX011 extends ServiceEPBase {
try
{
try
{
List
<
Map
>
resultRows
=
inInfo
.
getBlock
(
EiConstant
.
resultBlock
).
getRows
();
List
<
Map
>
resultRows
=
inInfo
.
getBlock
(
EiConstant
.
resultBlock
).
getRows
();
// 写入数据
// 写入数据
List
<
HGYX011
>
hgyx011List
=
new
ArrayList
<>();
for
(
Map
resultRow
:
resultRows
)
{
for
(
Map
resultRow
:
resultRows
)
{
HGYX011
hgyx011
=
new
HGYX011
();
HGYX011
hgyx011
=
new
HGYX011
();
hgyx011
.
fromMap
(
resultRow
);
hgyx011
.
fromMap
(
resultRow
);
...
@@ -69,7 +71,9 @@ public class ServiceHGYX011 extends ServiceEPBase {
...
@@ -69,7 +71,9 @@ public class ServiceHGYX011 extends ServiceEPBase {
}
else
{
}
else
{
this
.
modify
(
hgyx011
);
this
.
modify
(
hgyx011
);
}
}
hgyx011List
.
add
(
hgyx011
);
}
}
inInfo
.
getBlock
(
EiConstant
.
resultBlock
).
setRows
(
hgyx011List
);
inInfo
.
setStatus
(
EiConstant
.
STATUS_DEFAULT
);
inInfo
.
setStatus
(
EiConstant
.
STATUS_DEFAULT
);
inInfo
.
setMsg
(
"操作成功!本次对["
+
resultRows
.
size
()
+
"]条数据保存成功!"
);
inInfo
.
setMsg
(
"操作成功!本次对["
+
resultRows
.
size
()
+
"]条数据保存成功!"
);
}
catch
(
Exception
e
)
{
}
catch
(
Exception
e
)
{
...
...
src/main/java/com/baosight/hggp/hg/yx/service/ServiceHGYX012.java
View file @
8b205365
...
@@ -15,6 +15,7 @@ import com.baosight.iplat4j.core.exception.PlatException;
...
@@ -15,6 +15,7 @@ import com.baosight.iplat4j.core.exception.PlatException;
import
com.baosight.iplat4j.core.resource.I18nMessages
;
import
com.baosight.iplat4j.core.resource.I18nMessages
;
import
com.baosight.iplat4j.core.service.impl.ServiceEPBase
;
import
com.baosight.iplat4j.core.service.impl.ServiceEPBase
;
import
java.util.ArrayList
;
import
java.util.List
;
import
java.util.List
;
import
java.util.Map
;
import
java.util.Map
;
...
@@ -70,6 +71,7 @@ public class ServiceHGYX012 extends ServiceEPBase {
...
@@ -70,6 +71,7 @@ public class ServiceHGYX012 extends ServiceEPBase {
try
{
try
{
List
<
Map
>
resultRows
=
inInfo
.
getBlock
(
"resultA"
).
getRows
();
List
<
Map
>
resultRows
=
inInfo
.
getBlock
(
"resultA"
).
getRows
();
// 写入数据
// 写入数据
List
<
HGYX012
>
hgyx012List
=
new
ArrayList
<>();
for
(
Map
resultRow
:
resultRows
)
{
for
(
Map
resultRow
:
resultRows
)
{
HGYX012
hgyx012
=
new
HGYX012
();
HGYX012
hgyx012
=
new
HGYX012
();
hgyx012
.
fromMap
(
resultRow
);
hgyx012
.
fromMap
(
resultRow
);
...
@@ -78,7 +80,9 @@ public class ServiceHGYX012 extends ServiceEPBase {
...
@@ -78,7 +80,9 @@ public class ServiceHGYX012 extends ServiceEPBase {
}
else
{
}
else
{
this
.
modify
(
hgyx012
);
this
.
modify
(
hgyx012
);
}
}
hgyx012List
.
add
(
hgyx012
);
}
}
inInfo
.
getBlock
(
"resultA"
).
setRows
(
hgyx012List
);
inInfo
.
setStatus
(
EiConstant
.
STATUS_DEFAULT
);
inInfo
.
setStatus
(
EiConstant
.
STATUS_DEFAULT
);
inInfo
.
setMsg
(
"操作成功!本次对["
+
resultRows
.
size
()
+
"]条数据保存成功!"
);
inInfo
.
setMsg
(
"操作成功!本次对["
+
resultRows
.
size
()
+
"]条数据保存成功!"
);
}
catch
(
Exception
e
)
{
}
catch
(
Exception
e
)
{
...
...
src/main/java/com/baosight/hggp/hg/yx/service/ServiceHGYX013.java
View file @
8b205365
...
@@ -15,6 +15,7 @@ import com.baosight.iplat4j.core.exception.PlatException;
...
@@ -15,6 +15,7 @@ import com.baosight.iplat4j.core.exception.PlatException;
import
com.baosight.iplat4j.core.resource.I18nMessages
;
import
com.baosight.iplat4j.core.resource.I18nMessages
;
import
com.baosight.iplat4j.core.service.impl.ServiceEPBase
;
import
com.baosight.iplat4j.core.service.impl.ServiceEPBase
;
import
java.util.ArrayList
;
import
java.util.List
;
import
java.util.List
;
import
java.util.Map
;
import
java.util.Map
;
...
@@ -70,6 +71,7 @@ public class ServiceHGYX013 extends ServiceEPBase {
...
@@ -70,6 +71,7 @@ public class ServiceHGYX013 extends ServiceEPBase {
try
{
try
{
List
<
Map
>
resultRows
=
inInfo
.
getBlock
(
"resultB"
).
getRows
();
List
<
Map
>
resultRows
=
inInfo
.
getBlock
(
"resultB"
).
getRows
();
// 写入数据
// 写入数据
List
<
HGYX013
>
list
=
new
ArrayList
<>();
for
(
Map
resultRow
:
resultRows
)
{
for
(
Map
resultRow
:
resultRows
)
{
HGYX013
hgyx013
=
new
HGYX013
();
HGYX013
hgyx013
=
new
HGYX013
();
hgyx013
.
fromMap
(
resultRow
);
hgyx013
.
fromMap
(
resultRow
);
...
@@ -78,7 +80,9 @@ public class ServiceHGYX013 extends ServiceEPBase {
...
@@ -78,7 +80,9 @@ public class ServiceHGYX013 extends ServiceEPBase {
}
else
{
}
else
{
this
.
modify
(
hgyx013
);
this
.
modify
(
hgyx013
);
}
}
list
.
add
(
hgyx013
);
}
}
inInfo
.
getBlock
(
"resultB"
).
setRows
(
list
);
inInfo
.
setStatus
(
EiConstant
.
STATUS_DEFAULT
);
inInfo
.
setStatus
(
EiConstant
.
STATUS_DEFAULT
);
inInfo
.
setMsg
(
"操作成功!本次对["
+
resultRows
.
size
()
+
"]条数据保存成功!"
);
inInfo
.
setMsg
(
"操作成功!本次对["
+
resultRows
.
size
()
+
"]条数据保存成功!"
);
}
catch
(
Exception
e
)
{
}
catch
(
Exception
e
)
{
...
...
src/main/java/com/baosight/hggp/hg/yx/service/ServiceHGYX014.java
View file @
8b205365
...
@@ -15,6 +15,7 @@ import com.baosight.iplat4j.core.exception.PlatException;
...
@@ -15,6 +15,7 @@ import com.baosight.iplat4j.core.exception.PlatException;
import
com.baosight.iplat4j.core.resource.I18nMessages
;
import
com.baosight.iplat4j.core.resource.I18nMessages
;
import
com.baosight.iplat4j.core.service.impl.ServiceEPBase
;
import
com.baosight.iplat4j.core.service.impl.ServiceEPBase
;
import
java.util.ArrayList
;
import
java.util.List
;
import
java.util.List
;
import
java.util.Map
;
import
java.util.Map
;
...
@@ -70,6 +71,7 @@ public class ServiceHGYX014 extends ServiceEPBase {
...
@@ -70,6 +71,7 @@ public class ServiceHGYX014 extends ServiceEPBase {
try
{
try
{
List
<
Map
>
resultRows
=
inInfo
.
getBlock
(
"resultC"
).
getRows
();
List
<
Map
>
resultRows
=
inInfo
.
getBlock
(
"resultC"
).
getRows
();
// 写入数据
// 写入数据
List
<
HGYX014
>
list
=
new
ArrayList
<>();
for
(
Map
resultRow
:
resultRows
)
{
for
(
Map
resultRow
:
resultRows
)
{
HGYX014
hgyx014
=
new
HGYX014
();
HGYX014
hgyx014
=
new
HGYX014
();
hgyx014
.
fromMap
(
resultRow
);
hgyx014
.
fromMap
(
resultRow
);
...
@@ -78,7 +80,9 @@ public class ServiceHGYX014 extends ServiceEPBase {
...
@@ -78,7 +80,9 @@ public class ServiceHGYX014 extends ServiceEPBase {
}
else
{
}
else
{
this
.
modify
(
hgyx014
);
this
.
modify
(
hgyx014
);
}
}
list
.
add
(
hgyx014
);
}
}
inInfo
.
getBlock
(
"resultC"
).
setRows
(
list
);
inInfo
.
setStatus
(
EiConstant
.
STATUS_DEFAULT
);
inInfo
.
setStatus
(
EiConstant
.
STATUS_DEFAULT
);
inInfo
.
setMsg
(
"操作成功!本次对["
+
resultRows
.
size
()
+
"]条数据保存成功!"
);
inInfo
.
setMsg
(
"操作成功!本次对["
+
resultRows
.
size
()
+
"]条数据保存成功!"
);
}
catch
(
Exception
e
)
{
}
catch
(
Exception
e
)
{
...
...
src/main/java/com/baosight/hggp/hg/yx/sql/HGYX006.xml
View file @
8b205365
...
@@ -199,6 +199,9 @@
...
@@ -199,6 +199,9 @@
PRODUCT_INVENT
<!-- 产品库存 -->
PRODUCT_INVENT
<!-- 产品库存 -->
)
)
VALUES (#id#, #accountCode#, #depCode#, #createdBy#, #createdName#, #createdTime#, #updatedBy#, #updatedName#, #updatedTime#, #deleteFlag#, #productCode#, #productName#, #productType#, #productPecu#, #productGood#, #productPrice#, #disWay#, #productInvent#)
VALUES (#id#, #accountCode#, #depCode#, #createdBy#, #createdName#, #createdTime#, #updatedBy#, #updatedName#, #updatedTime#, #deleteFlag#, #productCode#, #productName#, #productType#, #productPecu#, #productGood#, #productPrice#, #disWay#, #productInvent#)
<selectKey
resultClass=
"long"
keyProperty=
"id"
>
SELECT MAX(ID) AS "id" FROM ${hggpSchema}.HGYX006
</selectKey>
</insert>
</insert>
<delete
id=
"delete"
>
<delete
id=
"delete"
>
...
...
src/main/java/com/baosight/hggp/hg/yx/sql/HGYX007.xml
View file @
8b205365
...
@@ -172,6 +172,9 @@
...
@@ -172,6 +172,9 @@
BUS_PART
<!-- 合作伙伴 -->
BUS_PART
<!-- 合作伙伴 -->
)
)
VALUES (#id#, #accountCode#, #depCode#, #createdBy#, #createdName#, #createdTime#, #updatedBy#, #updatedName#, #updatedTime#, #deleteFlag#, #channelCode#, #channelName#, #coverDist#, #tarMarket#, #busPart#)
VALUES (#id#, #accountCode#, #depCode#, #createdBy#, #createdName#, #createdTime#, #updatedBy#, #updatedName#, #updatedTime#, #deleteFlag#, #channelCode#, #channelName#, #coverDist#, #tarMarket#, #busPart#)
<selectKey
resultClass=
"long"
keyProperty=
"id"
>
SELECT MAX(ID) AS "id" FROM ${hggpSchema}.HGYX007
</selectKey>
</insert>
</insert>
<delete
id=
"delete"
>
<delete
id=
"delete"
>
...
...
src/main/java/com/baosight/hggp/hg/yx/sql/HGYX008.xml
View file @
8b205365
...
@@ -190,6 +190,9 @@
...
@@ -190,6 +190,9 @@
WORK_EXPE
<!-- 工作经历 -->
WORK_EXPE
<!-- 工作经历 -->
)
)
VALUES (#id#, #accountCode#, #depCode#, #createdBy#, #createdName#, #createdTime#, #updatedBy#, #updatedName#, #updatedTime#, #deleteFlag#, #name#, #position#, #degree#, #profes#, #skill#, #speciality#, #workExpe#)
VALUES (#id#, #accountCode#, #depCode#, #createdBy#, #createdName#, #createdTime#, #updatedBy#, #updatedName#, #updatedTime#, #deleteFlag#, #name#, #position#, #degree#, #profes#, #skill#, #speciality#, #workExpe#)
<selectKey
resultClass=
"long"
keyProperty=
"id"
>
SELECT MAX(ID) AS "id" FROM ${hggpSchema}.HGYX008
</selectKey>
</insert>
</insert>
<delete
id=
"delete"
>
<delete
id=
"delete"
>
...
...
src/main/java/com/baosight/hggp/hg/yx/sql/HGYX009.xml
View file @
8b205365
...
@@ -163,6 +163,9 @@
...
@@ -163,6 +163,9 @@
ACTUAL_EXPE
<!-- 实际支出 -->
ACTUAL_EXPE
<!-- 实际支出 -->
)
)
VALUES (#id#, #accountCode#, #depCode#, #createdBy#, #createdName#, #createdTime#, #updatedBy#, #updatedName#, #updatedTime#, #deleteFlag#, #budget#, #sourceFunds#, #distSitua#, #actualExpe#)
VALUES (#id#, #accountCode#, #depCode#, #createdBy#, #createdName#, #createdTime#, #updatedBy#, #updatedName#, #updatedTime#, #deleteFlag#, #budget#, #sourceFunds#, #distSitua#, #actualExpe#)
<selectKey
resultClass=
"long"
keyProperty=
"id"
>
SELECT MAX(ID) AS "id" FROM ${hggpSchema}.HGYX009
</selectKey>
</insert>
</insert>
<delete
id=
"delete"
>
<delete
id=
"delete"
>
...
...
src/main/java/com/baosight/hggp/hg/yx/sql/HGYX010.xml
View file @
8b205365
...
@@ -222,6 +222,9 @@
...
@@ -222,6 +222,9 @@
ACTUAL_TRAN
<!-- 实际转化率 -->
ACTUAL_TRAN
<!-- 实际转化率 -->
)
)
VALUES (#id#, #accountCode#, #depCode#, #createdBy#, #createdName#, #createdTime#, #updatedBy#, #updatedName#, #updatedTime#, #deleteFlag#, #sellDate#, #sourceFunds#, #district#, #content#, #promChannel#, #goalMarket#, #goalAmount#, #goalTran#, #budget#, #actualCode#, #actualTran#)
VALUES (#id#, #accountCode#, #depCode#, #createdBy#, #createdName#, #createdTime#, #updatedBy#, #updatedName#, #updatedTime#, #deleteFlag#, #sellDate#, #sourceFunds#, #district#, #content#, #promChannel#, #goalMarket#, #goalAmount#, #goalTran#, #budget#, #actualCode#, #actualTran#)
<selectKey
resultClass=
"long"
keyProperty=
"id"
>
SELECT MAX(ID) AS "id" FROM ${hggpSchema}.HGYX010
</selectKey>
</insert>
</insert>
<delete
id=
"delete"
>
<delete
id=
"delete"
>
...
...
src/main/java/com/baosight/hggp/hg/yx/sql/HGYX011.xml
View file @
8b205365
...
@@ -199,6 +199,9 @@
...
@@ -199,6 +199,9 @@
SURVEY_USER
<!-- 调查人员 -->
SURVEY_USER
<!-- 调查人员 -->
)
)
VALUES (#id#, #accountCode#, #depCode#, #createdBy#, #createdName#, #createdTime#, #updatedBy#, #updatedName#, #updatedTime#, #deleteFlag#, #surveyDate#, #district#, #policyEnv#, #economyEnv#, #sociCultureEnv#, #supplier#, #competeUser#, #surveyUser#)
VALUES (#id#, #accountCode#, #depCode#, #createdBy#, #createdName#, #createdTime#, #updatedBy#, #updatedName#, #updatedTime#, #deleteFlag#, #surveyDate#, #district#, #policyEnv#, #economyEnv#, #sociCultureEnv#, #supplier#, #competeUser#, #surveyUser#)
<selectKey
resultClass=
"long"
keyProperty=
"id"
>
SELECT MAX(ID) AS "id" FROM ${hggpSchema}.HGYX011
</selectKey>
</insert>
</insert>
<delete
id=
"delete"
>
<delete
id=
"delete"
>
...
...
src/main/java/com/baosight/hggp/hg/yx/sql/HGYX012.xml
View file @
8b205365
...
@@ -190,6 +190,9 @@
...
@@ -190,6 +190,9 @@
SURVEY_USER
<!-- 调查人员 -->
SURVEY_USER
<!-- 调查人员 -->
)
)
VALUES (#id#, #accountCode#, #depCode#, #createdBy#, #createdName#, #createdTime#, #updatedBy#, #updatedName#, #updatedTime#, #deleteFlag#, #surveyDate#, #district#, #client#, #buyMotive#, #buyAmount#, #buyProducts#, #surveyUser#)
VALUES (#id#, #accountCode#, #depCode#, #createdBy#, #createdName#, #createdTime#, #updatedBy#, #updatedName#, #updatedTime#, #deleteFlag#, #surveyDate#, #district#, #client#, #buyMotive#, #buyAmount#, #buyProducts#, #surveyUser#)
<selectKey
resultClass=
"long"
keyProperty=
"id"
>
SELECT MAX(ID) AS "id" FROM ${hggpSchema}.HGYX012
</selectKey>
</insert>
</insert>
<delete
id=
"delete"
>
<delete
id=
"delete"
>
...
...
src/main/java/com/baosight/hggp/hg/yx/sql/HGYX013.xml
View file @
8b205365
...
@@ -190,6 +190,9 @@
...
@@ -190,6 +190,9 @@
SURVEY_USER
<!-- 调查人员 -->
SURVEY_USER
<!-- 调查人员 -->
)
)
VALUES (#id#, #accountCode#, #depCode#, #createdBy#, #createdName#, #createdTime#, #updatedBy#, #updatedName#, #updatedTime#, #deleteFlag#, #surveyDate#, #district#, #productName#, #quantity#, #price#, #quality#, #surveyUser#)
VALUES (#id#, #accountCode#, #depCode#, #createdBy#, #createdName#, #createdTime#, #updatedBy#, #updatedName#, #updatedTime#, #deleteFlag#, #surveyDate#, #district#, #productName#, #quantity#, #price#, #quality#, #surveyUser#)
<selectKey
resultClass=
"long"
keyProperty=
"id"
>
SELECT MAX(ID) AS "id" FROM ${hggpSchema}.HGYX013
</selectKey>
</insert>
</insert>
<delete
id=
"delete"
>
<delete
id=
"delete"
>
...
...
src/main/java/com/baosight/hggp/hg/yx/sql/HGYX014.xml
View file @
8b205365
...
@@ -190,6 +190,9 @@
...
@@ -190,6 +190,9 @@
SURVEY_USER
<!-- 调查人员 -->
SURVEY_USER
<!-- 调查人员 -->
)
)
VALUES (#id#, #accountCode#, #depCode#, #createdBy#, #createdName#, #createdTime#, #updatedBy#, #updatedName#, #updatedTime#, #deleteFlag#, #surveyDate#, #district#, #productGoodBad#, #priceGoodBad#, #channelEffect#, #promoMethodGoodBad#, #surveyUser#)
VALUES (#id#, #accountCode#, #depCode#, #createdBy#, #createdName#, #createdTime#, #updatedBy#, #updatedName#, #updatedTime#, #deleteFlag#, #surveyDate#, #district#, #productGoodBad#, #priceGoodBad#, #channelEffect#, #promoMethodGoodBad#, #surveyUser#)
<selectKey
resultClass=
"long"
keyProperty=
"id"
>
SELECT MAX(ID) AS "id" FROM ${hggpSchema}.HGYX014
</selectKey>
</insert>
</insert>
<delete
id=
"delete"
>
<delete
id=
"delete"
>
...
...
src/main/java/com/baosight/hggp/hg/zl/service/ServiceHGZL001A.java
View file @
8b205365
...
@@ -2,6 +2,7 @@ package com.baosight.hggp.hg.zl.service;
...
@@ -2,6 +2,7 @@ package com.baosight.hggp.hg.zl.service;
import
com.baosight.hggp.aspect.annotation.OperationLogAnnotation
;
import
com.baosight.hggp.aspect.annotation.OperationLogAnnotation
;
import
com.baosight.hggp.core.constant.CommonConstant
;
import
com.baosight.hggp.core.constant.CommonConstant
;
import
com.baosight.hggp.core.constant.S3Constant
;
import
com.baosight.hggp.core.dao.DaoUtils
;
import
com.baosight.hggp.core.dao.DaoUtils
;
import
com.baosight.hggp.hg.zl.domain.HGZL001
;
import
com.baosight.hggp.hg.zl.domain.HGZL001
;
import
com.baosight.hggp.hg.zl.domain.HGZL001A
;
import
com.baosight.hggp.hg.zl.domain.HGZL001A
;
...
@@ -57,7 +58,7 @@ public class ServiceHGZL001A extends ServiceEPBase {
...
@@ -57,7 +58,7 @@ public class ServiceHGZL001A extends ServiceEPBase {
try
{
try
{
// 项目环境
// 项目环境
String
projectEnv
=
ProjectInfo
.
getProjectEnv
();
String
projectEnv
=
ProjectInfo
.
getProjectEnv
();
if
(
CommonConstant
.
projectEnv
.
RUN
.
equalsIgnoreCase
(
projectEnv
))
{
if
(
CommonConstant
.
FileLocation
.
S3
.
equalsIgnoreCase
(
S3Constant
.
FILE_LOCATION
))
{
inInfo
=
super
.
query
(
inInfo
,
"HGZL001A.queryRun"
,
new
HGZL001A
());
inInfo
=
super
.
query
(
inInfo
,
"HGZL001A.queryRun"
,
new
HGZL001A
());
}
else
{
}
else
{
inInfo
=
super
.
query
(
inInfo
,
"HGZL001A.queryDev"
,
new
HGZL001A
());
inInfo
=
super
.
query
(
inInfo
,
"HGZL001A.queryDev"
,
new
HGZL001A
());
...
...
src/main/webapp/HG/CW/HGCW012A.js
View file @
8b205365
...
@@ -156,6 +156,11 @@ $(function () {
...
@@ -156,6 +156,11 @@ $(function () {
"result"
:
{
"result"
:
{
columns
:
[
columns
:
[
{
{
field
:
"id"
,
title
:
"ID"
,
hidden
:
true
},
{
field
:
"companyName"
,
field
:
"companyName"
,
title
:
"公司名称"
,
title
:
"公司名称"
,
headerTemplate
:
"<span style='color: '>公司名称 </span>"
,
headerTemplate
:
"<span style='color: '>公司名称 </span>"
,
...
...
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