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
499243ed
Commit
499243ed
authored
Jan 31, 2024
by
yukang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
代码合并修改
parent
3b2b7168
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
10 additions
and
11 deletions
+10
-11
HPKC003.java
src/main/java/com/baosight/hpjx/hp/kc/domain/HPKC003.java
+4
-4
ServiceHPKC003.java
.../java/com/baosight/hpjx/hp/kc/service/ServiceHPKC003.java
+1
-1
ServiceHPKC009.java
.../java/com/baosight/hpjx/hp/kc/service/ServiceHPKC009.java
+1
-1
HPPZTools.java
src/main/java/com/baosight/hpjx/hp/pz/tools/HPPZTools.java
+4
-5
No files found.
src/main/java/com/baosight/hpjx/hp/kc/domain/HPKC003.java
View file @
499243ed
...
@@ -120,7 +120,7 @@ public class HPKC003 extends DaoEPBase {
...
@@ -120,7 +120,7 @@ public class HPKC003 extends DaoEPBase {
private
Integer
inventType
;
/* 存货类型*/
private
Integer
inventType
;
/* 存货类型*/
private
String
inventCode
=
" "
;
/* 存货编码*/
private
String
inventCode
=
" "
;
/* 存货编码*/
private
String
inventName
=
" "
;
/* 存货名称*/
private
String
inventName
=
" "
;
/* 存货名称*/
private
Integer
inventRecordId
=
new
Integer
(
0
);
/* 存货档案ID*/
private
Long
inventRecordId
=
new
Long
(
0
);
/* 存货档案ID*/
private
BigDecimal
amount
=
new
BigDecimal
(
"0"
);
/* 数量*/
private
BigDecimal
amount
=
new
BigDecimal
(
"0"
);
/* 数量*/
private
BigDecimal
weight
=
new
BigDecimal
(
"0"
);
/* 重量*/
private
BigDecimal
weight
=
new
BigDecimal
(
"0"
);
/* 重量*/
private
String
remark
=
" "
;
/* 备注*/
private
String
remark
=
" "
;
/* 备注*/
...
@@ -516,7 +516,7 @@ public class HPKC003 extends DaoEPBase {
...
@@ -516,7 +516,7 @@ public class HPKC003 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
;
}
}
...
@@ -525,7 +525,7 @@ public class HPKC003 extends DaoEPBase {
...
@@ -525,7 +525,7 @@ public class HPKC003 extends DaoEPBase {
*
*
* @param inventRecordId - 存货档案ID
* @param inventRecordId - 存货档案ID
*/
*/
public
void
setInventRecordId
(
Integer
inventRecordId
)
{
public
void
setInventRecordId
(
Long
inventRecordId
)
{
this
.
inventRecordId
=
inventRecordId
;
this
.
inventRecordId
=
inventRecordId
;
}
}
/**
/**
...
@@ -1010,7 +1010,7 @@ public class HPKC003 extends DaoEPBase {
...
@@ -1010,7 +1010,7 @@ public class HPKC003 extends DaoEPBase {
setInventType
(
NumberUtils
.
toInteger
(
StringUtils
.
toString
(
map
.
get
(
FIELD_INVENT_TYPE
)),
inventType
));
setInventType
(
NumberUtils
.
toInteger
(
StringUtils
.
toString
(
map
.
get
(
FIELD_INVENT_TYPE
)),
inventType
));
setInventCode
(
StringUtils
.
defaultIfEmpty
(
StringUtils
.
toString
(
map
.
get
(
FIELD_INVENT_CODE
)),
inventCode
));
setInventCode
(
StringUtils
.
defaultIfEmpty
(
StringUtils
.
toString
(
map
.
get
(
FIELD_INVENT_CODE
)),
inventCode
));
setInventName
(
StringUtils
.
defaultIfEmpty
(
StringUtils
.
toString
(
map
.
get
(
FIELD_INVENT_NAME
)),
inventName
));
setInventName
(
StringUtils
.
defaultIfEmpty
(
StringUtils
.
toString
(
map
.
get
(
FIELD_INVENT_NAME
)),
inventName
));
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
));
setAmount
(
NumberUtils
.
toBigDecimal
(
StringUtils
.
toString
(
map
.
get
(
FIELD_AMOUNT
)),
amount
));
setAmount
(
NumberUtils
.
toBigDecimal
(
StringUtils
.
toString
(
map
.
get
(
FIELD_AMOUNT
)),
amount
));
setWeight
(
NumberUtils
.
toBigDecimal
(
StringUtils
.
toString
(
map
.
get
(
FIELD_WEIGHT
)),
weight
));
setWeight
(
NumberUtils
.
toBigDecimal
(
StringUtils
.
toString
(
map
.
get
(
FIELD_WEIGHT
)),
weight
));
setRemark
(
StringUtils
.
defaultIfEmpty
(
StringUtils
.
toString
(
map
.
get
(
FIELD_REMARK
)),
remark
));
setRemark
(
StringUtils
.
defaultIfEmpty
(
StringUtils
.
toString
(
map
.
get
(
FIELD_REMARK
)),
remark
));
...
...
src/main/java/com/baosight/hpjx/hp/kc/service/ServiceHPKC003.java
View file @
499243ed
...
@@ -3,7 +3,7 @@ package com.baosight.hpjx.hp.kc.service;
...
@@ -3,7 +3,7 @@ package com.baosight.hpjx.hp.kc.service;
import
com.baosight.hpjx.common.DdynamicEnum
;
import
com.baosight.hpjx.common.DdynamicEnum
;
import
com.baosight.hpjx.core.dao.DaoUtils
;
import
com.baosight.hpjx.core.dao.DaoUtils
;
import
com.baosight.hpjx.hp.constant.HPConstant
;
import
com.baosight.hpjx.hp.constant.HPConstant
;
import
com.baosight.hpjx.hp.kc.
domain.
HPKC003
;
import
com.baosight.hpjx.hp.kc.HPKC003
;
import
com.baosight.hpjx.hp.kc.tools.HPKCTools
;
import
com.baosight.hpjx.hp.kc.tools.HPKCTools
;
import
com.baosight.hpjx.hp.pz.tools.HPPZTools
;
import
com.baosight.hpjx.hp.pz.tools.HPPZTools
;
import
com.baosight.hpjx.hp.sc.domain.HPSC004
;
import
com.baosight.hpjx.hp.sc.domain.HPSC004
;
...
...
src/main/java/com/baosight/hpjx/hp/kc/service/ServiceHPKC009.java
View file @
499243ed
...
@@ -4,9 +4,9 @@ import com.baosight.hpjx.common.DdynamicEnum;
...
@@ -4,9 +4,9 @@ import com.baosight.hpjx.common.DdynamicEnum;
import
com.baosight.hpjx.core.constant.CommonConstant
;
import
com.baosight.hpjx.core.constant.CommonConstant
;
import
com.baosight.hpjx.hp.constant.HPConstant
;
import
com.baosight.hpjx.hp.constant.HPConstant
;
import
com.baosight.hpjx.hp.constant.HPSqlConstant
;
import
com.baosight.hpjx.hp.constant.HPSqlConstant
;
import
com.baosight.hpjx.hp.kc.HPKC003
;
import
com.baosight.hpjx.hp.kc.domain.HPKC001
;
import
com.baosight.hpjx.hp.kc.domain.HPKC001
;
import
com.baosight.hpjx.hp.kc.domain.HPKC002
;
import
com.baosight.hpjx.hp.kc.domain.HPKC002
;
import
com.baosight.hpjx.hp.kc.domain.HPKC003
;
import
com.baosight.hpjx.hp.kc.domain.HPKC004
;
import
com.baosight.hpjx.hp.kc.domain.HPKC004
;
import
com.baosight.hpjx.hp.kc.domain.HPKC005
;
import
com.baosight.hpjx.hp.kc.domain.HPKC005
;
import
com.baosight.hpjx.hp.kc.domain.HPKC006
;
import
com.baosight.hpjx.hp.kc.domain.HPKC006
;
...
...
src/main/java/com/baosight/hpjx/hp/pz/tools/HPPZTools.java
View file @
499243ed
package
com
.
baosight
.
hpjx
.
hp
.
pz
.
tools
;
package
com
.
baosight
.
hpjx
.
hp
.
pz
.
tools
;
import
com.baosight.eplat.utils.StringUtils
;
import
com.baosight.hpjx.common.InventTypeEnum
;
import
com.baosight.hpjx.common.InventTypeEnum
;
import
com.baosight.hpjx.core.constant.CommonConstant
;
import
com.baosight.hpjx.core.constant.CommonConstant
;
import
com.baosight.hpjx.core.dao.DaoBase
;
import
com.baosight.hpjx.core.dao.DaoBase
;
...
@@ -8,12 +9,10 @@ import com.baosight.hpjx.hp.pz.domain.HPPZ007;
...
@@ -8,12 +9,10 @@ import com.baosight.hpjx.hp.pz.domain.HPPZ007;
import
com.baosight.hpjx.hp.pz.domain.HPPZ009
;
import
com.baosight.hpjx.hp.pz.domain.HPPZ009
;
import
com.baosight.hpjx.hp.pz.domain.HPPZ004
;
import
com.baosight.hpjx.hp.pz.domain.HPPZ004
;
import
com.baosight.hpjx.util.AssertUtils
;
import
com.baosight.hpjx.util.AssertUtils
;
import
com.baosight.iplat4j.core.util.StringUtils
;
import
com.baosight.iplat4j.core.ei.EiConstant
;
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.exception.PlatException
;
import
com.baosight.iplat4j.core.exception.PlatException
;
import
com.baosight.iplat4j.core.service.soa.XLocalManager
;
import
com.baosight.iplat4j.core.service.soa.XLocalManager
;
import
org.apache.commons.lang.StringUtils
;
import
org.springframework.util.CollectionUtils
;
import
org.springframework.util.CollectionUtils
;
import
java.math.BigDecimal
;
import
java.math.BigDecimal
;
...
@@ -155,15 +154,15 @@ public class HPPZTools {
...
@@ -155,15 +154,15 @@ public class HPPZTools {
public
static
String
jointSpec
(
BigDecimal
length
,
BigDecimal
width
,
BigDecimal
thick
)
{
public
static
String
jointSpec
(
BigDecimal
length
,
BigDecimal
width
,
BigDecimal
thick
)
{
StringBuffer
sb
=
new
StringBuffer
();
StringBuffer
sb
=
new
StringBuffer
();
if
(
length
!=
null
&&
length
.
compareTo
(
BigDecimal
.
ZERO
)
!=
0
)
{
if
(
length
!=
null
&&
length
.
compareTo
(
BigDecimal
.
ZERO
)
!=
0
)
{
sb
.
append
(
StringUtils
.
toString
(
length
));
sb
.
append
(
com
.
baosight
.
iplat4j
.
core
.
util
.
StringUtils
.
toString
(
length
));
sb
.
append
(
"*"
);
sb
.
append
(
"*"
);
}
}
if
(
width
!=
null
&&
width
.
compareTo
(
BigDecimal
.
ZERO
)
!=
0
)
{
if
(
width
!=
null
&&
width
.
compareTo
(
BigDecimal
.
ZERO
)
!=
0
)
{
sb
.
append
(
StringUtils
.
toString
(
width
));
sb
.
append
(
com
.
baosight
.
iplat4j
.
core
.
util
.
StringUtils
.
toString
(
width
));
sb
.
append
(
"*"
);
sb
.
append
(
"*"
);
}
}
if
(
thick
!=
null
&&
thick
.
compareTo
(
BigDecimal
.
ZERO
)
!=
0
)
{
if
(
thick
!=
null
&&
thick
.
compareTo
(
BigDecimal
.
ZERO
)
!=
0
)
{
sb
.
append
(
StringUtils
.
toString
(
thick
));
sb
.
append
(
com
.
baosight
.
iplat4j
.
core
.
util
.
StringUtils
.
toString
(
thick
));
}
}
return
sb
.
toString
();
return
sb
.
toString
();
}
}
...
...
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