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
e3269a0b
Commit
e3269a0b
authored
Oct 09, 2024
by
liuyang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
2024-10-09 营销管理优化
parent
d71ae718
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
8 additions
and
9 deletions
+8
-9
HPWD009.xml
src/main/java/com/baosight/hpjx/hp/wd/sql/HPWD009.xml
+3
-4
HPYX006.java
src/main/java/com/baosight/hpjx/hp/yx/domain/HPYX006.java
+4
-4
HPYX006.jsp
src/main/webapp/HP/YX/HPYX006.jsp
+1
-1
No files found.
src/main/java/com/baosight/hpjx/hp/wd/sql/HPWD009.xml
View file @
e3269a0b
...
...
@@ -59,7 +59,7 @@
$orderBy$
</isNotEmpty>
<isEmpty
property=
"orderBy"
>
T.ID
asc
T.ID
DESC
</isEmpty>
</dynamic>
</sql>
...
...
@@ -79,7 +79,7 @@
FROM ${hpjxSchema}.T_HPWD009 T
INNER JOIN ${platSchema}.XS_USER B ON T.USER_ID = B.LOGIN_NAME
LEFT JOIN ${platSchema}.TXSOG02 C ON B.USER_ID = C.USER_ID
LEFT JOIN ${platSchema}.TXSOG01 D ON
C.ORG_ID = D.ORG_ID
LEFT JOIN ${platSchema}.TXSOG01 D ON
D.ORG_ID = T.FACTORY_CODE
WHERE 1=1
<include
refid=
"condition"
/>
<include
refid=
"orderBy"
/>
...
...
@@ -88,8 +88,7 @@
<select
id=
"count"
resultClass=
"int"
>
SELECT COUNT(*) FROM ${hpjxSchema}.T_HPWD009 T
INNER JOIN ${platSchema}.XS_USER B ON T.USER_ID = B.LOGIN_NAME
LEFT JOIN ${platSchema}.TXSOG02 C ON B.USER_ID = C.USER_ID
LEFT JOIN ${platSchema}.TXSOG01 D ON C.ORG_ID = D.ORG_ID
LEFT JOIN ${platSchema}.TXSOG01 D ON D.ORG_ID = T.FACTORY_CODE
WHERE 1=1
<include
refid=
"condition"
/>
</select>
...
...
src/main/java/com/baosight/hpjx/hp/yx/domain/HPYX006.java
View file @
e3269a0b
...
...
@@ -79,7 +79,7 @@ public class HPYX006 extends DaoEPBase {
private
Integer
deleteFlag
=
0
;
/* 是否删除0.否1.是*/
private
String
productCode
=
" "
;
/* 产品编码*/
private
String
productName
=
" "
;
/* 产品名称*/
private
Boolean
productType
;
/* 产品类型*/
private
Integer
productType
;
/* 产品类型*/
private
String
productPecu
=
" "
;
/* 产品特性*/
private
String
productGood
=
" "
;
/* 产品卖点*/
private
BigDecimal
productPrice
=
new
BigDecimal
(
0.00
);
/* 产品定价*/
...
...
@@ -377,7 +377,7 @@ public class HPYX006 extends DaoEPBase {
* get the productType - 产品类型.
* @return the productType
*/
public
Boolean
getProductType
()
{
public
Integer
getProductType
()
{
return
this
.
productType
;
}
...
...
@@ -386,7 +386,7 @@ public class HPYX006 extends DaoEPBase {
*
* @param productType - 产品类型
*/
public
void
setProductType
(
Boolean
productType
)
{
public
void
setProductType
(
Integer
productType
)
{
this
.
productType
=
productType
;
}
/**
...
...
@@ -489,7 +489,7 @@ public class HPYX006 extends DaoEPBase {
setDeleteFlag
(
NumberUtils
.
toInteger
(
StringUtils
.
toString
(
map
.
get
(
FIELD_DELETE_FLAG
)),
deleteFlag
));
setProductCode
(
StringUtils
.
defaultIfEmpty
(
StringUtils
.
toString
(
map
.
get
(
FIELD_PRODUCT_CODE
)),
productCode
));
setProductName
(
StringUtils
.
defaultIfEmpty
(
StringUtils
.
toString
(
map
.
get
(
FIELD_PRODUCT_NAME
)),
productName
));
setProductType
(
NumberUtils
.
to
Boolean
(
StringUtils
.
toString
(
map
.
get
(
FIELD_PRODUCT_TYPE
)),
productType
));
setProductType
(
NumberUtils
.
to
Integer
(
StringUtils
.
toString
(
map
.
get
(
FIELD_PRODUCT_TYPE
)),
productType
));
setProductPecu
(
StringUtils
.
defaultIfEmpty
(
StringUtils
.
toString
(
map
.
get
(
FIELD_PRODUCT_PECU
)),
productPecu
));
setProductGood
(
StringUtils
.
defaultIfEmpty
(
StringUtils
.
toString
(
map
.
get
(
FIELD_PRODUCT_GOOD
)),
productGood
));
setProductPrice
(
NumberUtils
.
toBigDecimal
(
StringUtils
.
toString
(
map
.
get
(
FIELD_PRODUCT_PRICE
)),
productPrice
));
...
...
src/main/webapp/HP/YX/HPYX006.jsp
View file @
e3269a0b
...
...
@@ -96,7 +96,7 @@
enable="false"/>
</EF:EFGrid>
</div>
<div title="
营销调查
">
<div title="
资金资源
">
<EF:EFGrid blockId="resultC" autoDraw="override" autoBind="false" needAuth="false" serviceName="HPYX009">
<EF:EFColumn ename="id" primaryKey="true" cname="内码" hidden="true"/>
<EF:EFColumn ename="companyCode" cname="企业编码" hidden="true"/>
...
...
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