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
a80b4844
Commit
a80b4844
authored
Feb 27, 2024
by
yukang
Browse files
Options
Browse Files
Download
Plain Diff
Merge remote-tracking branch 'origin/dev' into dev
parents
0e6e1ba0
d88fba5d
Hide whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
189 additions
and
11 deletions
+189
-11
HPPZ002.java
src/main/java/com/baosight/hpjx/hp/pz/domain/HPPZ002.java
+52
-1
HPPZ003.java
src/main/java/com/baosight/hpjx/hp/pz/domain/HPPZ003.java
+68
-0
HPPZ002.xml
src/main/java/com/baosight/hpjx/hp/pz/sql/HPPZ002.xml
+23
-4
HPPZ003.xml
src/main/java/com/baosight/hpjx/hp/pz/sql/HPPZ003.xml
+29
-4
HPPZ002.jsp
src/main/webapp/HP/PZ/HPPZ002.jsp
+7
-0
HPPZ003.jsp
src/main/webapp/HP/PZ/HPPZ003.jsp
+8
-0
HPSC005C.jsp
src/main/webapp/HP/SC/HPSC005C.jsp
+2
-2
No files found.
src/main/java/com/baosight/hpjx/hp/pz/domain/HPPZ002.java
View file @
a80b4844
...
@@ -35,6 +35,9 @@ public class HPPZ002 extends DaoEPBase {
...
@@ -35,6 +35,9 @@ public class HPPZ002 extends DaoEPBase {
public
static
final
String
FIELD_UPDATED_BY
=
"updatedBy"
;
/* 更新人*/
public
static
final
String
FIELD_UPDATED_BY
=
"updatedBy"
;
/* 更新人*/
public
static
final
String
FIELD_UPDATED_NAME
=
"updatedName"
;
/* 更新人名称*/
public
static
final
String
FIELD_UPDATED_NAME
=
"updatedName"
;
/* 更新人名称*/
public
static
final
String
FIELD_UPDATED_TIME
=
"updatedTime"
;
/* 更新时间*/
public
static
final
String
FIELD_UPDATED_TIME
=
"updatedTime"
;
/* 更新时间*/
public
static
final
String
FIELD_COMPANY_NAME
=
"companyName"
;
/* 公司*/
public
static
final
String
FIELD_HEAD_NAME
=
"headName"
;
/* 负责人*/
public
static
final
String
FIELD_PHONE_NAME
=
"phoneName"
;
/* 负责人联系方式*/
public
static
final
String
COL_ID
=
"ID"
;
public
static
final
String
COL_ID
=
"ID"
;
public
static
final
String
COL_COMPANY_CODE
=
"COMPANY_CODE"
;
/* 企业编码 预留*/
public
static
final
String
COL_COMPANY_CODE
=
"COMPANY_CODE"
;
/* 企业编码 预留*/
...
@@ -50,6 +53,9 @@ public class HPPZ002 extends DaoEPBase {
...
@@ -50,6 +53,9 @@ public class HPPZ002 extends DaoEPBase {
public
static
final
String
COL_UPDATED_BY
=
"UPDATED_BY"
;
/* 更新人*/
public
static
final
String
COL_UPDATED_BY
=
"UPDATED_BY"
;
/* 更新人*/
public
static
final
String
COL_UPDATED_NAME
=
"UPDATED_NAME"
;
/* 更新人名称*/
public
static
final
String
COL_UPDATED_NAME
=
"UPDATED_NAME"
;
/* 更新人名称*/
public
static
final
String
COL_UPDATED_TIME
=
"UPDATED_TIME"
;
/* 更新时间*/
public
static
final
String
COL_UPDATED_TIME
=
"UPDATED_TIME"
;
/* 更新时间*/
public
static
final
String
COL_COMPANY_NAME
=
"COMPANY_NAME"
;
/* 公司*/
public
static
final
String
HEAD_NAME
=
"HEAD_NAME"
;
/* 负责人*/
public
static
final
String
PHONE_NAME
=
"PHONE_NAME"
;
/* 负责人联系方式*/
public
static
final
String
QUERY
=
"HPPZ002.query"
;
public
static
final
String
QUERY
=
"HPPZ002.query"
;
public
static
final
String
COUNT
=
"HPPZ002.count"
;
public
static
final
String
COUNT
=
"HPPZ002.count"
;
...
@@ -71,6 +77,9 @@ public class HPPZ002 extends DaoEPBase {
...
@@ -71,6 +77,9 @@ public class HPPZ002 extends DaoEPBase {
private
String
updatedBy
=
" "
;
/* 更新人*/
private
String
updatedBy
=
" "
;
/* 更新人*/
private
String
updatedName
=
" "
;
/* 更新人名称*/
private
String
updatedName
=
" "
;
/* 更新人名称*/
private
String
updatedTime
=
" "
;
/* 更新时间*/
private
String
updatedTime
=
" "
;
/* 更新时间*/
private
String
companyName
=
" "
;
/* 公司*/
private
String
headName
=
" "
;
/* 负责人*/
private
String
phoneName
=
" "
;
/* 负责人联系方式*/
/**
/**
* initialize the metadata.
* initialize the metadata.
...
@@ -135,6 +144,18 @@ public class HPPZ002 extends DaoEPBase {
...
@@ -135,6 +144,18 @@ public class HPPZ002 extends DaoEPBase {
eiColumn
.
setDescName
(
"更新时间"
);
eiColumn
.
setDescName
(
"更新时间"
);
eiMetadata
.
addMeta
(
eiColumn
);
eiMetadata
.
addMeta
(
eiColumn
);
eiColumn
=
new
EiColumn
(
FIELD_COMPANY_NAME
);
eiColumn
.
setDescName
(
"公司"
);
eiMetadata
.
addMeta
(
eiColumn
);
eiColumn
=
new
EiColumn
(
FIELD_HEAD_NAME
);
eiColumn
.
setDescName
(
"负责人"
);
eiMetadata
.
addMeta
(
eiColumn
);
eiColumn
=
new
EiColumn
(
FIELD_PHONE_NAME
);
eiColumn
.
setDescName
(
"负责人联系方式"
);
eiMetadata
.
addMeta
(
eiColumn
);
}
}
...
@@ -369,6 +390,31 @@ public class HPPZ002 extends DaoEPBase {
...
@@ -369,6 +390,31 @@ public class HPPZ002 extends DaoEPBase {
public
void
setUpdatedTime
(
String
updatedTime
)
{
public
void
setUpdatedTime
(
String
updatedTime
)
{
this
.
updatedTime
=
updatedTime
;
this
.
updatedTime
=
updatedTime
;
}
}
public
String
getCompanyName
()
{
return
companyName
;
}
public
void
setCompanyName
(
String
companyName
)
{
this
.
companyName
=
companyName
;
}
public
String
getHeadName
()
{
return
headName
;
}
public
void
setHeadName
(
String
headName
)
{
this
.
headName
=
headName
;
}
public
String
getPhoneName
()
{
return
phoneName
;
}
public
void
setPhoneName
(
String
phoneName
)
{
this
.
phoneName
=
phoneName
;
}
/**
/**
* get the value from Map.
* get the value from Map.
*
*
...
@@ -391,6 +437,9 @@ public class HPPZ002 extends DaoEPBase {
...
@@ -391,6 +437,9 @@ public class HPPZ002 extends DaoEPBase {
setUpdatedBy
(
StringUtils
.
defaultIfEmpty
(
StringUtils
.
toString
(
map
.
get
(
FIELD_UPDATED_BY
)),
updatedBy
));
setUpdatedBy
(
StringUtils
.
defaultIfEmpty
(
StringUtils
.
toString
(
map
.
get
(
FIELD_UPDATED_BY
)),
updatedBy
));
setUpdatedName
(
StringUtils
.
defaultIfEmpty
(
StringUtils
.
toString
(
map
.
get
(
FIELD_UPDATED_NAME
)),
updatedName
));
setUpdatedName
(
StringUtils
.
defaultIfEmpty
(
StringUtils
.
toString
(
map
.
get
(
FIELD_UPDATED_NAME
)),
updatedName
));
setUpdatedTime
(
StringUtils
.
defaultIfEmpty
(
StringUtils
.
toString
(
map
.
get
(
FIELD_UPDATED_TIME
)),
updatedTime
));
setUpdatedTime
(
StringUtils
.
defaultIfEmpty
(
StringUtils
.
toString
(
map
.
get
(
FIELD_UPDATED_TIME
)),
updatedTime
));
setCompanyName
(
StringUtils
.
defaultIfEmpty
(
StringUtils
.
toString
(
map
.
get
(
FIELD_COMPANY_NAME
)),
companyName
));
setHeadName
(
StringUtils
.
defaultIfEmpty
(
StringUtils
.
toString
(
map
.
get
(
FIELD_HEAD_NAME
)),
headName
));
setPhoneName
(
StringUtils
.
defaultIfEmpty
(
StringUtils
.
toString
(
map
.
get
(
FIELD_PHONE_NAME
)),
phoneName
));
}
}
/**
/**
...
@@ -414,7 +463,9 @@ public class HPPZ002 extends DaoEPBase {
...
@@ -414,7 +463,9 @@ public class HPPZ002 extends DaoEPBase {
map
.
put
(
FIELD_UPDATED_BY
,
StringUtils
.
toString
(
updatedBy
,
eiMetadata
.
getMeta
(
FIELD_UPDATED_BY
)));
map
.
put
(
FIELD_UPDATED_BY
,
StringUtils
.
toString
(
updatedBy
,
eiMetadata
.
getMeta
(
FIELD_UPDATED_BY
)));
map
.
put
(
FIELD_UPDATED_NAME
,
StringUtils
.
toString
(
updatedName
,
eiMetadata
.
getMeta
(
FIELD_UPDATED_NAME
)));
map
.
put
(
FIELD_UPDATED_NAME
,
StringUtils
.
toString
(
updatedName
,
eiMetadata
.
getMeta
(
FIELD_UPDATED_NAME
)));
map
.
put
(
FIELD_UPDATED_TIME
,
StringUtils
.
toString
(
updatedTime
,
eiMetadata
.
getMeta
(
FIELD_UPDATED_TIME
)));
map
.
put
(
FIELD_UPDATED_TIME
,
StringUtils
.
toString
(
updatedTime
,
eiMetadata
.
getMeta
(
FIELD_UPDATED_TIME
)));
map
.
put
(
FIELD_COMPANY_NAME
,
StringUtils
.
toString
(
companyName
,
eiMetadata
.
getMeta
(
FIELD_COMPANY_NAME
)));
map
.
put
(
FIELD_HEAD_NAME
,
StringUtils
.
toString
(
headName
,
eiMetadata
.
getMeta
(
FIELD_HEAD_NAME
)));
map
.
put
(
FIELD_PHONE_NAME
,
StringUtils
.
toString
(
phoneName
,
eiMetadata
.
getMeta
(
FIELD_PHONE_NAME
)));
return
map
;
return
map
;
}
}
}
}
src/main/java/com/baosight/hpjx/hp/pz/domain/HPPZ003.java
View file @
a80b4844
...
@@ -37,6 +37,10 @@ public class HPPZ003 extends DaoEPBase {
...
@@ -37,6 +37,10 @@ public class HPPZ003 extends DaoEPBase {
public
static
final
String
FIELD_UPDATED_BY
=
"updatedBy"
;
/* 更新人*/
public
static
final
String
FIELD_UPDATED_BY
=
"updatedBy"
;
/* 更新人*/
public
static
final
String
FIELD_UPDATED_NAME
=
"updatedName"
;
/* 更新人名称*/
public
static
final
String
FIELD_UPDATED_NAME
=
"updatedName"
;
/* 更新人名称*/
public
static
final
String
FIELD_UPDATED_TIME
=
"updatedTime"
;
/* 更新时间*/
public
static
final
String
FIELD_UPDATED_TIME
=
"updatedTime"
;
/* 更新时间*/
public
static
final
String
FIELD_COMPANY_NAME
=
"companyName"
;
/* 公司*/
public
static
final
String
FIELD_HEAD_NAME
=
"headName"
;
/* 负责人*/
public
static
final
String
FIELD_PHONE_NAME
=
"phoneName"
;
/* 负责人联系方式*/
public
static
final
String
FIELD_PUT_ADDRESS
=
"putAddress"
;
/* 收货地址*/
public
static
final
String
COL_ID
=
"ID"
;
public
static
final
String
COL_ID
=
"ID"
;
public
static
final
String
COL_COMPANY_CODE
=
"COMPANY_CODE"
;
/* 企业编码 预留*/
public
static
final
String
COL_COMPANY_CODE
=
"COMPANY_CODE"
;
/* 企业编码 预留*/
...
@@ -52,6 +56,9 @@ public class HPPZ003 extends DaoEPBase {
...
@@ -52,6 +56,9 @@ public class HPPZ003 extends DaoEPBase {
public
static
final
String
COL_UPDATED_BY
=
"UPDATED_BY"
;
/* 更新人*/
public
static
final
String
COL_UPDATED_BY
=
"UPDATED_BY"
;
/* 更新人*/
public
static
final
String
COL_UPDATED_NAME
=
"UPDATED_NAME"
;
/* 更新人名称*/
public
static
final
String
COL_UPDATED_NAME
=
"UPDATED_NAME"
;
/* 更新人名称*/
public
static
final
String
COL_UPDATED_TIME
=
"UPDATED_TIME"
;
/* 更新时间*/
public
static
final
String
COL_UPDATED_TIME
=
"UPDATED_TIME"
;
/* 更新时间*/
public
static
final
String
COL_COMPANY_NAME
=
"COMPANY_NAME"
;
/* 公司*/
public
static
final
String
HEAD_NAME
=
"HEAD_NAME"
;
/* 负责人*/
public
static
final
String
PHONE_NAME
=
"PHONE_NAME"
;
/* 负责人联系方式*/
public
static
final
String
QUERY
=
"HPPZ003.query"
;
public
static
final
String
QUERY
=
"HPPZ003.query"
;
public
static
final
String
COUNT
=
"HPPZ003.count"
;
public
static
final
String
COUNT
=
"HPPZ003.count"
;
...
@@ -73,6 +80,10 @@ public class HPPZ003 extends DaoEPBase {
...
@@ -73,6 +80,10 @@ public class HPPZ003 extends DaoEPBase {
private
String
updatedBy
=
" "
;
/* 更新人*/
private
String
updatedBy
=
" "
;
/* 更新人*/
private
String
updatedName
=
" "
;
/* 更新人名称*/
private
String
updatedName
=
" "
;
/* 更新人名称*/
private
String
updatedTime
=
" "
;
/* 更新时间*/
private
String
updatedTime
=
" "
;
/* 更新时间*/
private
String
companyName
=
" "
;
/* 公司*/
private
String
headName
=
" "
;
/* 负责人*/
private
String
phoneName
=
" "
;
/* 负责人联系方式*/
private
String
putAddress
=
" "
;
/* 收货地址*/
/**
/**
* initialize the metadata.
* initialize the metadata.
...
@@ -137,6 +148,22 @@ public class HPPZ003 extends DaoEPBase {
...
@@ -137,6 +148,22 @@ public class HPPZ003 extends DaoEPBase {
eiColumn
.
setDescName
(
"更新时间"
);
eiColumn
.
setDescName
(
"更新时间"
);
eiMetadata
.
addMeta
(
eiColumn
);
eiMetadata
.
addMeta
(
eiColumn
);
eiColumn
=
new
EiColumn
(
FIELD_COMPANY_NAME
);
eiColumn
.
setDescName
(
"公司"
);
eiMetadata
.
addMeta
(
eiColumn
);
eiColumn
=
new
EiColumn
(
FIELD_HEAD_NAME
);
eiColumn
.
setDescName
(
"负责人"
);
eiMetadata
.
addMeta
(
eiColumn
);
eiColumn
=
new
EiColumn
(
FIELD_PHONE_NAME
);
eiColumn
.
setDescName
(
"负责人联系方式"
);
eiMetadata
.
addMeta
(
eiColumn
);
eiColumn
=
new
EiColumn
(
FIELD_PUT_ADDRESS
);
eiColumn
.
setDescName
(
"收货地址"
);
eiMetadata
.
addMeta
(
eiColumn
);
}
}
...
@@ -371,6 +398,39 @@ public class HPPZ003 extends DaoEPBase {
...
@@ -371,6 +398,39 @@ public class HPPZ003 extends DaoEPBase {
public
void
setUpdatedTime
(
String
updatedTime
)
{
public
void
setUpdatedTime
(
String
updatedTime
)
{
this
.
updatedTime
=
updatedTime
;
this
.
updatedTime
=
updatedTime
;
}
}
public
String
getCompanyName
()
{
return
companyName
;
}
public
void
setCompanyName
(
String
companyName
)
{
this
.
companyName
=
companyName
;
}
public
String
getHeadName
()
{
return
headName
;
}
public
void
setHeadName
(
String
headName
)
{
this
.
headName
=
headName
;
}
public
String
getPhoneName
()
{
return
phoneName
;
}
public
void
setPhoneName
(
String
phoneName
)
{
this
.
phoneName
=
phoneName
;
}
public
String
getPutAddress
()
{
return
putAddress
;
}
public
void
setPutAddress
(
String
putAddress
)
{
this
.
putAddress
=
putAddress
;
}
/**
/**
* get the value from Map.
* get the value from Map.
*
*
...
@@ -393,6 +453,10 @@ public class HPPZ003 extends DaoEPBase {
...
@@ -393,6 +453,10 @@ public class HPPZ003 extends DaoEPBase {
setUpdatedBy
(
StringUtils
.
defaultIfEmpty
(
StringUtils
.
toString
(
map
.
get
(
FIELD_UPDATED_BY
)),
updatedBy
));
setUpdatedBy
(
StringUtils
.
defaultIfEmpty
(
StringUtils
.
toString
(
map
.
get
(
FIELD_UPDATED_BY
)),
updatedBy
));
setUpdatedName
(
StringUtils
.
defaultIfEmpty
(
StringUtils
.
toString
(
map
.
get
(
FIELD_UPDATED_NAME
)),
updatedName
));
setUpdatedName
(
StringUtils
.
defaultIfEmpty
(
StringUtils
.
toString
(
map
.
get
(
FIELD_UPDATED_NAME
)),
updatedName
));
setUpdatedTime
(
StringUtils
.
defaultIfEmpty
(
StringUtils
.
toString
(
map
.
get
(
FIELD_UPDATED_TIME
)),
updatedTime
));
setUpdatedTime
(
StringUtils
.
defaultIfEmpty
(
StringUtils
.
toString
(
map
.
get
(
FIELD_UPDATED_TIME
)),
updatedTime
));
setCompanyName
(
StringUtils
.
defaultIfEmpty
(
StringUtils
.
toString
(
map
.
get
(
FIELD_COMPANY_NAME
)),
companyName
));
setHeadName
(
StringUtils
.
defaultIfEmpty
(
StringUtils
.
toString
(
map
.
get
(
FIELD_HEAD_NAME
)),
headName
));
setPhoneName
(
StringUtils
.
defaultIfEmpty
(
StringUtils
.
toString
(
map
.
get
(
FIELD_PHONE_NAME
)),
phoneName
));
setPutAddress
(
StringUtils
.
defaultIfEmpty
(
StringUtils
.
toString
(
map
.
get
(
FIELD_PUT_ADDRESS
)),
putAddress
));
}
}
/**
/**
...
@@ -416,6 +480,10 @@ public class HPPZ003 extends DaoEPBase {
...
@@ -416,6 +480,10 @@ public class HPPZ003 extends DaoEPBase {
map
.
put
(
FIELD_UPDATED_BY
,
StringUtils
.
toString
(
updatedBy
,
eiMetadata
.
getMeta
(
FIELD_UPDATED_BY
)));
map
.
put
(
FIELD_UPDATED_BY
,
StringUtils
.
toString
(
updatedBy
,
eiMetadata
.
getMeta
(
FIELD_UPDATED_BY
)));
map
.
put
(
FIELD_UPDATED_NAME
,
StringUtils
.
toString
(
updatedName
,
eiMetadata
.
getMeta
(
FIELD_UPDATED_NAME
)));
map
.
put
(
FIELD_UPDATED_NAME
,
StringUtils
.
toString
(
updatedName
,
eiMetadata
.
getMeta
(
FIELD_UPDATED_NAME
)));
map
.
put
(
FIELD_UPDATED_TIME
,
StringUtils
.
toString
(
updatedTime
,
eiMetadata
.
getMeta
(
FIELD_UPDATED_TIME
)));
map
.
put
(
FIELD_UPDATED_TIME
,
StringUtils
.
toString
(
updatedTime
,
eiMetadata
.
getMeta
(
FIELD_UPDATED_TIME
)));
map
.
put
(
FIELD_COMPANY_NAME
,
StringUtils
.
toString
(
companyName
,
eiMetadata
.
getMeta
(
FIELD_COMPANY_NAME
)));
map
.
put
(
FIELD_HEAD_NAME
,
StringUtils
.
toString
(
headName
,
eiMetadata
.
getMeta
(
FIELD_HEAD_NAME
)));
map
.
put
(
FIELD_PHONE_NAME
,
StringUtils
.
toString
(
phoneName
,
eiMetadata
.
getMeta
(
FIELD_PHONE_NAME
)));
map
.
put
(
FIELD_PUT_ADDRESS
,
StringUtils
.
toString
(
putAddress
,
eiMetadata
.
getMeta
(
FIELD_PUT_ADDRESS
)));
return
map
;
return
map
;
}
}
...
...
src/main/java/com/baosight/hpjx/hp/pz/sql/HPPZ002.xml
View file @
a80b4844
...
@@ -16,7 +16,10 @@
...
@@ -16,7 +16,10 @@
CREATED_TIME as "createdTime",
<!-- 创建时间 -->
CREATED_TIME as "createdTime",
<!-- 创建时间 -->
UPDATED_BY as "updatedBy",
<!-- 更新人 -->
UPDATED_BY as "updatedBy",
<!-- 更新人 -->
UPDATED_NAME as "updatedName",
<!-- 更新人名称 -->
UPDATED_NAME as "updatedName",
<!-- 更新人名称 -->
UPDATED_TIME as "updatedTime"
<!-- 更新时间 -->
UPDATED_TIME as "updatedTime",
<!-- 更新时间 -->
COMPANY_NAME as "companyName",
<!--公司 -->
HEAD_NAME as "headName",
<!--负责人-->
PHONE_NAME as "phoneName"
<!--负责人联系方式-->
</sql>
</sql>
<sql
id=
"condition"
>
<sql
id=
"condition"
>
...
@@ -45,6 +48,15 @@
...
@@ -45,6 +48,15 @@
<isNotEmpty
prepend=
" AND "
property=
"status"
>
<isNotEmpty
prepend=
" AND "
property=
"status"
>
STATUS = #status#
STATUS = #status#
</isNotEmpty>
</isNotEmpty>
<isNotEmpty
prepend=
" AND "
property=
"companyName"
>
COMPANY_NAME LIKE CONCAT('%', #companyName#, '%')
</isNotEmpty>
<isNotEmpty
prepend=
" AND "
property=
"headName"
>
HEAD_NAME LIKE CONCAT('%', #headName#, '%')
</isNotEmpty>
<isNotEmpty
prepend=
" AND "
property=
"phoneName"
>
PHONE_NAME = #phoneName#
</isNotEmpty>
</sql>
</sql>
<sql
id=
"order"
>
<sql
id=
"order"
>
...
@@ -83,10 +95,14 @@
...
@@ -83,10 +95,14 @@
STATUS,
<!-- 状态 0禁用 1启用 -->
STATUS,
<!-- 状态 0禁用 1启用 -->
CREATED_BY,
<!-- 创建人 -->
CREATED_BY,
<!-- 创建人 -->
CREATED_NAME,
<!-- 创建人名称 -->
CREATED_NAME,
<!-- 创建人名称 -->
CREATED_TIME
<!-- 创建时间 -->
CREATED_TIME,
<!-- 创建时间 -->
COMPANY_NAME,
HEAD_NAME,
PHONE_NAME
) VALUES (
) VALUES (
#companyCode#, #depCode#, #custType#, #custCode#, #custName#, #address#,
#companyCode#, #depCode#, #custType#, #custCode#, #custName#, #address#,
#status#, #createdBy#, #createdName#, #createdTime#
#status#, #createdBy#, #createdName#, #createdTime# , #companyName# , #headName#
, #phoneName#
)
)
</insert>
</insert>
...
@@ -104,7 +120,10 @@
...
@@ -104,7 +120,10 @@
STATUS = #status#,
<!-- 状态 0禁用 1启用 -->
STATUS = #status#,
<!-- 状态 0禁用 1启用 -->
UPDATED_BY = #updatedBy#,
<!-- 更新人 -->
UPDATED_BY = #updatedBy#,
<!-- 更新人 -->
UPDATED_NAME = #updatedName#,
<!-- 更新人名称 -->
UPDATED_NAME = #updatedName#,
<!-- 更新人名称 -->
UPDATED_TIME = #updatedTime#
<!-- 更新时间 -->
UPDATED_TIME = #updatedTime#,
<!-- 更新时间 -->
COMPANY_NAME = #companyName#,
HEAD_NAME = #headName#,
PHONE_NAME = #phoneName#
WHERE ID = #id#
WHERE ID = #id#
</update>
</update>
...
...
src/main/java/com/baosight/hpjx/hp/pz/sql/HPPZ003.xml
View file @
a80b4844
...
@@ -16,7 +16,11 @@
...
@@ -16,7 +16,11 @@
CREATED_TIME as "createdTime",
<!-- 创建时间 -->
CREATED_TIME as "createdTime",
<!-- 创建时间 -->
UPDATED_BY as "updatedBy",
<!-- 更新人 -->
UPDATED_BY as "updatedBy",
<!-- 更新人 -->
UPDATED_NAME as "updatedName",
<!-- 更新人名称 -->
UPDATED_NAME as "updatedName",
<!-- 更新人名称 -->
UPDATED_TIME as "updatedTime"
<!-- 更新时间 -->
UPDATED_TIME as "updatedTime",
<!-- 更新时间 -->
COMPANY_NAME as "companyName",
<!--公司 -->
HEAD_NAME as "headName",
<!--负责人-->
PHONE_NAME as "phoneName",
<!--负责人联系方式-->
PUT_ADDRESS as "putAddress"
<!--收货地址-->
</sql>
</sql>
<sql
id=
"condition"
>
<sql
id=
"condition"
>
...
@@ -45,6 +49,18 @@
...
@@ -45,6 +49,18 @@
<isNotEmpty
prepend=
" AND "
property=
"status"
>
<isNotEmpty
prepend=
" AND "
property=
"status"
>
STATUS = #status#
STATUS = #status#
</isNotEmpty>
</isNotEmpty>
<isNotEmpty
prepend=
" AND "
property=
"companyName"
>
COMPANY_NAME LIKE CONCAT('%', #companyName#, '%')
</isNotEmpty>
<isNotEmpty
prepend=
" AND "
property=
"headName"
>
HEAD_NAME LIKE CONCAT('%', #headName#, '%')
</isNotEmpty>
<isNotEmpty
prepend=
" AND "
property=
"phoneName"
>
PHONE_NAME = #phoneName#
</isNotEmpty>
<isNotEmpty
prepend=
" AND "
property=
"putAddress"
>
PUT_ADDRESS = #putAddress#
</isNotEmpty>
</sql>
</sql>
<sql
id=
"order"
>
<sql
id=
"order"
>
...
@@ -82,10 +98,15 @@
...
@@ -82,10 +98,15 @@
STATUS,
<!-- 状态 0未启用 1启用 -->
STATUS,
<!-- 状态 0未启用 1启用 -->
CREATED_BY,
<!-- 创建人 -->
CREATED_BY,
<!-- 创建人 -->
CREATED_NAME,
<!-- 创建人名称 -->
CREATED_NAME,
<!-- 创建人名称 -->
CREATED_TIME
<!-- 创建时间 -->
CREATED_TIME,
<!-- 创建时间 -->
COMPANY_NAME,
HEAD_NAME,
PHONE_NAME,
PUT_ADDRESS
) VALUES (
) VALUES (
#companyCode#, #depCode#, #custType#, #custCode#, #custName#, #address#,
#companyCode#, #depCode#, #custType#, #custCode#, #custName#, #address#,
#status#, #createdBy#, #createdName#, #createdTime#
#status#, #createdBy#, #createdName#, #createdTime# , #companyName# , #headName#
, #phoneName# , #putAddress#
)
)
</insert>
</insert>
...
@@ -103,7 +124,11 @@
...
@@ -103,7 +124,11 @@
STATUS = #status#,
<!-- 状态 0未启用 1启用 -->
STATUS = #status#,
<!-- 状态 0未启用 1启用 -->
UPDATED_BY = #updatedBy#,
<!-- 更新人 -->
UPDATED_BY = #updatedBy#,
<!-- 更新人 -->
UPDATED_NAME = #updatedName#,
<!-- 更新人名称 -->
UPDATED_NAME = #updatedName#,
<!-- 更新人名称 -->
UPDATED_TIME = #updatedTime#
<!-- 更新时间 -->
UPDATED_TIME = #updatedTime#,
<!-- 更新时间 -->
COMPANY_NAME = #companyName#,
HEAD_NAME = #headName#,
PHONE_NAME = #phoneName#,
PUT_ADDRESS = #putAddress#
WHERE ID = #id#
WHERE ID = #id#
</update>
</update>
...
...
src/main/webapp/HP/PZ/HPPZ002.jsp
View file @
a80b4844
...
@@ -13,6 +13,10 @@
...
@@ -13,6 +13,10 @@
<EF:EFCodeOption
codeName=
"hpjx.hppz.companyType"
/>
<EF:EFCodeOption
codeName=
"hpjx.hppz.companyType"
/>
</EF:EFSelect>
</EF:EFSelect>
<EF:EFInput
ename=
"inqu_status-0-custName"
cname=
"供应商名称"
colWidth=
"3"
readonly=
"false"
/>
<EF:EFInput
ename=
"inqu_status-0-custName"
cname=
"供应商名称"
colWidth=
"3"
readonly=
"false"
/>
<EF:EFInput
ename=
"inqu_status-0-companyName"
cname=
"公司"
colWidth=
"3"
readonly=
"false"
/>
<EF:EFInput
ename=
"inqu_status-0-headName"
cname=
"负责人"
colWidth=
"3"
readonly=
"false"
/>
</div>
<div
class=
"row"
>
<EF:EFSelect
ename=
"inqu_status-0-status"
cname=
"状态"
colWidth=
"3"
>
<EF:EFSelect
ename=
"inqu_status-0-status"
cname=
"状态"
colWidth=
"3"
>
<EF:EFOption
label=
"全部"
value=
""
/>
<EF:EFOption
label=
"全部"
value=
""
/>
<EF:EFCodeOption
codeName=
"hpjx.hpjx.status"
/>
<EF:EFCodeOption
codeName=
"hpjx.hpjx.status"
/>
...
@@ -28,6 +32,9 @@
...
@@ -28,6 +32,9 @@
<EF:EFCodeOption
codeName=
"hpjx.hppz.companyType"
/>
<EF:EFCodeOption
codeName=
"hpjx.hppz.companyType"
/>
</EF:EFComboColumn>
</EF:EFComboColumn>
<EF:EFColumn
ename=
"custName"
cname=
"供应商名称"
width=
"100"
required=
"true"
/>
<EF:EFColumn
ename=
"custName"
cname=
"供应商名称"
width=
"100"
required=
"true"
/>
<EF:EFColumn
ename=
"companyName"
cname=
"公司"
width=
"100"
required=
"true"
/>
<EF:EFColumn
ename=
"headName"
cname=
"负责人"
width=
"100"
required=
"true"
/>
<EF:EFColumn
ename=
"phoneName"
cname=
"负责人联系方式"
width=
"100"
required=
"true"
/>
<EF:EFColumn
ename=
"address"
cname=
"地址"
width=
"120"
required=
"true"
/>
<EF:EFColumn
ename=
"address"
cname=
"地址"
width=
"120"
required=
"true"
/>
<EF:EFComboColumn
ename=
"status"
cname=
"状态"
align=
"center"
width=
"100"
required=
"true"
>
<EF:EFComboColumn
ename=
"status"
cname=
"状态"
align=
"center"
width=
"100"
required=
"true"
>
<EF:EFCodeOption
codeName=
"hpjx.hpjx.status"
/>
<EF:EFCodeOption
codeName=
"hpjx.hpjx.status"
/>
...
...
src/main/webapp/HP/PZ/HPPZ003.jsp
View file @
a80b4844
...
@@ -12,11 +12,15 @@
...
@@ -12,11 +12,15 @@
<EF:EFOption
label=
"全部"
value=
""
/>
<EF:EFOption
label=
"全部"
value=
""
/>
<EF:EFCodeOption
codeName=
"hpjx.hppz.companyType"
/>
<EF:EFCodeOption
codeName=
"hpjx.hppz.companyType"
/>
</EF:EFSelect>
</EF:EFSelect>
<EF:EFInput
ename=
"inqu_status-0-companyName"
cname=
"公司"
colWidth=
"3"
readonly=
"false"
/>
<EF:EFInput
ename=
"inqu_status-0-headName"
cname=
"负责人"
colWidth=
"3"
readonly=
"false"
/>
<EF:EFSelect
ename=
"inqu_status-0-status"
cname=
"状态"
colWidth=
"3"
>
<EF:EFSelect
ename=
"inqu_status-0-status"
cname=
"状态"
colWidth=
"3"
>
<EF:EFOption
label=
"全部"
value=
""
/>
<EF:EFOption
label=
"全部"
value=
""
/>
<EF:EFCodeOption
codeName=
"hpjx.hpjx.status"
/>
<EF:EFCodeOption
codeName=
"hpjx.hpjx.status"
/>
</EF:EFSelect>
</EF:EFSelect>
</div>
</div>
</EF:EFRegion>
</EF:EFRegion>
<EF:EFRegion
id=
"result"
title=
"记录集"
>
<EF:EFRegion
id=
"result"
title=
"记录集"
>
...
@@ -27,7 +31,11 @@
...
@@ -27,7 +31,11 @@
<EF:EFCodeOption
codeName=
"hpjx.hppz.companyType"
/>
<EF:EFCodeOption
codeName=
"hpjx.hppz.companyType"
/>
</EF:EFComboColumn>
</EF:EFComboColumn>
<EF:EFColumn
ename=
"custName"
cname=
"客户名称"
width=
"120"
align=
"center"
required=
"true"
/>
<EF:EFColumn
ename=
"custName"
cname=
"客户名称"
width=
"120"
align=
"center"
required=
"true"
/>
<EF:EFColumn
ename=
"companyName"
cname=
"公司"
width=
"100"
required=
"true"
/>
<EF:EFColumn
ename=
"headName"
cname=
"负责人"
width=
"100"
required=
"true"
/>
<EF:EFColumn
ename=
"phoneName"
cname=
"负责人联系方式"
width=
"100"
required=
"true"
/>
<EF:EFColumn
ename=
"address"
cname=
"地址"
width=
"150"
align=
"center"
required=
"true"
/>
<EF:EFColumn
ename=
"address"
cname=
"地址"
width=
"150"
align=
"center"
required=
"true"
/>
<EF:EFColumn
ename=
"phoneName"
cname=
"负责人联系方式"
width=
"100"
required=
"true"
/>
<EF:EFComboColumn
ename=
"status"
cname=
"状态"
width=
"100"
align=
"center"
required=
"true"
>
<EF:EFComboColumn
ename=
"status"
cname=
"状态"
width=
"100"
align=
"center"
required=
"true"
>
<EF:EFCodeOption
codeName=
"hpjx.hpjx.status"
/>
<EF:EFCodeOption
codeName=
"hpjx.hpjx.status"
/>
</EF:EFComboColumn>
</EF:EFComboColumn>
...
...
src/main/webapp/HP/SC/HPSC005C.jsp
View file @
a80b4844
...
@@ -51,8 +51,8 @@
...
@@ -51,8 +51,8 @@
<EF:EFInput
ename=
"detail-0-actualCompletionTotalWt"
cname=
"完成重量"
colWidth=
"4"
readonly=
"true"
/>
<EF:EFInput
ename=
"detail-0-actualCompletionTotalWt"
cname=
"完成重量"
colWidth=
"4"
readonly=
"true"
/>
</div>
</div>
<div
class=
"row"
>
<div
class=
"row"
>
<EF:EFInput
ename=
"detail-0-planCompletionDate"
cname=
"计划完成日期"
colWidth=
"4"
readonly=
"true"
/>
<EF:EFInput
ename=
"detail-0-planCompletionDate"
cname=
"计划完成日期"
editType=
"date"
dateFormat=
"yyyy-MM-dd"
parseFormats=
"['yyyyMMdd']"
colWidth=
"4"
readonly=
"true"
/>
<EF:EFInput
ename=
"detail-0-actualCompletionDate"
cname=
"实际完成时间"
colWidth=
"4"
readonly=
"true"
/>
<EF:EFInput
ename=
"detail-0-actualCompletionDate"
cname=
"实际完成时间"
editType=
"date"
dateFormat=
"yyyy-MM-dd"
parseFormats=
"['yyyyMMdd']"
colWidth=
"4"
readonly=
"true"
/>
</div>
</div>
</EF:EFRegion>
</EF:EFRegion>
</EF:EFPage>
</EF:EFPage>
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