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
b7b0df2a
Commit
b7b0df2a
authored
Mar 29, 2024
by
liuyang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
2024-03-29 拆单派工添加派工时间
parent
ebbb44b0
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
26 additions
and
3 deletions
+26
-3
HPSC005A.java
src/main/java/com/baosight/hpjx/hp/sc/domain/HPSC005A.java
+18
-0
HPSC005A.xml
src/main/java/com/baosight/hpjx/hp/sc/sql/HPSC005A.xml
+8
-3
No files found.
src/main/java/com/baosight/hpjx/hp/sc/domain/HPSC005A.java
View file @
b7b0df2a
...
@@ -40,6 +40,7 @@ public class HPSC005A extends DaoEPBase {
...
@@ -40,6 +40,7 @@ public class HPSC005A 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_WORK_DATE
=
"workDate"
;
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"
;
/* 企业编码 预留*/
...
@@ -59,6 +60,7 @@ public class HPSC005A extends DaoEPBase {
...
@@ -59,6 +60,7 @@ public class HPSC005A 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_WORK_DATE
=
"workDate"
;
public
static
final
String
QUERY
=
"HPSC005A.query"
;
public
static
final
String
QUERY
=
"HPSC005A.query"
;
public
static
final
String
COUNT
=
"HPSC005A.count"
;
public
static
final
String
COUNT
=
"HPSC005A.count"
;
...
@@ -84,6 +86,7 @@ public class HPSC005A extends DaoEPBase {
...
@@ -84,6 +86,7 @@ public class HPSC005A extends DaoEPBase {
private
String
updatedBy
=
" "
;
/* 更新人*/
private
String
updatedBy
=
" "
;
/* 更新人*/
private
String
updatedName
=
" "
;
/* 修改人名称*/
private
String
updatedName
=
" "
;
/* 修改人名称*/
private
String
updatedTime
=
" "
;
/* 更新时间*/
private
String
updatedTime
=
" "
;
/* 更新时间*/
private
String
workDate
=
" "
;
/* 更新时间*/
/**
/**
* initialize the metadata.
* initialize the metadata.
...
@@ -173,6 +176,10 @@ public class HPSC005A extends DaoEPBase {
...
@@ -173,6 +176,10 @@ public class HPSC005A extends DaoEPBase {
eiColumn
.
setDescName
(
"更新时间"
);
eiColumn
.
setDescName
(
"更新时间"
);
eiMetadata
.
addMeta
(
eiColumn
);
eiMetadata
.
addMeta
(
eiColumn
);
eiColumn
=
new
EiColumn
(
FIELD_WORK_DATE
);
eiColumn
.
setDescName
(
"派工时间"
);
eiMetadata
.
addMeta
(
eiColumn
);
}
}
...
@@ -471,6 +478,15 @@ public class HPSC005A extends DaoEPBase {
...
@@ -471,6 +478,15 @@ public class HPSC005A extends DaoEPBase {
public
void
setUpdatedTime
(
String
updatedTime
)
{
public
void
setUpdatedTime
(
String
updatedTime
)
{
this
.
updatedTime
=
updatedTime
;
this
.
updatedTime
=
updatedTime
;
}
}
public
String
getWorkDate
()
{
return
workDate
;
}
public
void
setWorkDate
(
String
workDate
)
{
this
.
workDate
=
workDate
;
}
/**
/**
* get the value from Map.
* get the value from Map.
*
*
...
@@ -497,6 +513,7 @@ public class HPSC005A extends DaoEPBase {
...
@@ -497,6 +513,7 @@ public class HPSC005A 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
));
setWorkDate
(
StringUtils
.
defaultIfEmpty
(
StringUtils
.
toString
(
map
.
get
(
FIELD_WORK_DATE
)),
workDate
));
}
}
/**
/**
...
@@ -524,6 +541,7 @@ public class HPSC005A extends DaoEPBase {
...
@@ -524,6 +541,7 @@ public class HPSC005A 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_WORK_DATE
,
StringUtils
.
toString
(
workDate
,
eiMetadata
.
getMeta
(
FIELD_WORK_DATE
)));
return
map
;
return
map
;
}
}
...
...
src/main/java/com/baosight/hpjx/hp/sc/sql/HPSC005A.xml
View file @
b7b0df2a
...
@@ -20,7 +20,8 @@
...
@@ -20,7 +20,8 @@
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",
<!-- 更新时间 -->
WORK_DATE as "workDate"
</sql>
</sql>
<sql
id=
"authCondition"
>
<sql
id=
"authCondition"
>
...
@@ -82,6 +83,9 @@
...
@@ -82,6 +83,9 @@
<isNotEmpty
prepend=
" AND "
property=
"updatedTime"
>
<isNotEmpty
prepend=
" AND "
property=
"updatedTime"
>
UPDATED_TIME = #updatedTime#
UPDATED_TIME = #updatedTime#
</isNotEmpty>
</isNotEmpty>
<isNotEmpty
prepend=
" AND "
property=
"workDate"
>
WORK_DATE = #workDate#
</isNotEmpty>
</sql>
</sql>
<sql
id=
"customCondition"
>
<sql
id=
"customCondition"
>
...
@@ -139,11 +143,12 @@
...
@@ -139,11 +143,12 @@
FACTORY_NAME,
<!-- 工厂 -->
FACTORY_NAME,
<!-- 工厂 -->
CREATED_BY,
<!-- 创建人 -->
CREATED_BY,
<!-- 创建人 -->
CREATED_NAME,
<!-- 创建人名称 -->
CREATED_NAME,
<!-- 创建人名称 -->
CREATED_TIME
<!-- 创建时间 -->
CREATED_TIME,
<!-- 创建时间 -->
WORK_DATE
) VALUES (
) VALUES (
#companyCode#, #depCode#, #prodTaskNo#, #prodOrderNo#, #num#, #totalWt#,
#companyCode#, #depCode#, #prodTaskNo#, #prodOrderNo#, #num#, #totalWt#,
#completeNum#, #orgNo#, #orgName#, #factoryCode#, #factoryName#, #createdBy#,
#completeNum#, #orgNo#, #orgName#, #factoryCode#, #factoryName#, #createdBy#,
#createdName#, #createdTime#
#createdName#, #createdTime#
, #workDate#
)
)
</insert>
</insert>
...
...
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