Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
K
kwell-mes
Project
Project
Details
Activity
Releases
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
gavelinfo
kwell-mes
Commits
e4f3aaae
Commit
e4f3aaae
authored
Mar 24, 2022
by
李苏
💬
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'master' of gitlab.gavelinfo.com:gavelinfo/kwell-mes
parents
f3c7a8cc
3e5b549a
Changes
15
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
15 changed files
with
1141 additions
and
171 deletions
+1141
-171
GpfkController.java
.../main/java/com/gavel/kwell/controller/GpfkController.java
+7
-7
GpwxController.java
.../main/java/com/gavel/kwell/controller/GpwxController.java
+1
-1
GpfkDao.java
gavel/src/main/java/com/gavel/kwell/dao/GpfkDao.java
+34
-2
GphyDao.java
gavel/src/main/java/com/gavel/kwell/dao/GphyDao.java
+0
-2
GpfkDaoImpl.java
...l/src/main/java/com/gavel/kwell/dao/impl/GpfkDaoImpl.java
+410
-51
KmesBoardDaoImpl.java
.../main/java/com/gavel/kwell/dao/impl/KmesBoardDaoImpl.java
+9
-8
Gpfk.java
gavel/src/main/java/com/gavel/kwell/persistent/Gpfk.java
+1
-2
GpfkService.java
gavel/src/main/java/com/gavel/kwell/service/GpfkService.java
+7
-0
GphyService.java
gavel/src/main/java/com/gavel/kwell/service/GphyService.java
+0
-3
KmesBoardService.java
...c/main/java/com/gavel/kwell/service/KmesBoardService.java
+5
-5
GpfkServiceImpl.java
...in/java/com/gavel/kwell/service/impl/GpfkServiceImpl.java
+577
-81
UpointServiceImpl.java
.../java/com/gavel/kwell/service/impl/UpointServiceImpl.java
+12
-8
GpfkHgEnum.java
gavel/src/main/java/com/gavel/kwell/utils/GpfkHgEnum.java
+49
-0
GphyCondition.java
gavel/src/main/java/com/gavel/kwell/vo/GphyCondition.java
+14
-0
WlslItem.java
gavel/src/main/java/com/gavel/kwell/vo/WlslItem.java
+15
-1
No files found.
gavel/src/main/java/com/gavel/kwell/controller/GpfkController.java
View file @
e4f3aaae
...
@@ -29,7 +29,6 @@ import com.gavel.common.utils.StringUtils;
...
@@ -29,7 +29,6 @@ import com.gavel.common.utils.StringUtils;
import
com.gavel.common.utils.ThreadContext
;
import
com.gavel.common.utils.ThreadContext
;
import
com.gavel.gygl.vo.BzgxVO
;
import
com.gavel.gygl.vo.BzgxVO
;
import
com.gavel.kwell.service.GpfkService
;
import
com.gavel.kwell.service.GpfkService
;
import
com.gavel.kwell.utils.SmCodeModel
;
import
com.gavel.kwell.vo.FkCondition
;
import
com.gavel.kwell.vo.FkCondition
;
import
com.gavel.kwell.vo.FkVO
;
import
com.gavel.kwell.vo.FkVO
;
import
com.gavel.kwell.vo.GpResVO
;
import
com.gavel.kwell.vo.GpResVO
;
...
@@ -254,14 +253,15 @@ public class GpfkController extends BaseController {
...
@@ -254,14 +253,15 @@ public class GpfkController extends BaseController {
@RequestMapping
(
value
=
"/queryWoBomByWoid"
,
method
=
RequestMethod
.
POST
)
@RequestMapping
(
value
=
"/queryWoBomByWoid"
,
method
=
RequestMethod
.
POST
)
@ResponseBody
@ResponseBody
public
Object
getWoBomByWoid
(
@RequestBody
JSONObject
param
)
{
public
Object
getWoBomByWoid
(
@RequestBody
JSONObject
param
)
{
String
woid
=
param
.
getString
(
"woid"
);
//
String woid = param.getString("woid");
String
bzlx
=
param
.
getString
(
"bzlx"
);
String
bzlx
=
param
.
getString
(
"bzlx"
);
String
wosn
=
param
.
getString
(
"wosn"
);
String
wosn
=
param
.
getString
(
"wosn"
);
if
(
StringUtils
.
isEmpty
(
woid
)||
StringUtils
.
isEmpty
(
wosn
)){
if
(
StringUtils
.
isEmpty
(
bzlx
)||
StringUtils
.
isEmpty
(
wosn
)){
setReturnMessage
(
"条码不允许为空!"
);
setReturnMessage
(
"条码不允许为空!"
);
return
returnData
();
return
returnData
();
}
}
List
<
WobomVO
>
wobomVOs
=
gpfkService
.
queryWobomByWo
(
woid
,
bzlx
,
wosn
);
// List<WobomVO> wobomVOs= gpfkService.queryWobomByWo(woid,bzlx,wosn);
List
<
WobomVO
>
wobomVOs
=
gpfkService
.
queryWobomByWoUpgrade
(
wosn
,
bzlx
);
if
(
wobomVOs
!=
null
){
if
(
wobomVOs
!=
null
){
return
buildReturnData
(
wobomVOs
);
return
buildReturnData
(
wobomVOs
);
}
else
{
}
else
{
...
@@ -283,7 +283,7 @@ public class GpfkController extends BaseController {
...
@@ -283,7 +283,7 @@ public class GpfkController extends BaseController {
@ResponseBody
@ResponseBody
public
Object
query
(
@RequestBody
JSONObject
param
)
{
public
Object
query
(
@RequestBody
JSONObject
param
)
{
FkCondition
condition
=
JSONObject
.
toJavaObject
(
param
,
FkCondition
.
class
);
FkCondition
condition
=
JSONObject
.
toJavaObject
(
param
,
FkCondition
.
class
);
FkVO
gpfk
=
gpfkService
.
zpfk
(
condition
);
FkVO
gpfk
=
gpfkService
.
zpfk
Upgrade
(
condition
);
if
(
gpfk
!=
null
)
{
if
(
gpfk
!=
null
)
{
return
buildReturnData
(
gpfk
);
return
buildReturnData
(
gpfk
);
}
}
...
@@ -294,7 +294,7 @@ public class GpfkController extends BaseController {
...
@@ -294,7 +294,7 @@ public class GpfkController extends BaseController {
@ResponseBody
@ResponseBody
public
Object
jyfk
(
@RequestBody
JSONObject
param
)
{
public
Object
jyfk
(
@RequestBody
JSONObject
param
)
{
FkCondition
condition
=
JSONObject
.
toJavaObject
(
param
,
FkCondition
.
class
);
FkCondition
condition
=
JSONObject
.
toJavaObject
(
param
,
FkCondition
.
class
);
FkVO
gpfk
=
gpfkService
.
jyfk
(
condition
);
FkVO
gpfk
=
gpfkService
.
jyfk
Upgrade
(
condition
);
if
(
gpfk
!=
null
){
if
(
gpfk
!=
null
){
return
buildReturnData
(
gpfk
);
return
buildReturnData
(
gpfk
);
}
else
{
}
else
{
...
@@ -306,7 +306,7 @@ public class GpfkController extends BaseController {
...
@@ -306,7 +306,7 @@ public class GpfkController extends BaseController {
@ResponseBody
@ResponseBody
public
Object
wxfk
(
@RequestBody
JSONObject
param
)
{
public
Object
wxfk
(
@RequestBody
JSONObject
param
)
{
FkCondition
condition
=
JSONObject
.
toJavaObject
(
param
,
FkCondition
.
class
);
FkCondition
condition
=
JSONObject
.
toJavaObject
(
param
,
FkCondition
.
class
);
FkVO
gpfk
=
gpfkService
.
wxfk
(
condition
);
FkVO
gpfk
=
gpfkService
.
wxfk
Upgrade
(
condition
);
if
(
gpfk
!=
null
){
if
(
gpfk
!=
null
){
return
buildReturnData
(
gpfk
);
return
buildReturnData
(
gpfk
);
}
else
{
}
else
{
...
...
gavel/src/main/java/com/gavel/kwell/controller/GpwxController.java
View file @
e4f3aaae
...
@@ -3,7 +3,6 @@ package com.gavel.kwell.controller;
...
@@ -3,7 +3,6 @@ package com.gavel.kwell.controller;
import
javax.servlet.http.HttpServletRequest
;
import
javax.servlet.http.HttpServletRequest
;
import
javax.servlet.http.HttpServletResponse
;
import
javax.servlet.http.HttpServletResponse
;
import
com.gavel.kwell.service.GphyService
;
import
org.springframework.beans.factory.annotation.Autowired
;
import
org.springframework.beans.factory.annotation.Autowired
;
import
org.springframework.stereotype.Controller
;
import
org.springframework.stereotype.Controller
;
import
org.springframework.web.bind.annotation.RequestBody
;
import
org.springframework.web.bind.annotation.RequestBody
;
...
@@ -20,6 +19,7 @@ import com.gavel.common.converter.DataConvert;
...
@@ -20,6 +19,7 @@ import com.gavel.common.converter.DataConvert;
import
com.gavel.common.utils.StringUtils
;
import
com.gavel.common.utils.StringUtils
;
import
com.gavel.common.utils.ThreadContext
;
import
com.gavel.common.utils.ThreadContext
;
import
com.gavel.kwell.service.GpfkService
;
import
com.gavel.kwell.service.GpfkService
;
import
com.gavel.kwell.service.GphyService
;
import
com.gavel.kwell.vo.GpfkCondition
;
import
com.gavel.kwell.vo.GpfkCondition
;
import
com.gavel.kwell.vo.GpfkVO
;
import
com.gavel.kwell.vo.GpfkVO
;
import
com.gavel.persistence.sql.RecordSet
;
import
com.gavel.persistence.sql.RecordSet
;
...
...
gavel/src/main/java/com/gavel/kwell/dao/GpfkDao.java
View file @
e4f3aaae
...
@@ -20,7 +20,7 @@ import com.gavel.kwell.vo.GpfkCondition;
...
@@ -20,7 +20,7 @@ import com.gavel.kwell.vo.GpfkCondition;
import
com.gavel.kwell.vo.GpfkVO
;
import
com.gavel.kwell.vo.GpfkVO
;
import
com.gavel.kwell.vo.GphyCondition
;
import
com.gavel.kwell.vo.GphyCondition
;
import
com.gavel.kwell.vo.GpwxmxVO
;
import
com.gavel.kwell.vo.GpwxmxVO
;
import
com.gavel.kwell.vo.W
olinkInfoVO
;
import
com.gavel.kwell.vo.W
lslItem
;
import
com.gavel.kwell.vo.WosngzVO
;
import
com.gavel.kwell.vo.WosngzVO
;
import
com.gavel.persistence.sql.RecordSet
;
import
com.gavel.persistence.sql.RecordSet
;
import
com.gavel.wo.persistent.Wogylx
;
import
com.gavel.wo.persistent.Wogylx
;
...
@@ -129,7 +129,6 @@ public interface GpfkDao extends BaseDao {
...
@@ -129,7 +129,6 @@ public interface GpfkDao extends BaseDao {
public
List
<
Gphy
>
queryGphyByGpfkid
(
String
mid
);
public
List
<
Gphy
>
queryGphyByGpfkid
(
String
mid
);
public
Wogylx
getLastGx
(
Wogylx
wogylx
);
public
double
getNowGyFksl
(
Wogylx
wogylx
);
public
double
getNowGyFksl
(
Wogylx
wogylx
);
...
@@ -140,4 +139,37 @@ public interface GpfkDao extends BaseDao {
...
@@ -140,4 +139,37 @@ public interface GpfkDao extends BaseDao {
public
double
checkIfContainsWobomWl
(
FkCondition
fkCondition
);
public
double
checkIfContainsWobomWl
(
FkCondition
fkCondition
);
public
double
checkIfContainsGphywl
(
GphyCondition
condition
);
public
double
checkIfContainsGphywl
(
GphyCondition
condition
);
/**科威尔工票反馈sql */
/** ------------BEGIN工票反馈升级-----------------***/
/**获取该序列号标准工序最新的反馈相关信息 */
public
FkVO
queryWowithIfExistGpfkByWosnAndBzgxidInNewDate
(
String
wosnid
,
String
bzgxid
);
/**获取该序列号标准工序所有的反馈相关信息 */
public
List
<
FkVO
>
queryWowithIfExistGpfkByWosnAndBzgxid
(
String
wosnid
,
String
bzgxid
);
/**获取该序列号标准工序的订单相关信息包含最新反馈记录 */
public
FkVO
queryKwellWoBySnidUptoDate
(
String
wosnid
,
String
bzgx
);
/**获取该序列号标准工序的订单相关信息包含最新反馈记录 */
public
List
<
FkVO
>
queryKwellAllGpfkByWosnAndGxid
(
FkCondition
condition
);
/**查询当前订单序列号最新反馈记录 */
public
GpfkVO
queryGpfkByWosnUptoDate
(
String
wosnid
);
/**查询当前工序下一道工序*/
public
Wogylx
getNextGxUpdate
(
Wogylx
wogylx
);
/**查询当前工序上一道工序 */
public
Wogylx
getLastGx
(
Wogylx
wogylx
);
/**查询当前工序上一道工序 */
public
double
queryIfZpwc
(
String
wosnid
,
String
bzgx
);
/**查询当前工序上一道工序 */
public
List
<
WobomVO
>
queryWobomByWosnAndBzgx
(
String
wosnid
,
String
bzgx
);
/**查询是否耗用了该物料编码 */
public
double
checkIfContainsGphywlUpgrade
(
GphyCondition
condition
);
/**查询是物料编码装配数量 */
public
WlslItem
queryKwellZpslGphy
(
GphyCondition
condition
);
/**查询是物料编码装配单位数量 */
public
double
queryWobomZpslByDjidAndWlidUpgrade
(
String
wosncode
,
String
bzgxid
,
String
wlid
);
/**查询当前订单序列号最新检验反馈记录 */
public
GpfkVO
queryJyGpfkByWosnUptoDate
(
String
wosnid
);
/** ------------END工票反馈升级-----------------***/
}
}
gavel/src/main/java/com/gavel/kwell/dao/GphyDao.java
View file @
e4f3aaae
package
com
.
gavel
.
kwell
.
dao
;
package
com
.
gavel
.
kwell
.
dao
;
import
java.util.List
;
import
com.gavel.common.base.dao.BaseDao
;
import
com.gavel.common.base.dao.BaseDao
;
import
com.gavel.kwell.vo.GphyCondition
;
import
com.gavel.kwell.vo.GphyCondition
;
import
com.gavel.kwell.vo.GphyVO
;
import
com.gavel.kwell.vo.GphyVO
;
...
...
gavel/src/main/java/com/gavel/kwell/dao/impl/GpfkDaoImpl.java
View file @
e4f3aaae
This diff is collapsed.
Click to expand it.
gavel/src/main/java/com/gavel/kwell/dao/impl/KmesBoardDaoImpl.java
View file @
e4f3aaae
...
@@ -54,14 +54,15 @@ public class KmesBoardDaoImpl extends BaseDaoImpl implements KmesBoardDao {
...
@@ -54,14 +54,15 @@ public class KmesBoardDaoImpl extends BaseDaoImpl implements KmesBoardDao {
@Override
@Override
public
List
<
UWoVO
>
queryWo
()
{
public
List
<
UWoVO
>
queryWo
()
{
SqlMap
sqlMap
=
new
SqlMap
();
SqlMap
sqlMap
=
new
SqlMap
();
sqlMap
.
append
(
"select WO_ID,WO_DJID,WO_GCID,WO_YWRQ,WO_WLID,WO_XQSL,WO_WGSL, "
);
sqlMap
.
append
(
"select PCJHMX_WOID as WO_ID,PCJHMX_JHSL as WO_PCSL,WO_DJID, "
);
sqlMap
.
append
(
" isnull(A.PCJHMX_JHSL,0) as WO_PCSL,WLXX_CODE,WLXX_NAME,WLXX_GG "
);
sqlMap
.
append
(
" PCJHMX_WGSL as WO_WGSL,WO_WLID,WLXX_CODE,WLXX_NAME,WLXX_GG,WO_YWRQ"
);
sqlMap
.
append
(
"from WO "
);
sqlMap
.
append
(
"from PCJHMX "
);
sqlMap
.
append
(
" left join (select PCJHMX_WOID,sum(PCJHMX_JHSL) as PCJHMX_JHSL "
);
sqlMap
.
append
(
" left join WO on WO_ID = PCJHMX_WOID "
);
sqlMap
.
append
(
" from PCJHMX group by PCJHMX_WOID) A on A.PCJHMX_WOID = WO_ID "
);
sqlMap
.
append
(
" left join WLXX on WLXX_ID = PCJHMX_WLID "
);
sqlMap
.
append
(
" left join WLXX on WLXX_ID = WO_WLID "
);
sqlMap
.
append
(
"where 1=1 and ( :ksrq <= PCJHMX_JHRQ and PCJHMX_JHRQ <= :jsrq ) "
);
sqlMap
.
append
(
"where abs(WO_WGSL) - abs(WO_XQSL) < 0 "
);
sqlMap
.
setParamValue
(
"ksrq"
,
DateUtils
.
beginOfDay
(
DateUtils
.
getDateTime
()));
sqlMap
.
append
(
"order by WO_YWRQ desc,WO_DJID desc "
);
sqlMap
.
setParamValue
(
"jsrq"
,
DateUtils
.
endOfDay
(
DateUtils
.
getDateTime
()));
sqlMap
.
append
(
"order by PCJHMX_JHRQ desc "
);
return
sqlMap
.
query
(
UWoVO
.
class
);
return
sqlMap
.
query
(
UWoVO
.
class
);
}
}
...
...
gavel/src/main/java/com/gavel/kwell/persistent/Gpfk.java
View file @
e4f3aaae
...
@@ -93,10 +93,9 @@ public class Gpfk extends BaseEntity {
...
@@ -93,10 +93,9 @@ public class Gpfk extends BaseEntity {
@FieldMeta
(
fieldName
=
"GPFK_HGDJ"
,
caption
=
"合格等级"
)
@FieldMeta
(
fieldName
=
"GPFK_HGDJ"
,
caption
=
"合格等级"
)
private
String
hgdj
;
private
String
hgdj
;
@FieldMeta
(
fieldName
=
"GPFK_WLID"
,
caption
=
"物料编码"
)
@FieldMeta
(
fieldName
=
"GPFK_WLID"
,
caption
=
"物料编码"
)
private
String
wlid
;
private
String
wlid
;
public
String
getWogylx
()
{
public
String
getWogylx
()
{
return
wogylx
;
return
wogylx
;
...
...
gavel/src/main/java/com/gavel/kwell/service/GpfkService.java
View file @
e4f3aaae
...
@@ -111,6 +111,13 @@ public interface GpfkService extends BaseEditService {
...
@@ -111,6 +111,13 @@ public interface GpfkService extends BaseEditService {
public
FkVO
jyfk
(
FkCondition
fkCondition
);
public
FkVO
jyfk
(
FkCondition
fkCondition
);
public
FkVO
wxfk
(
FkCondition
fkCondition
);
public
FkVO
wxfk
(
FkCondition
fkCondition
);
public
FkVO
zpfkUpgrade
(
FkCondition
fkCondition
);
public
FkVO
jyfkUpgrade
(
FkCondition
fkCondition
);
public
FkVO
wxfkUpgrade
(
FkCondition
fkCondition
);
public
List
<
WobomVO
>
queryWobomByWoUpgrade
(
String
wosn
,
String
bzgx
);
/** 科威尔mes工票反馈重写--end */
/** 科威尔mes工票反馈重写--end */
...
...
gavel/src/main/java/com/gavel/kwell/service/GphyService.java
View file @
e4f3aaae
package
com
.
gavel
.
kwell
.
service
;
package
com
.
gavel
.
kwell
.
service
;
import
java.util.List
;
import
com.gavel.common.base.service.BaseEditService
;
import
com.gavel.common.base.service.BaseEditService
;
import
com.gavel.kwell.persistent.Gpfk
;
import
com.gavel.kwell.vo.GphyCondition
;
import
com.gavel.kwell.vo.GphyCondition
;
import
com.gavel.kwell.vo.GphyVO
;
import
com.gavel.kwell.vo.GphyVO
;
import
com.gavel.kwell.vo.GphycxVO
;
import
com.gavel.kwell.vo.GphycxVO
;
...
...
gavel/src/main/java/com/gavel/kwell/service/KmesBoardService.java
View file @
e4f3aaae
package
com
.
gavel
.
kwell
.
service
;
package
com
.
gavel
.
kwell
.
service
;
import
java.io.FileInputStream
;
import
java.util.List
;
import
javax.servlet.http.HttpServletResponse
;
import
com.gavel.common.base.service.BaseEditService
;
import
com.gavel.common.base.service.BaseEditService
;
import
com.gavel.kwell.vo.GpfkHgVO
;
import
com.gavel.kwell.vo.GpfkHgVO
;
import
com.gavel.kwell.vo.PcslVO
;
import
com.gavel.kwell.vo.PcslVO
;
import
com.gavel.kwell.vo.SdclVO
;
import
com.gavel.kwell.vo.SdclVO
;
import
com.gavel.kwell.vo.UWoVO
;
import
com.gavel.kwell.vo.UWoVO
;
import
com.gavel.wo.persistent.Pcjhmx
;
import
javax.servlet.http.HttpServletResponse
;
import
java.io.FileInputStream
;
import
java.util.List
;
public
interface
KmesBoardService
extends
BaseEditService
{
public
interface
KmesBoardService
extends
BaseEditService
{
...
...
gavel/src/main/java/com/gavel/kwell/service/impl/GpfkServiceImpl.java
View file @
e4f3aaae
This diff is collapsed.
Click to expand it.
gavel/src/main/java/com/gavel/kwell/service/impl/UpointServiceImpl.java
View file @
e4f3aaae
package
com
.
gavel
.
kwell
.
service
.
impl
;
package
com
.
gavel
.
kwell
.
service
.
impl
;
import
java.util.ArrayList
;
import
java.util.Collections
;
import
java.util.List
;
import
java.util.Map
;
import
java.util.stream.Collectors
;
import
org.slf4j.Logger
;
import
org.slf4j.LoggerFactory
;
import
org.springframework.beans.factory.annotation.Autowired
;
import
org.springframework.stereotype.Service
;
import
org.springframework.transaction.annotation.Transactional
;
import
com.alibaba.fastjson.JSONObject
;
import
com.alibaba.fastjson.JSONObject
;
import
com.gavel.common.base.entity.BaseEntity
;
import
com.gavel.common.base.entity.BaseEntity
;
import
com.gavel.common.base.service.impl.BaseEditServiceImpl
;
import
com.gavel.common.base.service.impl.BaseEditServiceImpl
;
...
@@ -14,14 +26,6 @@ import com.gavel.kwell.vo.DataPointItem;
...
@@ -14,14 +26,6 @@ import com.gavel.kwell.vo.DataPointItem;
import
com.gavel.kwell.vo.UpointCondition
;
import
com.gavel.kwell.vo.UpointCondition
;
import
com.gavel.kwell.vo.UpointVO
;
import
com.gavel.kwell.vo.UpointVO
;
import
com.gavel.persistence.sql.RecordSet
;
import
com.gavel.persistence.sql.RecordSet
;
import
org.slf4j.Logger
;
import
org.slf4j.LoggerFactory
;
import
org.springframework.beans.factory.annotation.Autowired
;
import
org.springframework.stereotype.Service
;
import
org.springframework.transaction.annotation.Transactional
;
import
java.util.*
;
import
java.util.stream.Collectors
;
@Service
(
"upointService"
)
@Service
(
"upointService"
)
...
...
gavel/src/main/java/com/gavel/kwell/utils/GpfkHgEnum.java
0 → 100644
View file @
e4f3aaae
package
com
.
gavel
.
kwell
.
utils
;
import
com.gavel.kzzx.model.GavelEnumModel
;
import
java.util.ArrayList
;
import
java.util.List
;
public
enum
GpfkHgEnum
{
JYHG
(
"JYHG"
,
"检验合格"
),
WXHG
(
"WXHG"
,
"维修合格"
),
JYBHG
(
"JYBHG"
,
"检验不合格"
);
private
String
id
;
//数据库存储
private
String
name
;
GpfkHgEnum
(
String
name
,
String
id
)
{
this
.
id
=
id
;
this
.
name
=
name
;
}
public
String
getId
()
{
return
id
;
}
public
void
setId
(
String
id
)
{
this
.
id
=
id
;
}
public
String
getName
()
{
return
name
;
}
public
void
setName
(
String
name
)
{
this
.
name
=
name
;
}
public
static
List
<
GavelEnumModel
>
toList
(){
List
<
GavelEnumModel
>
list
=
new
ArrayList
<>();
for
(
GpfkHgEnum
e
:
GpfkHgEnum
.
values
())
{
GavelEnumModel
gavelEnumModel
=
new
GavelEnumModel
();
gavelEnumModel
.
setId
(
e
.
getId
());
gavelEnumModel
.
setName
(
e
.
getName
());
list
.
add
(
gavelEnumModel
);
}
return
list
;
}
}
gavel/src/main/java/com/gavel/kwell/vo/GphyCondition.java
View file @
e4f3aaae
...
@@ -25,8 +25,22 @@ public class GphyCondition extends BaseEntity {
...
@@ -25,8 +25,22 @@ public class GphyCondition extends BaseEntity {
private
String
fkid
;
private
String
fkid
;
private
String
wosncode
;
private
String
bzgxid
;
public
String
getWosncode
()
{
return
wosncode
;
}
public
void
setWosncode
(
String
wosncode
)
{
this
.
wosncode
=
wosncode
;
}
public
String
getBzgxid
()
{
return
bzgxid
;
}
public
void
setBzgxid
(
String
bzgxid
)
{
this
.
bzgxid
=
bzgxid
;
}
public
String
getFkid
()
{
public
String
getFkid
()
{
return
fkid
;
return
fkid
;
}
}
...
...
gavel/src/main/java/com/gavel/kwell/vo/WlslItem.java
View file @
e4f3aaae
...
@@ -3,9 +3,23 @@ package com.gavel.kwell.vo;
...
@@ -3,9 +3,23 @@ package com.gavel.kwell.vo;
import
java.io.Serializable
;
import
java.io.Serializable
;
public
class
WlslItem
implements
Serializable
{
public
class
WlslItem
implements
Serializable
{
private
static
final
long
serialVersionUID
=
1L
;
private
String
wlid
;
private
String
wlid
;
private
String
wosncode
;
private
String
bzgxid
;
private
Double
zpsl
;
private
Double
zpsl
;
public
String
getWosncode
()
{
return
wosncode
;
}
public
void
setWosncode
(
String
wosncode
)
{
this
.
wosncode
=
wosncode
;
}
public
String
getBzgxid
()
{
return
bzgxid
;
}
public
void
setBzgxid
(
String
bzgxid
)
{
this
.
bzgxid
=
bzgxid
;
}
public
String
getWlid
()
{
public
String
getWlid
()
{
return
wlid
;
return
wlid
;
}
}
...
...
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