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
3a7967cc
Commit
3a7967cc
authored
Jan 26, 2024
by
yukang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
增加存货档案ID
parent
68782568
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
13 additions
and
13 deletions
+13
-13
HPSC003.java
src/main/java/com/baosight/hpjx/hp/sc/domain/HPSC003.java
+4
-4
HPSC004.java
src/main/java/com/baosight/hpjx/hp/sc/domain/HPSC004.java
+4
-4
HPSC005.java
src/main/java/com/baosight/hpjx/hp/sc/domain/HPSC005.java
+4
-4
ServiceHPSC001.java
.../java/com/baosight/hpjx/hp/sc/service/ServiceHPSC001.java
+1
-1
No files found.
src/main/java/com/baosight/hpjx/hp/sc/domain/HPSC003.java
View file @
3a7967cc
...
@@ -88,7 +88,7 @@ public class HPSC003 extends DaoEPBase {
...
@@ -88,7 +88,7 @@ public class HPSC003 extends DaoEPBase {
private
String
schedule
=
""
;
private
String
schedule
=
""
;
private
Integer
inventRecordId
=
new
Integer
(
0
);
private
Long
inventRecordId
=
new
Long
(
0
);
/**
/**
* initialize the metadata.
* initialize the metadata.
...
@@ -453,7 +453,7 @@ public class HPSC003 extends DaoEPBase {
...
@@ -453,7 +453,7 @@ public class HPSC003 extends DaoEPBase {
* get the inventRecordId - 项目档案ID.
* get the inventRecordId - 项目档案ID.
* @return the inventRecordId
* @return the inventRecordId
*/
*/
public
Integer
getInventRecordId
()
{
public
Long
getInventRecordId
()
{
return
this
.
inventRecordId
;
return
this
.
inventRecordId
;
}
}
...
@@ -462,7 +462,7 @@ public class HPSC003 extends DaoEPBase {
...
@@ -462,7 +462,7 @@ public class HPSC003 extends DaoEPBase {
*
*
* @param inventRecordId - 项目档案ID
* @param inventRecordId - 项目档案ID
*/
*/
public
void
setInventRecordId
(
Integer
inventRecordId
)
{
public
void
setInventRecordId
(
Long
inventRecordId
)
{
this
.
inventRecordId
=
inventRecordId
;
this
.
inventRecordId
=
inventRecordId
;
}
}
/**
/**
...
@@ -491,7 +491,7 @@ public class HPSC003 extends DaoEPBase {
...
@@ -491,7 +491,7 @@ public class HPSC003 extends DaoEPBase {
setDepCode
(
StringUtils
.
defaultIfEmpty
(
StringUtils
.
toString
(
map
.
get
(
FIELD_DEP_CODE
)),
depCode
));
setDepCode
(
StringUtils
.
defaultIfEmpty
(
StringUtils
.
toString
(
map
.
get
(
FIELD_DEP_CODE
)),
depCode
));
setRemark
(
StringUtils
.
defaultIfEmpty
(
StringUtils
.
toString
(
map
.
get
(
FIELD_REMARK
)),
remark
));
setRemark
(
StringUtils
.
defaultIfEmpty
(
StringUtils
.
toString
(
map
.
get
(
FIELD_REMARK
)),
remark
));
setRemark
(
StringUtils
.
defaultIfEmpty
(
StringUtils
.
toString
(
map
.
get
(
FIELD_SCHEDULE
)),
schedule
));
setRemark
(
StringUtils
.
defaultIfEmpty
(
StringUtils
.
toString
(
map
.
get
(
FIELD_SCHEDULE
)),
schedule
));
setInventRecordId
(
NumberUtils
.
to
Integer
(
StringUtils
.
toString
(
map
.
get
(
FIELD_INVENT_RECORD_ID
)),
inventRecordId
));
setInventRecordId
(
NumberUtils
.
to
Long
(
StringUtils
.
toString
(
map
.
get
(
FIELD_INVENT_RECORD_ID
)),
inventRecordId
));
}
}
...
...
src/main/java/com/baosight/hpjx/hp/sc/domain/HPSC004.java
View file @
3a7967cc
...
@@ -139,7 +139,7 @@ public class HPSC004 extends DaoEPBase {
...
@@ -139,7 +139,7 @@ public class HPSC004 extends DaoEPBase {
private
String
updatedBy
=
" "
;
/* 更新人*/
private
String
updatedBy
=
" "
;
/* 更新人*/
private
String
updatedTime
;
/* 更新时间*/
private
String
updatedTime
;
/* 更新时间*/
private
String
remark
=
" "
;
/* 备注*/
private
String
remark
=
" "
;
/* 备注*/
private
Integer
inventRecordId
=
new
Integer
(
0
);
private
Long
inventRecordId
=
new
Long
(
0
);
/**
/**
* initialize the metadata.
* initialize the metadata.
...
@@ -875,7 +875,7 @@ public class HPSC004 extends DaoEPBase {
...
@@ -875,7 +875,7 @@ public class HPSC004 extends DaoEPBase {
* get the inventRecordId - 项目档案ID.
* get the inventRecordId - 项目档案ID.
* @return the inventRecordId
* @return the inventRecordId
*/
*/
public
Integer
getInventRecordId
()
{
public
Long
getInventRecordId
()
{
return
this
.
inventRecordId
;
return
this
.
inventRecordId
;
}
}
...
@@ -884,7 +884,7 @@ public class HPSC004 extends DaoEPBase {
...
@@ -884,7 +884,7 @@ public class HPSC004 extends DaoEPBase {
*
*
* @param inventRecordId - 项目档案ID
* @param inventRecordId - 项目档案ID
*/
*/
public
void
setInventRecordId
(
Integer
inventRecordId
)
{
public
void
setInventRecordId
(
Long
inventRecordId
)
{
this
.
inventRecordId
=
inventRecordId
;
this
.
inventRecordId
=
inventRecordId
;
}
}
/**
/**
...
@@ -930,7 +930,7 @@ public class HPSC004 extends DaoEPBase {
...
@@ -930,7 +930,7 @@ public class HPSC004 extends DaoEPBase {
setUpdatedBy
(
StringUtils
.
defaultIfEmpty
(
StringUtils
.
toString
(
map
.
get
(
FIELD_UPDATED_BY
)),
updatedBy
));
setUpdatedBy
(
StringUtils
.
defaultIfEmpty
(
StringUtils
.
toString
(
map
.
get
(
FIELD_UPDATED_BY
)),
updatedBy
));
setUpdatedTime
(
StringUtils
.
toString
(
map
.
get
(
FIELD_UPDATED_TIME
)));
setUpdatedTime
(
StringUtils
.
toString
(
map
.
get
(
FIELD_UPDATED_TIME
)));
setRemark
(
StringUtils
.
defaultIfEmpty
(
StringUtils
.
toString
(
map
.
get
(
FIELD_REMARK
)),
remark
));
setRemark
(
StringUtils
.
defaultIfEmpty
(
StringUtils
.
toString
(
map
.
get
(
FIELD_REMARK
)),
remark
));
setInventRecordId
(
NumberUtils
.
to
Integer
(
StringUtils
.
toString
(
map
.
get
(
FIELD_INVENT_RECORD_ID
)),
inventRecordId
));
setInventRecordId
(
NumberUtils
.
to
Long
(
StringUtils
.
toString
(
map
.
get
(
FIELD_INVENT_RECORD_ID
)),
inventRecordId
));
}
}
/**
/**
...
...
src/main/java/com/baosight/hpjx/hp/sc/domain/HPSC005.java
View file @
3a7967cc
...
@@ -107,7 +107,7 @@ public class HPSC005 extends DaoEPBase {
...
@@ -107,7 +107,7 @@ public class HPSC005 extends DaoEPBase {
private
String
filePath3
=
" "
;
/* 文件地址3*/
private
String
filePath3
=
" "
;
/* 文件地址3*/
private
String
filePath4
=
" "
;
/* 文件地址4*/
private
String
filePath4
=
" "
;
/* 文件地址4*/
private
String
filePath5
=
" "
;
/* 文件地址5*/
private
String
filePath5
=
" "
;
/* 文件地址5*/
private
Integer
inventRecordId
=
new
Integer
(
0
);
private
Long
inventRecordId
=
new
Long
(
0
);
/**
/**
* initialize the metadata.
* initialize the metadata.
...
@@ -636,7 +636,7 @@ public class HPSC005 extends DaoEPBase {
...
@@ -636,7 +636,7 @@ public class HPSC005 extends DaoEPBase {
* get the inventRecordId - 项目档案ID.
* get the inventRecordId - 项目档案ID.
* @return the inventRecordId
* @return the inventRecordId
*/
*/
public
Integer
getInventRecordId
()
{
public
Long
getInventRecordId
()
{
return
this
.
inventRecordId
;
return
this
.
inventRecordId
;
}
}
...
@@ -645,7 +645,7 @@ public class HPSC005 extends DaoEPBase {
...
@@ -645,7 +645,7 @@ public class HPSC005 extends DaoEPBase {
*
*
* @param inventRecordId - 项目档案ID
* @param inventRecordId - 项目档案ID
*/
*/
public
void
setInventRecordId
(
Integer
inventRecordId
)
{
public
void
setInventRecordId
(
Long
inventRecordId
)
{
this
.
inventRecordId
=
inventRecordId
;
this
.
inventRecordId
=
inventRecordId
;
}
}
...
@@ -682,7 +682,7 @@ public class HPSC005 extends DaoEPBase {
...
@@ -682,7 +682,7 @@ public class HPSC005 extends DaoEPBase {
setFilePath3
(
StringUtils
.
defaultIfEmpty
(
StringUtils
.
toString
(
map
.
get
(
FIELD_FILE_PATH3
)),
filePath3
));
setFilePath3
(
StringUtils
.
defaultIfEmpty
(
StringUtils
.
toString
(
map
.
get
(
FIELD_FILE_PATH3
)),
filePath3
));
setFilePath4
(
StringUtils
.
defaultIfEmpty
(
StringUtils
.
toString
(
map
.
get
(
FIELD_FILE_PATH4
)),
filePath4
));
setFilePath4
(
StringUtils
.
defaultIfEmpty
(
StringUtils
.
toString
(
map
.
get
(
FIELD_FILE_PATH4
)),
filePath4
));
setFilePath5
(
StringUtils
.
defaultIfEmpty
(
StringUtils
.
toString
(
map
.
get
(
FIELD_FILE_PATH5
)),
filePath5
));
setFilePath5
(
StringUtils
.
defaultIfEmpty
(
StringUtils
.
toString
(
map
.
get
(
FIELD_FILE_PATH5
)),
filePath5
));
setInventRecordId
(
NumberUtils
.
to
Integer
(
StringUtils
.
toString
(
map
.
get
(
FIELD_INVENT_RECORD_ID
)),
inventRecordId
));
setInventRecordId
(
NumberUtils
.
to
Long
(
StringUtils
.
toString
(
map
.
get
(
FIELD_INVENT_RECORD_ID
)),
inventRecordId
));
}
}
/**
/**
...
...
src/main/java/com/baosight/hpjx/hp/sc/service/ServiceHPSC001.java
View file @
3a7967cc
...
@@ -177,7 +177,7 @@ public class ServiceHPSC001 extends ServiceBase {
...
@@ -177,7 +177,7 @@ public class ServiceHPSC001 extends ServiceBase {
hpsc002
.
put
(
"deptCode"
,
hpsc001
.
getDepCode
());
hpsc002
.
put
(
"deptCode"
,
hpsc001
.
getDepCode
());
hpsc002
.
put
(
"projCode"
,
hpsc001
.
getProjCode
());
hpsc002
.
put
(
"projCode"
,
hpsc001
.
getProjCode
());
hpsc002
.
put
(
"projName"
,
hpsc001
.
getProjName
());
hpsc002
.
put
(
"projName"
,
hpsc001
.
getProjName
());
hpsc002
.
put
(
"parentId"
,
-
1
);
//固定写死
hpsc002
.
put
(
"parentId"
,
"root"
);
//固定写死
hpsc002
.
put
(
"parentPrdtName"
,
hpsc001
.
getProjName
());
hpsc002
.
put
(
"parentPrdtName"
,
hpsc001
.
getProjName
());
hpsc002
.
put
(
"type"
,
""
);
hpsc002
.
put
(
"type"
,
""
);
hpsc002
.
put
(
"leaf"
,
"0"
);
hpsc002
.
put
(
"leaf"
,
"0"
);
...
...
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