Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in / Register
Toggle navigation
Z
zh-baseversion-project
Project
Project
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
王浩
zh-baseversion-project
Commits
53052611
Commit
53052611
authored
Sep 12, 2024
by
wanghao
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
1 液化石油气监管-气瓶档案导入-功能开发, 涉及到实体类解析报错问题处理.
parent
a40e906b
Show whitespace changes
Inline
Side-by-side
Showing
10 changed files
with
879 additions
and
745 deletions
+879
-745
TLpgGasBottleFilesController.java
...ontroller/lpgRegulation/TLpgGasBottleFilesController.java
+35
-1
TimeTasksController.java
...a/com/zehong/web/controller/task/TimeTasksController.java
+53
-53
TLpgGasBottleFiles.java
...ain/java/com/zehong/system/domain/TLpgGasBottleFiles.java
+316
-363
ITLpgGasBottleFilesService.java
...com/zehong/system/service/ITLpgGasBottleFilesService.java
+14
-0
TLpgAirChargeFilesServiceImpl.java
...ng/system/service/impl/TLpgAirChargeFilesServiceImpl.java
+1
-1
TLpgDeliveryRecordServiceImpl.java
...ng/system/service/impl/TLpgDeliveryRecordServiceImpl.java
+2
-2
TLpgGasBottleFilesServiceImpl.java
...ng/system/service/impl/TLpgGasBottleFilesServiceImpl.java
+23
-1
TLpgGasBottleFilesMapper.xml
...main/resources/mapper/system/TLpgGasBottleFilesMapper.xml
+192
-192
files.js
zh-baseversion-web/src/api/lpgRegulation/files.js
+9
-0
index.vue
...sion-web/src/views/lpgRegulation/gasbottlefiles/index.vue
+234
-132
No files found.
zh-baseversion-admin/src/main/java/com/zehong/web/controller/lpgRegulation/TLpgGasBottleFilesController.java
View file @
53052611
package
com
.
zehong
.
web
.
controller
.
lpgRegulation
;
import
java.util.List
;
import
org.springframework.security.access.prepost.PreAuthorize
;
import
java.util.Map
;
import
com.zehong.system.domain.TLpgAirChargeFiles
;
import
org.springframework.beans.factory.annotation.Autowired
;
import
org.springframework.web.bind.annotation.GetMapping
;
import
org.springframework.web.bind.annotation.PostMapping
;
...
...
@@ -19,6 +21,9 @@ import com.zehong.system.domain.TLpgGasBottleFiles;
import
com.zehong.system.service.ITLpgGasBottleFilesService
;
import
com.zehong.common.utils.poi.ExcelUtil
;
import
com.zehong.common.core.page.TableDataInfo
;
import
org.springframework.web.multipart.MultipartFile
;
import
javax.servlet.http.HttpServletResponse
;
/**
* 液化石油气-气瓶档案Controller
...
...
@@ -94,4 +99,33 @@ public class TLpgGasBottleFilesController extends BaseController
{
return
toAjax
(
tLpgGasBottleFilesService
.
deleteTLpgGasBottleFilesByIds
(
fGasBottleFilesIds
));
}
/**
* 模版下载
* @return r
*/
@GetMapping
(
"/importTemplate"
)
public
AjaxResult
importTemplate
(){
ExcelUtil
<
TLpgGasBottleFiles
>
util
=
new
ExcelUtil
<>(
TLpgGasBottleFiles
.
class
);
return
util
.
importTemplateExcel
(
"气瓶档案数据"
);
}
/**
* 文件导入
* @param file f
* @param updateSupport u
* @return r
* @throws Exception r
*/
@PostMapping
(
"/importData"
)
public
AjaxResult
importData
(
MultipartFile
file
,
boolean
updateSupport
,
HttpServletResponse
response
)
throws
Exception
{
ExcelUtil
<
TLpgGasBottleFiles
>
util
=
new
ExcelUtil
<>(
TLpgGasBottleFiles
.
class
);
List
<
TLpgGasBottleFiles
>
XmbhList
=
util
.
importExcel
(
file
.
getInputStream
());
Map
<
String
,
Object
>
map
=
tLpgGasBottleFilesService
.
importLpgGasBottleFilesInfo
(
XmbhList
,
updateSupport
,
response
);
return
AjaxResult
.
success
(
map
);
}
}
zh-baseversion-admin/src/main/java/com/zehong/web/controller/task/TimeTasksController.java
View file @
53052611
...
...
@@ -101,7 +101,7 @@ public class TimeTasksController {
List
<
TLpgGasBottleFiles
>
selectUpTime
=
tLpgGasBottleFilesService
.
selectTLpgGasBottleFilesList
(
new
TLpgGasBottleFiles
());
String
lastRowVersion
=
"0"
;
if
(
selectUpTime
!=
null
&&
selectUpTime
.
size
()>
0
){
lastRowVersion
=
selectUpTime
.
get
(
0
).
get
f
RowVersion
();
lastRowVersion
=
selectUpTime
.
get
(
0
).
getRowVersion
();
}
param
.
put
(
"lastUpTime"
,
""
);
param
.
put
(
"state"
,
0
);
...
...
@@ -118,86 +118,86 @@ public class TimeTasksController {
for
(
int
i
=
0
;
i
<
data
.
size
();
i
++){
JSONObject
jsonObject
=
data
.
getJSONObject
(
i
);
TLpgGasBottleFiles
tLpgGasBottleFiles
=
new
TLpgGasBottleFiles
();
tLpgGasBottleFiles
.
set
f
RegCode
(
jsonObject
.
getString
(
"regCode"
));
tLpgGasBottleFiles
.
set
f
EquNo
(
jsonObject
.
getString
(
"equNo"
));
tLpgGasBottleFiles
.
set
f
EquType
(
jsonObject
.
getString
(
"equType"
));
tLpgGasBottleFiles
.
set
f
Medium
(
jsonObject
.
getString
(
"medium"
));
tLpgGasBottleFiles
.
set
f
MakeDate
(
jsonObject
.
getDate
(
"makeDate"
));
tLpgGasBottleFiles
.
set
f
MakeInfo
(
jsonObject
.
getString
(
"makeInfo"
));
tLpgGasBottleFiles
.
set
f
SelfId
(
jsonObject
.
getString
(
"selfId"
));
tLpgGasBottleFiles
.
setRegCode
(
jsonObject
.
getString
(
"regCode"
));
tLpgGasBottleFiles
.
setEquNo
(
jsonObject
.
getString
(
"equNo"
));
tLpgGasBottleFiles
.
setEquType
(
jsonObject
.
getString
(
"equType"
));
tLpgGasBottleFiles
.
setMedium
(
jsonObject
.
getString
(
"medium"
));
tLpgGasBottleFiles
.
setMakeDate
(
jsonObject
.
getDate
(
"makeDate"
));
tLpgGasBottleFiles
.
setMakeInfo
(
jsonObject
.
getString
(
"makeInfo"
));
tLpgGasBottleFiles
.
setSelfId
(
jsonObject
.
getString
(
"selfId"
));
String
pressure
=
jsonObject
.
getString
(
"pressure"
);
if
(
pressure
!=
null
&&
!
pressure
.
isEmpty
())
{
tLpgGasBottleFiles
.
set
f
Pressure
(
new
BigDecimal
(
pressure
));
tLpgGasBottleFiles
.
setPressure
(
new
BigDecimal
(
pressure
));
}
else
{
tLpgGasBottleFiles
.
set
f
Pressure
(
new
BigDecimal
(
0
));
tLpgGasBottleFiles
.
setPressure
(
new
BigDecimal
(
0
));
}
String
volume
=
jsonObject
.
getString
(
"volume"
);
if
(
volume
!=
null
&&
!
volume
.
isEmpty
())
{
tLpgGasBottleFiles
.
set
f
Volume
(
new
BigDecimal
(
volume
));
tLpgGasBottleFiles
.
setVolume
(
new
BigDecimal
(
volume
));
}
else
{
tLpgGasBottleFiles
.
set
f
Volume
(
new
BigDecimal
(
0
));
tLpgGasBottleFiles
.
setVolume
(
new
BigDecimal
(
0
));
}
tLpgGasBottleFiles
.
set
f
AppId
(
jsonObject
.
getString
(
"appId"
));
tLpgGasBottleFiles
.
set
fQ
Rcode
(
jsonObject
.
getString
(
"qRcode"
));
tLpgGasBottleFiles
.
set
f
BuildUser
(
jsonObject
.
getString
(
"buildUser"
));
tLpgGasBottleFiles
.
set
f
AddTime
(
jsonObject
.
getDate
(
"addtime"
));
tLpgGasBottleFiles
.
set
f
OptName
(
jsonObject
.
getString
(
"optName"
));
tLpgGasBottleFiles
.
set
f
UpTime
(
jsonObject
.
getDate
(
"uptime"
));
tLpgGasBottleFiles
.
set
f
State
(
jsonObject
.
getString
(
"state"
));
tLpgGasBottleFiles
.
set
f
UpOptName
(
jsonObject
.
getString
(
"upOptName"
));
tLpgGasBottleFiles
.
set
fP
ChkDate
(
jsonObject
.
getDate
(
"pChkDate"
));
tLpgGasBottleFiles
.
set
fN
ChkDate
(
jsonObject
.
getDate
(
"nChkDate"
));
tLpgGasBottleFiles
.
set
f
ProductDate
(
jsonObject
.
getDate
(
"productDate"
));
tLpgGasBottleFiles
.
set
f
DiscardDate
(
jsonObject
.
getDate
(
"discardDate"
));
tLpgGasBottleFiles
.
set
f
SafeJudgeDate
(
jsonObject
.
getDate
(
"safeJudgeDate"
));
tLpgGasBottleFiles
.
setAppId
(
jsonObject
.
getString
(
"appId"
));
tLpgGasBottleFiles
.
set
q
Rcode
(
jsonObject
.
getString
(
"qRcode"
));
tLpgGasBottleFiles
.
setBuildUser
(
jsonObject
.
getString
(
"buildUser"
));
tLpgGasBottleFiles
.
setAddTime
(
jsonObject
.
getDate
(
"addtime"
));
tLpgGasBottleFiles
.
setOptName
(
jsonObject
.
getString
(
"optName"
));
tLpgGasBottleFiles
.
setUpTime
(
jsonObject
.
getDate
(
"uptime"
));
tLpgGasBottleFiles
.
setState
(
jsonObject
.
getString
(
"state"
));
tLpgGasBottleFiles
.
setUpOptName
(
jsonObject
.
getString
(
"upOptName"
));
tLpgGasBottleFiles
.
set
p
ChkDate
(
jsonObject
.
getDate
(
"pChkDate"
));
tLpgGasBottleFiles
.
set
n
ChkDate
(
jsonObject
.
getDate
(
"nChkDate"
));
tLpgGasBottleFiles
.
setProductDate
(
jsonObject
.
getDate
(
"productDate"
));
tLpgGasBottleFiles
.
setDiscardDate
(
jsonObject
.
getDate
(
"discardDate"
));
tLpgGasBottleFiles
.
setSafeJudgeDate
(
jsonObject
.
getDate
(
"safeJudgeDate"
));
String
gpressure
=
jsonObject
.
getString
(
"gpressure"
);
if
(
gpressure
!=
null
&&
!
gpressure
.
isEmpty
())
{
tLpgGasBottleFiles
.
set
fG
Pressure
(
new
BigDecimal
(
gpressure
));
tLpgGasBottleFiles
.
set
g
Pressure
(
new
BigDecimal
(
gpressure
));
}
else
{
tLpgGasBottleFiles
.
set
fG
Pressure
(
new
BigDecimal
(
0
));
tLpgGasBottleFiles
.
set
g
Pressure
(
new
BigDecimal
(
0
));
}
String
wpressure
=
jsonObject
.
getString
(
"wpressure"
);
if
(
wpressure
!=
null
&&
!
wpressure
.
isEmpty
())
{
tLpgGasBottleFiles
.
set
fW
Pressure
(
new
BigDecimal
(
wpressure
));
tLpgGasBottleFiles
.
set
w
Pressure
(
new
BigDecimal
(
wpressure
));
}
else
{
tLpgGasBottleFiles
.
set
fW
Pressure
(
new
BigDecimal
(
0
));
tLpgGasBottleFiles
.
set
w
Pressure
(
new
BigDecimal
(
0
));
}
String
selfWeight
=
jsonObject
.
getString
(
"selfWeight"
);
if
(
selfWeight
!=
null
&&
!
selfWeight
.
isEmpty
())
{
tLpgGasBottleFiles
.
set
f
SelfWeight
(
new
BigDecimal
(
selfWeight
));
tLpgGasBottleFiles
.
setSelfWeight
(
new
BigDecimal
(
selfWeight
));
}
else
{
tLpgGasBottleFiles
.
set
f
SelfWeight
(
new
BigDecimal
(
0
));
tLpgGasBottleFiles
.
setSelfWeight
(
new
BigDecimal
(
0
));
}
String
thickness
=
jsonObject
.
getString
(
"thickness"
);
if
(
thickness
!=
null
&&
!
thickness
.
isEmpty
())
{
tLpgGasBottleFiles
.
set
f
Thickness
(
new
BigDecimal
(
thickness
));
tLpgGasBottleFiles
.
setThickness
(
new
BigDecimal
(
thickness
));
}
else
{
tLpgGasBottleFiles
.
set
f
Thickness
(
new
BigDecimal
(
0
));
tLpgGasBottleFiles
.
setThickness
(
new
BigDecimal
(
0
));
}
tLpgGasBottleFiles
.
set
f
PermitNo
(
jsonObject
.
getString
(
"permitNo"
));
tLpgGasBottleFiles
.
set
f
ValveName
(
jsonObject
.
getString
(
"valveTypeName"
));
tLpgGasBottleFiles
.
set
f
PayImage
(
jsonObject
.
getString
(
"payImage"
));
tLpgGasBottleFiles
.
set
f
BatchImage
(
jsonObject
.
getString
(
"batchImage"
));
tLpgGasBottleFiles
.
set
f
DeviceImage
(
jsonObject
.
getString
(
"deviceImage"
));
tLpgGasBottleFiles
.
set
f
CheckImage
(
jsonObject
.
getString
(
"checkImage"
));
tLpgGasBottleFiles
.
set
f
EquNoImage
(
jsonObject
.
getString
(
"equNoImage"
));
tLpgGasBottleFiles
.
set
f
SelfIdImage
(
jsonObject
.
getString
(
"selfIdImage"
));
tLpgGasBottleFiles
.
set
f
BotImage
(
jsonObject
.
getString
(
"botImage"
));
tLpgGasBottleFiles
.
set
fBotSpecNam
e
(
jsonObject
.
getString
(
"botSpecName"
));
tLpgGasBottleFiles
.
set
f
BottleType
(
jsonObject
.
getString
(
"bottleType"
));
tLpgGasBottleFiles
.
setPermitNo
(
jsonObject
.
getString
(
"permitNo"
));
tLpgGasBottleFiles
.
setValveName
(
jsonObject
.
getString
(
"valveTypeName"
));
tLpgGasBottleFiles
.
setPayImage
(
jsonObject
.
getString
(
"payImage"
));
tLpgGasBottleFiles
.
setBatchImage
(
jsonObject
.
getString
(
"batchImage"
));
tLpgGasBottleFiles
.
setDeviceImage
(
jsonObject
.
getString
(
"deviceImage"
));
tLpgGasBottleFiles
.
setCheckImage
(
jsonObject
.
getString
(
"checkImage"
));
tLpgGasBottleFiles
.
setEquNoImage
(
jsonObject
.
getString
(
"equNoImage"
));
tLpgGasBottleFiles
.
setSelfIdImage
(
jsonObject
.
getString
(
"selfIdImage"
));
tLpgGasBottleFiles
.
setBotImage
(
jsonObject
.
getString
(
"botImage"
));
tLpgGasBottleFiles
.
set
BatchImag
e
(
jsonObject
.
getString
(
"botSpecName"
));
tLpgGasBottleFiles
.
setBottleType
(
jsonObject
.
getString
(
"bottleType"
));
String
inspectedTimes
=
jsonObject
.
getString
(
"inspectedTimes"
);
if
(
inspectedTimes
!=
null
&&
!
inspectedTimes
.
isEmpty
())
{
tLpgGasBottleFiles
.
set
f
InspectedTimes
(
Long
.
valueOf
(
inspectedTimes
));
tLpgGasBottleFiles
.
setInspectedTimes
(
Long
.
valueOf
(
inspectedTimes
));
}
else
{
tLpgGasBottleFiles
.
set
f
InspectedTimes
(
0L
);
tLpgGasBottleFiles
.
setInspectedTimes
(
0L
);
}
tLpgGasBottleFiles
.
set
f
IsSpecialized
(
jsonObject
.
getString
(
"isSpecialized"
));
tLpgGasBottleFiles
.
set
f
ValveManuFacturer
(
jsonObject
.
getString
(
"valveManufacturer"
));
tLpgGasBottleFiles
.
set
f
InspectionLabel
(
jsonObject
.
getString
(
"inspectionLabel"
));
tLpgGasBottleFiles
.
set
f
ThirdPartyLabel
(
jsonObject
.
getString
(
"thirdPartyLabel"
));
tLpgGasBottleFiles
.
set
f
HoleCode
(
jsonObject
.
getString
(
"holeCode"
));
tLpgGasBottleFiles
.
set
f
BottleStorageType
(
jsonObject
.
getString
(
"bottleStorageType"
));
tLpgGasBottleFiles
.
set
f
RowVersion
(
jsonObject
.
getString
(
"rowVersion"
));
tLpgGasBottleFiles
.
setIsSpecialized
(
jsonObject
.
getString
(
"isSpecialized"
));
tLpgGasBottleFiles
.
setValveManuFacturer
(
jsonObject
.
getString
(
"valveManufacturer"
));
tLpgGasBottleFiles
.
setInspectionLabel
(
jsonObject
.
getString
(
"inspectionLabel"
));
tLpgGasBottleFiles
.
setThirdPartyLabel
(
jsonObject
.
getString
(
"thirdPartyLabel"
));
tLpgGasBottleFiles
.
setHoleCode
(
jsonObject
.
getString
(
"holeCode"
));
tLpgGasBottleFiles
.
setBottleStorageType
(
jsonObject
.
getString
(
"bottleStorageType"
));
tLpgGasBottleFiles
.
setRowVersion
(
jsonObject
.
getString
(
"rowVersion"
));
tLpgGasBottleFilesService
.
insertTLpgGasBottleFiles
(
tLpgGasBottleFiles
);
}
if
(
data
.
size
()==
100
){
...
...
zh-baseversion-system/src/main/java/com/zehong/system/domain/TLpgGasBottleFiles.java
View file @
53052611
...
...
@@ -19,652 +19,605 @@ public class TLpgGasBottleFiles extends BaseEntity
private
static
final
long
serialVersionUID
=
1L
;
/** id */
private
Long
fG
asBottleFilesId
;
private
Long
g
asBottleFilesId
;
/** 生产(制造单位) */
@Excel
(
name
=
"生产(制造单位) "
,
width
=
30
)
private
String
fM
akeInfo
;
private
String
m
akeInfo
;
/** 气瓶条码 */
@Excel
(
name
=
"气瓶条码"
,
width
=
30
)
private
String
fQ
Rcode
;
private
String
q
Rcode
;
/** 登记证号 */
@Excel
(
name
=
"登记证号"
,
width
=
30
)
private
String
fR
egCode
;
private
String
r
egCode
;
/** 产品编号 */
@Excel
(
name
=
"产品编号"
,
width
=
30
)
private
String
fE
quNo
;
private
String
e
quNo
;
/** 设备类型 */
@Excel
(
name
=
"设备类型"
,
width
=
30
)
private
String
fE
quType
;
private
String
e
quType
;
/** 充装介质 */
@Excel
(
name
=
"充装介质"
,
width
=
30
)
private
String
fM
edium
;
private
String
m
edium
;
/** 生产日期 */
@JsonFormat
(
pattern
=
"yyyy-MM-dd"
)
@Excel
(
name
=
"生产日期"
,
width
=
30
,
dateFormat
=
"yyyy-MM-dd"
)
private
Date
fM
akeDate
;
private
Date
m
akeDate
;
/** 单位内编号 */
@Excel
(
name
=
"单位内编号"
,
width
=
30
)
private
String
fS
elfId
;
private
String
s
elfId
;
/** 压力 */
@Excel
(
name
=
"压力"
,
width
=
30
)
private
BigDecimal
fP
ressure
;
private
BigDecimal
p
ressure
;
/** 体积 */
private
BigDecimal
fV
olume
;
private
BigDecimal
v
olume
;
/** 电子标签 */
private
String
fA
ppId
;
private
String
a
ppId
;
/** 使用单位 */
@Excel
(
name
=
"使用单位"
,
width
=
30
)
private
String
fB
uildUser
;
private
String
b
uildUser
;
/** 录入日期 */
private
Date
fA
ddTime
;
private
Date
a
ddTime
;
/** 录入人姓名 */
private
String
fO
ptName
;
private
String
o
ptName
;
/** 更新日期 */
private
Date
fU
pTime
;
private
Date
u
pTime
;
/** 状态1 新增、2 修改、-1、删除 (默认1) 3.注销 */
@Excel
(
name
=
"气瓶状态 "
,
readConverterExp
=
"1=新增,2=修改,-1=删除"
)
private
String
fS
tate
;
private
String
s
tate
;
/** 修改人姓名 */
private
String
fU
pOptName
;
private
String
u
pOptName
;
/** 上检日期 */
@JsonFormat
(
pattern
=
"yyyy-MM-dd"
)
@Excel
(
name
=
"上检日期"
,
width
=
30
,
dateFormat
=
"yyyy-MM-dd"
)
private
Date
fP
ChkDate
;
private
Date
p
ChkDate
;
/** 下检日期 */
@JsonFormat
(
pattern
=
"yyyy-MM-dd"
)
@Excel
(
name
=
"下检日期"
,
width
=
30
,
dateFormat
=
"yyyy-MM-dd"
)
private
Date
fN
ChkDate
;
private
Date
n
ChkDate
;
/** 生产日期 */
@JsonFormat
(
pattern
=
"yyyy-MM-dd"
)
@Excel
(
name
=
"生产日期"
,
width
=
30
,
dateFormat
=
"yyyy-MM-dd"
)
private
Date
fP
roductDate
;
private
Date
p
roductDate
;
/** 报废日期 */
@JsonFormat
(
pattern
=
"yyyy-MM-dd"
)
@Excel
(
name
=
"报废日期"
,
width
=
30
,
dateFormat
=
"yyyy-MM-dd"
)
private
Date
fD
iscardDate
;
private
Date
d
iscardDate
;
/** 安全评定日期 */
@JsonFormat
(
pattern
=
"yyyy-MM-dd"
)
@Excel
(
name
=
"安全评定日期"
,
width
=
30
,
dateFormat
=
"yyyy-MM-dd"
)
private
Date
fS
afeJudgeDate
;
private
Date
s
afeJudgeDate
;
/** 公称压力Mpa */
@Excel
(
name
=
"公称压力/Mpa"
)
private
BigDecimal
fG
Pressure
;
private
BigDecimal
g
Pressure
;
/** 水试验压力Mpa */
@Excel
(
name
=
"水试验压力/Mpa"
)
private
BigDecimal
fW
Pressure
;
private
BigDecimal
w
Pressure
;
/** 标准重量KG */
@Excel
(
name
=
"标准重量/KG"
)
private
BigDecimal
fS
elfWeight
;
private
BigDecimal
s
elfWeight
;
/** 壁厚mm */
@Excel
(
name
=
"壁厚/mm"
)
private
BigDecimal
fT
hickness
;
private
BigDecimal
t
hickness
;
/** 气瓶许可证号 */
@Excel
(
name
=
"气瓶许可证号"
)
private
String
fP
ermitNo
;
private
String
p
ermitNo
;
/** 阀类型名称 */
@Excel
(
name
=
"阀类型名称"
)
private
String
fV
alveName
;
private
String
v
alveName
;
/** 钢瓶交付文件照片 */
@Excel
(
name
=
"钢瓶交付文件照片"
)
private
String
fP
ayImage
;
//
@Excel(name = "钢瓶交付文件照片")
private
String
p
ayImage
;
/** 检验质量证明书照片 */
@Excel
(
name
=
"检验质量证明书照片"
)
private
String
fB
atchImage
;
//
@Excel(name = "检验质量证明书照片")
private
String
b
atchImage
;
/** 制造监督检验证书照片 */
@Excel
(
name
=
"制造监督检验证书照片"
)
private
String
fD
eviceImage
;
//
@Excel(name = "制造监督检验证书照片")
private
String
d
eviceImage
;
/** 检验报告照片 */
@Excel
(
name
=
"检验报告照片"
)
private
String
fC
heckImage
;
//
@Excel(name = "检验报告照片")
private
String
c
heckImage
;
/** 产品编号照片 */
@Excel
(
name
=
"产品编号照片"
)
private
String
fE
quNoImage
;
//
@Excel(name = "产品编号照片")
private
String
e
quNoImage
;
/** 单位内编号照片 */
@Excel
(
name
=
"单位内编号照片"
)
private
String
fS
elfIdImage
;
//
@Excel(name = "单位内编号照片")
private
String
s
elfIdImage
;
/** 钢瓶信息照片 */
@Excel
(
name
=
"钢瓶信息照片"
)
private
String
fB
otImage
;
//
@Excel(name = "钢瓶信息照片")
private
String
b
otImage
;
/** 钢瓶规格名称 */
@Excel
(
name
=
"钢瓶规格名称"
)
private
String
fB
otSpecName
;
private
String
b
otSpecName
;
/** 钢瓶型号 */
@Excel
(
name
=
"钢瓶型号"
)
private
String
fB
ottleType
;
private
String
b
ottleType
;
/** 已检验次数 */
@Excel
(
name
=
"已检验次数"
)
private
Long
fI
nspectedTimes
;
private
Long
i
nspectedTimes
;
/** 是否专用(1:专用 2:托管) */
@Excel
(
name
=
"是否专用"
)
private
String
fI
sSpecialized
;
private
String
i
sSpecialized
;
/** 阀厂家 */
@Excel
(
name
=
"阀厂家"
)
private
String
fV
alveManuFacturer
;
private
String
v
alveManuFacturer
;
/** 检验标牌(有/无) */
@Excel
(
name
=
"检验标牌"
)
private
String
fI
nspectionLabel
;
private
String
i
nspectionLabel
;
/** 第三方标签 */
@Excel
(
name
=
"第三方标签"
)
private
String
fT
hirdPartyLabel
;
private
String
t
hirdPartyLabel
;
/** 孔洞码 */
@Excel
(
name
=
"孔洞码"
)
private
String
fH
oleCode
;
private
String
h
oleCode
;
/** 存储类型(气相/液相) */
@Excel
(
name
=
"存储类型"
)
private
String
fB
ottleStorageType
;
private
String
b
ottleStorageType
;
private
String
fR
owVersion
;
private
String
r
owVersion
;
public
String
getfRowVersion
()
{
return
fRowVersion
;
public
Long
getGasBottleFilesId
()
{
return
gasBottleFilesId
;
}
public
void
set
fRowVersion
(
String
fRowVersion
)
{
this
.
fRowVersion
=
fRowVersion
;
public
void
set
GasBottleFilesId
(
Long
gasBottleFilesId
)
{
this
.
gasBottleFilesId
=
gasBottleFilesId
;
}
public
String
get
fValveName
()
{
return
fValveName
;
public
String
get
MakeInfo
()
{
return
makeInfo
;
}
public
void
set
fValveName
(
String
fValveName
)
{
this
.
fValveName
=
fValveName
;
public
void
set
MakeInfo
(
String
makeInfo
)
{
this
.
makeInfo
=
makeInfo
;
}
public
String
get
fStat
e
()
{
return
fStat
e
;
public
String
get
qRcod
e
()
{
return
qRcod
e
;
}
public
void
set
fState
(
String
fStat
e
)
{
this
.
fState
=
fStat
e
;
public
void
set
qRcode
(
String
qRcod
e
)
{
this
.
qRcode
=
qRcod
e
;
}
public
String
get
fBuildUser
()
{
return
fBuildUser
;
public
String
get
RegCode
()
{
return
regCode
;
}
public
void
set
fBuildUser
(
String
fBuildUser
)
{
this
.
fBuildUser
=
fBuildUser
;
public
void
set
RegCode
(
String
regCode
)
{
this
.
regCode
=
regCode
;
}
public
void
setfGasBottleFilesId
(
Long
fGasBottleFilesId
)
{
this
.
fGasBottleFilesId
=
fGasBottleFilesId
;
public
String
getEquNo
()
{
return
equNo
;
}
public
Long
getfGasBottleFilesId
()
{
return
fGasBottleFilesId
;
public
void
setEquNo
(
String
equNo
)
{
this
.
equNo
=
equNo
;
}
public
void
setfRegCode
(
String
fRegCode
)
{
this
.
fRegCode
=
fRegCod
e
;
public
String
getEquType
(
)
{
return
equTyp
e
;
}
public
String
getfRegCode
()
{
return
fRegCode
;
public
void
setEquType
(
String
equType
)
{
this
.
equType
=
equType
;
}
public
void
setfEquNo
(
String
fEquNo
)
{
this
.
fEquNo
=
fEquNo
;
public
String
getMedium
()
{
return
medium
;
}
public
String
getfEquNo
()
{
return
fEquNo
;
public
void
setMedium
(
String
medium
)
{
this
.
medium
=
medium
;
}
public
void
setfEquType
(
String
fEquType
)
{
this
.
fEquType
=
fEquType
;
public
Date
getMakeDate
()
{
return
makeDate
;
}
public
String
getfEquType
()
{
return
fEquType
;
public
void
setMakeDate
(
Date
makeDate
)
{
this
.
makeDate
=
makeDate
;
}
public
void
setfMedium
(
String
fMedium
)
{
this
.
fMedium
=
fMedium
;
public
String
getSelfId
()
{
return
selfId
;
}
public
String
getfMedium
()
{
return
fMedium
;
public
void
setSelfId
(
String
selfId
)
{
this
.
selfId
=
selfId
;
}
public
void
setfMakeDate
(
Date
fMakeDate
)
{
this
.
fMakeDate
=
fMakeDat
e
;
public
BigDecimal
getPressure
()
{
return
pressur
e
;
}
public
Date
getfMakeDate
()
{
return
fMakeDate
;
public
void
setPressure
(
BigDecimal
pressure
)
{
this
.
pressure
=
pressure
;
}
public
void
setfMakeInfo
(
String
fMakeInfo
)
{
this
.
fMakeInfo
=
fMakeInfo
;
public
BigDecimal
getVolume
()
{
return
volume
;
}
public
String
getfMakeInfo
()
{
return
fMakeInfo
;
public
void
setVolume
(
BigDecimal
volume
)
{
this
.
volume
=
volume
;
}
public
void
setfSelfId
(
String
fSelfId
)
{
this
.
fSelfId
=
fSelf
Id
;
public
String
getAppId
()
{
return
app
Id
;
}
public
String
getfSelfId
()
{
return
fSelfId
;
public
void
setAppId
(
String
appId
)
{
this
.
appId
=
appId
;
}
public
void
setfPressure
(
BigDecimal
fPressure
)
{
this
.
fPressure
=
fPressure
;
public
String
getBuildUser
()
{
return
buildUser
;
}
public
BigDecimal
getfPressure
()
{
return
fPressure
;
public
void
setBuildUser
(
String
buildUser
)
{
this
.
buildUser
=
buildUser
;
}
public
void
setfVolume
(
BigDecimal
fVolume
)
{
this
.
fVolume
=
fVolu
me
;
public
Date
getAddTime
()
{
return
addTi
me
;
}
public
BigDecimal
getfVolume
()
{
return
fVolume
;
public
void
setAddTime
(
Date
addTime
)
{
this
.
addTime
=
addTime
;
}
public
void
setfAppId
(
String
fAppId
)
{
this
.
fAppId
=
fAppId
;
public
String
getOptName
()
{
return
optName
;
}
public
String
getfAppId
()
{
return
fAppId
;
public
void
setOptName
(
String
optName
)
{
this
.
optName
=
optName
;
}
public
void
setfQRcode
(
String
fQRcode
)
{
this
.
fQRcode
=
fQRcod
e
;
public
Date
getUpTime
()
{
return
upTim
e
;
}
public
String
getfQRcode
()
{
return
fQRcode
;
public
void
setUpTime
(
Date
upTime
)
{
this
.
upTime
=
upTime
;
}
public
void
setfPChkDate
(
Date
fPChkDate
)
{
this
.
fPChkDate
=
fPChkDate
;
public
String
getState
()
{
return
state
;
}
public
Date
getfPChkDate
()
{
return
fPChkDate
;
public
void
setState
(
String
state
)
{
this
.
state
=
state
;
}
public
void
setfNChkDate
(
Date
fNChkDate
)
{
this
.
fNChkDate
=
fNChkDat
e
;
public
String
getUpOptName
()
{
return
upOptNam
e
;
}
public
Date
getfNChkDate
()
{
return
fNChkDate
;
public
void
setUpOptName
(
String
upOptName
)
{
this
.
upOptName
=
upOptName
;
}
public
void
setfProductDate
(
Date
fProductDate
)
{
this
.
fProductDate
=
fProduct
Date
;
public
Date
getpChkDate
()
{
return
pChk
Date
;
}
public
Date
getfProductDate
()
{
return
fProductDate
;
public
void
setpChkDate
(
Date
pChkDate
)
{
this
.
pChkDate
=
pChkDate
;
}
public
void
setfDiscardDate
(
Date
fDiscardDate
)
{
this
.
fDiscardDate
=
fDiscard
Date
;
public
Date
getnChkDate
()
{
return
nChk
Date
;
}
public
Date
getfDiscardDate
()
{
return
fDiscardDate
;
public
void
setnChkDate
(
Date
nChkDate
)
{
this
.
nChkDate
=
nChkDate
;
}
public
void
setfSafeJudgeDate
(
Date
fSafeJudgeDate
)
{
this
.
fSafeJudgeDate
=
fSafeJudge
Date
;
public
Date
getProductDate
()
{
return
product
Date
;
}
public
Date
getfSafeJudgeDate
()
{
return
fSafeJudgeDate
;
public
void
setProductDate
(
Date
productDate
)
{
this
.
productDate
=
productDate
;
}
public
void
setfGPressure
(
BigDecimal
fGPressure
)
{
this
.
fGPressure
=
fGPressur
e
;
public
Date
getDiscardDate
()
{
return
discardDat
e
;
}
public
BigDecimal
getfGPressure
()
{
return
fGPressure
;
public
void
setDiscardDate
(
Date
discardDate
)
{
this
.
discardDate
=
discardDate
;
}
public
void
setfWPressure
(
BigDecimal
fWPressure
)
{
this
.
fWPressure
=
fWPressur
e
;
public
Date
getSafeJudgeDate
()
{
return
safeJudgeDat
e
;
}
public
BigDecimal
getfWPressure
()
{
return
fWPressure
;
public
void
setSafeJudgeDate
(
Date
safeJudgeDate
)
{
this
.
safeJudgeDate
=
safeJudgeDate
;
}
public
void
setfSelfWeight
(
BigDecimal
fSelfWeight
)
{
this
.
fSelfWeight
=
fSelfWeight
;
public
BigDecimal
getgPressure
()
{
return
gPressure
;
}
public
BigDecimal
getfSelfWeight
()
{
return
fSelfWeight
;
public
void
setgPressure
(
BigDecimal
gPressure
)
{
this
.
gPressure
=
gPressure
;
}
public
void
setfThickness
(
BigDecimal
fThickness
)
{
this
.
fThickness
=
fThickness
;
public
BigDecimal
getwPressure
()
{
return
wPressure
;
}
public
BigDecimal
getfThickness
()
{
return
fThickness
;
public
void
setwPressure
(
BigDecimal
wPressure
)
{
this
.
wPressure
=
wPressure
;
}
public
void
setfPermitNo
(
String
fPermitNo
)
{
this
.
fPermitNo
=
fPermitNo
;
public
BigDecimal
getSelfWeight
()
{
return
selfWeight
;
}
public
String
getfPermitNo
()
{
return
fPermitNo
;
public
void
setSelfWeight
(
BigDecimal
selfWeight
)
{
this
.
selfWeight
=
selfWeight
;
}
public
void
setfPayImage
(
String
fPayImage
)
{
this
.
fPayImage
=
fPayImage
;
public
BigDecimal
getThickness
()
{
return
thickness
;
}
public
String
getfPayImage
()
{
return
fPayImage
;
public
void
setThickness
(
BigDecimal
thickness
)
{
this
.
thickness
=
thickness
;
}
public
void
setfBatchImage
(
String
fBatchImage
)
{
this
.
fBatchImage
=
fBatchImage
;
public
String
getPermitNo
()
{
return
permitNo
;
}
public
String
getfBatchImage
()
{
return
fBatchImage
;
public
void
setPermitNo
(
String
permitNo
)
{
this
.
permitNo
=
permitNo
;
}
public
void
setfDeviceImage
(
String
fDeviceImage
)
{
this
.
fDeviceImage
=
fDeviceImag
e
;
public
String
getValveName
()
{
return
valveNam
e
;
}
public
String
getfDeviceImage
()
{
return
fDeviceImage
;
public
void
setValveName
(
String
valveName
)
{
this
.
valveName
=
valveName
;
}
public
void
setfCheckImage
(
String
fCheckImage
)
{
this
.
fCheckImage
=
fCheck
Image
;
public
String
getPayImage
()
{
return
pay
Image
;
}
public
String
getfCheckImage
()
{
return
fCheckImage
;
public
void
setPayImage
(
String
payImage
)
{
this
.
payImage
=
payImage
;
}
public
void
setfEquNoImage
(
String
fEquNoImage
)
{
this
.
fEquNoImage
=
fEquNo
Image
;
public
String
getBatchImage
()
{
return
batch
Image
;
}
public
String
getfEquNoImage
()
{
return
fEquNoImage
;
public
void
setBatchImage
(
String
batchImage
)
{
this
.
batchImage
=
batchImage
;
}
public
void
setfSelfIdImage
(
String
fSelfIdImage
)
{
this
.
fSelfIdImage
=
fSelfId
Image
;
public
String
getDeviceImage
()
{
return
device
Image
;
}
public
String
getfSelfIdImage
()
{
return
fSelfIdImage
;
public
void
setDeviceImage
(
String
deviceImage
)
{
this
.
deviceImage
=
deviceImage
;
}
public
void
setfBotImage
(
String
fBotImage
)
{
this
.
fBotImage
=
fBot
Image
;
public
String
getCheckImage
()
{
return
check
Image
;
}
public
String
getfBotImage
()
{
return
fBotImage
;
public
void
setCheckImage
(
String
checkImage
)
{
this
.
checkImage
=
checkImage
;
}
public
void
setfBotSpecName
(
String
fBotSpecName
)
{
this
.
fBotSpecName
=
fBotSpecName
;
public
String
getEquNoImage
()
{
return
equNoImage
;
}
public
String
getfBotSpecName
()
{
return
fBotSpecName
;
public
void
setEquNoImage
(
String
equNoImage
)
{
this
.
equNoImage
=
equNoImage
;
}
public
void
setfBottleType
(
String
fBottleType
)
{
this
.
fBottleType
=
fBottleTyp
e
;
public
String
getSelfIdImage
()
{
return
selfIdImag
e
;
}
public
String
getfBottleType
()
{
return
fBottleType
;
public
void
setSelfIdImage
(
String
selfIdImage
)
{
this
.
selfIdImage
=
selfIdImage
;
}
public
void
setfInspectedTimes
(
Long
fInspectedTimes
)
{
this
.
fInspectedTimes
=
fInspectedTimes
;
public
String
getBotImage
()
{
return
botImage
;
}
public
Long
getfInspectedTimes
()
{
return
fInspectedTimes
;
public
void
setBotImage
(
String
botImage
)
{
this
.
botImage
=
botImage
;
}
public
void
setfIsSpecialized
(
String
fIsSpecialized
)
{
this
.
fIsSpecialized
=
fIsSpecialized
;
public
String
getBotSpecName
()
{
return
botSpecName
;
}
public
String
getfIsSpecialized
()
{
return
fIsSpecialized
;
public
void
setBotSpecName
(
String
botSpecName
)
{
this
.
botSpecName
=
botSpecName
;
}
public
void
setfValveManuFacturer
(
String
fValveManuFacturer
)
{
this
.
fValveManuFacturer
=
fValveManuFacturer
;
public
String
getBottleType
()
{
return
bottleType
;
}
public
String
getfValveManuFacturer
()
{
return
fValveManuFacturer
;
public
void
setBottleType
(
String
bottleType
)
{
this
.
bottleType
=
bottleType
;
}
public
void
setfInspectionLabel
(
String
fInspectionLabel
)
{
this
.
fInspectionLabel
=
fInspectionLabel
;
public
Long
getInspectedTimes
()
{
return
inspectedTimes
;
}
public
String
getfInspectionLabel
()
{
return
fInspectionLabel
;
public
void
setInspectedTimes
(
Long
inspectedTimes
)
{
this
.
inspectedTimes
=
inspectedTimes
;
}
public
void
setfThirdPartyLabel
(
String
fThirdPartyLabel
)
{
this
.
fThirdPartyLabel
=
fThirdPartyLabel
;
public
String
getIsSpecialized
()
{
return
isSpecialized
;
}
public
String
getfThirdPartyLabel
()
{
return
fThirdPartyLabel
;
public
void
setIsSpecialized
(
String
isSpecialized
)
{
this
.
isSpecialized
=
isSpecialized
;
}
public
void
setfHoleCode
(
String
fHoleCode
)
{
this
.
fHoleCode
=
fHoleCode
;
public
String
getValveManuFacturer
()
{
return
valveManuFacturer
;
}
public
String
getfHoleCode
()
{
return
fHoleCode
;
public
void
setValveManuFacturer
(
String
valveManuFacturer
)
{
this
.
valveManuFacturer
=
valveManuFacturer
;
}
public
void
setfBottleStorageType
(
String
fBottleStorageType
)
{
this
.
fBottleStorageType
=
fBottleStorageType
;
public
String
getInspectionLabel
()
{
return
inspectionLabel
;
}
public
String
getfBottleStorageType
()
{
return
fBottleStorageType
;
public
void
setInspectionLabel
(
String
inspectionLabel
)
{
this
.
inspectionLabel
=
inspectionLabel
;
}
public
void
setfOptName
(
String
fOptName
)
{
this
.
fOptName
=
fOptName
;
public
String
getThirdPartyLabel
()
{
return
thirdPartyLabel
;
}
public
String
getfOptName
()
{
return
fOptName
;
public
void
setThirdPartyLabel
(
String
thirdPartyLabel
)
{
this
.
thirdPartyLabel
=
thirdPartyLabel
;
}
public
void
setfAddTime
(
Date
fAddTime
)
{
this
.
fAddTime
=
fAddTim
e
;
public
String
getHoleCode
()
{
return
holeCod
e
;
}
public
Date
getfAddTime
()
{
return
fAddTime
;
public
void
setHoleCode
(
String
holeCode
)
{
this
.
holeCode
=
holeCode
;
}
public
void
setfUpTime
(
Date
fUpTime
)
{
this
.
fUpTime
=
fUpTim
e
;
public
String
getBottleStorageType
()
{
return
bottleStorageTyp
e
;
}
public
Date
getfUpTime
()
{
return
fUpTime
;
public
void
setBottleStorageType
(
String
bottleStorageType
)
{
this
.
bottleStorageType
=
bottleStorageType
;
}
public
void
setfUpOptName
(
String
fUpOptName
)
{
this
.
fUpOptName
=
fUpOptName
;
public
String
getRowVersion
()
{
return
rowVersion
;
}
public
String
getfUpOptName
()
{
return
fUpOptName
;
public
void
setRowVersion
(
String
rowVersion
)
{
this
.
rowVersion
=
rowVersion
;
}
@Override
public
String
toString
()
{
return
new
ToStringBuilder
(
this
,
ToStringStyle
.
MULTI_LINE_STYLE
)
.
append
(
"fGasBottleFilesId"
,
getfGasBottleFilesId
())
.
append
(
"fRegCode"
,
getfRegCode
())
.
append
(
"fEquNo"
,
getfEquNo
())
.
append
(
"fEquType"
,
getfEquType
())
.
append
(
"fMedium"
,
getfMedium
())
.
append
(
"fMakeDate"
,
getfMakeDate
())
.
append
(
"fMakeInfo"
,
getfMakeInfo
())
.
append
(
"fSelfId"
,
getfSelfId
())
.
append
(
"fPressure"
,
getfPressure
())
.
append
(
"fVolume"
,
getfVolume
())
.
append
(
"fPChkDate"
,
getfPChkDate
())
.
append
(
"fNChkDate"
,
getfNChkDate
())
.
append
(
"fProductDate"
,
getfProductDate
())
.
append
(
"fDiscardDate"
,
getfDiscardDate
())
.
append
(
"fSafeJudgeDate"
,
getfSafeJudgeDate
())
.
append
(
"fGPressure"
,
getfGPressure
())
.
append
(
"fWPressure"
,
getfWPressure
())
.
append
(
"fSelfWeight"
,
getfSelfWeight
())
.
append
(
"fThickness"
,
getfThickness
())
.
append
(
"fPermitNo"
,
getfPermitNo
())
.
append
(
"fPayImage"
,
getfPayImage
())
.
append
(
"fBatchImage"
,
getfBatchImage
())
.
append
(
"fDeviceImage"
,
getfDeviceImage
())
.
append
(
"fCheckImage"
,
getfCheckImage
())
.
append
(
"fEquNoImage"
,
getfEquNoImage
())
.
append
(
"fSelfIdImage"
,
getfSelfIdImage
())
.
append
(
"fBotImage"
,
getfBotImage
())
.
append
(
"fBotSpecName"
,
getfBotSpecName
())
.
append
(
"fBottleType"
,
getfBottleType
())
.
append
(
"fInspectedTimes"
,
getfInspectedTimes
())
.
append
(
"fIsSpecialized"
,
getfIsSpecialized
())
.
append
(
"fValveManuFacturer"
,
getfValveManuFacturer
())
.
append
(
"fInspectionLabel"
,
getfInspectionLabel
())
.
append
(
"fThirdPartyLabel"
,
getfThirdPartyLabel
())
.
append
(
"fHoleCode"
,
getfHoleCode
())
.
append
(
"fBottleStorageType"
,
getfBottleStorageType
())
.
append
(
"fOptName"
,
getfOptName
())
.
append
(
"fAddTime"
,
getfAddTime
())
.
append
(
"fUpTime"
,
getfUpTime
())
.
append
(
"fUpOptName"
,
getfUpOptName
())
.
toString
();
return
"TLpgGasBottleFiles{"
+
"gasBottleFilesId="
+
gasBottleFilesId
+
", makeInfo='"
+
makeInfo
+
'\''
+
", qRcode='"
+
qRcode
+
'\''
+
", regCode='"
+
regCode
+
'\''
+
", equNo='"
+
equNo
+
'\''
+
", equType='"
+
equType
+
'\''
+
", medium='"
+
medium
+
'\''
+
", makeDate="
+
makeDate
+
", selfId='"
+
selfId
+
'\''
+
", pressure="
+
pressure
+
", volume="
+
volume
+
", appId='"
+
appId
+
'\''
+
", buildUser='"
+
buildUser
+
'\''
+
", addTime="
+
addTime
+
", optName='"
+
optName
+
'\''
+
", upTime="
+
upTime
+
", state='"
+
state
+
'\''
+
", upOptName='"
+
upOptName
+
'\''
+
", pChkDate="
+
pChkDate
+
", nChkDate="
+
nChkDate
+
", productDate="
+
productDate
+
", discardDate="
+
discardDate
+
", safeJudgeDate="
+
safeJudgeDate
+
", gPressure="
+
gPressure
+
", wPressure="
+
wPressure
+
", selfWeight="
+
selfWeight
+
", thickness="
+
thickness
+
", permitNo='"
+
permitNo
+
'\''
+
", valveName='"
+
valveName
+
'\''
+
", payImage='"
+
payImage
+
'\''
+
", batchImage='"
+
batchImage
+
'\''
+
", deviceImage='"
+
deviceImage
+
'\''
+
", checkImage='"
+
checkImage
+
'\''
+
", equNoImage='"
+
equNoImage
+
'\''
+
", selfIdImage='"
+
selfIdImage
+
'\''
+
", botImage='"
+
botImage
+
'\''
+
", botSpecName='"
+
botSpecName
+
'\''
+
", bottleType='"
+
bottleType
+
'\''
+
", inspectedTimes="
+
inspectedTimes
+
", isSpecialized='"
+
isSpecialized
+
'\''
+
", valveManuFacturer='"
+
valveManuFacturer
+
'\''
+
", inspectionLabel='"
+
inspectionLabel
+
'\''
+
", thirdPartyLabel='"
+
thirdPartyLabel
+
'\''
+
", holeCode='"
+
holeCode
+
'\''
+
", bottleStorageType='"
+
bottleStorageType
+
'\''
+
", rowVersion='"
+
rowVersion
+
'\''
+
'}'
;
}
}
zh-baseversion-system/src/main/java/com/zehong/system/service/ITLpgGasBottleFilesService.java
View file @
53052611
package
com
.
zehong
.
system
.
service
;
import
java.util.List
;
import
java.util.Map
;
import
com.zehong.system.domain.TLpgGasBottleFiles
;
import
javax.servlet.http.HttpServletResponse
;
/**
* 液化石油气-气瓶档案Service接口
*
...
...
@@ -58,4 +62,14 @@ public interface ITLpgGasBottleFilesService
* @return 结果
*/
public
int
deleteTLpgGasBottleFilesById
(
Long
fGasBottleFilesId
);
/**
* 导入
* @param xmbhList data
* @param updateSupport 是否更新
* @param response res
* @return r
*/
public
Map
<
String
,
Object
>
importLpgGasBottleFilesInfo
(
List
<
TLpgGasBottleFiles
>
xmbhList
,
boolean
updateSupport
,
HttpServletResponse
response
);
}
zh-baseversion-system/src/main/java/com/zehong/system/service/impl/TLpgAirChargeFilesServiceImpl.java
View file @
53052611
...
...
@@ -152,7 +152,7 @@ public class TLpgAirChargeFilesServiceImpl implements ITLpgAirChargeFilesService
// 这是 上面气瓶条码 有的气瓶数据
List
<
TLpgGasBottleFiles
>
tLpgGasBottleFiles2
=
tLpgGasBottleFilesMapper
.
queryAllByFQRcodeList
(
collect
);
// 按照 气瓶条码 分组
Map
<
String
,
List
<
TLpgGasBottleFiles
>>
collect1
=
tLpgGasBottleFiles2
.
stream
().
collect
(
Collectors
.
groupingBy
(
TLpgGasBottleFiles:
:
get
fQ
Rcode
));
Map
<
String
,
List
<
TLpgGasBottleFiles
>>
collect1
=
tLpgGasBottleFiles2
.
stream
().
collect
(
Collectors
.
groupingBy
(
TLpgGasBottleFiles:
:
get
q
Rcode
));
errorNum
+=
noBarCodeList
.
size
();
...
...
zh-baseversion-system/src/main/java/com/zehong/system/service/impl/TLpgDeliveryRecordServiceImpl.java
View file @
53052611
...
...
@@ -98,13 +98,13 @@ public class TLpgDeliveryRecordServiceImpl implements ITLpgDeliveryRecordService
// 气瓶条码处理
TLpgGasBottleFiles
tLpgGasBottleFiles
=
new
TLpgGasBottleFiles
();
tLpgGasBottleFiles
.
set
fQ
Rcode
(
tLpgDeliveryRecordImportVo
.
getBottleCode
());
tLpgGasBottleFiles
.
set
q
Rcode
(
tLpgDeliveryRecordImportVo
.
getBottleCode
());
List
<
TLpgGasBottleFiles
>
tLpgGasBottleFiles1
=
tLpgGasBottleFilesMapper
.
selectTLpgGasBottleFilesList
(
tLpgGasBottleFiles
);
if
(
tLpgGasBottleFiles1
==
null
||
tLpgGasBottleFiles1
.
size
()
==
0
)
{
errorNum
++;
continue
;
}
lpgDeliveryRecord
.
setBottleCode
(
tLpgGasBottleFiles1
.
get
(
0
).
get
fQ
Rcode
());
lpgDeliveryRecord
.
setBottleCode
(
tLpgGasBottleFiles1
.
get
(
0
).
get
q
Rcode
());
// 燃气用户处理
...
...
zh-baseversion-system/src/main/java/com/zehong/system/service/impl/TLpgGasBottleFilesServiceImpl.java
View file @
53052611
package
com
.
zehong
.
system
.
service
.
impl
;
import
java.util.List
;
import
java.util.Map
;
import
org.springframework.beans.factory.annotation.Autowired
;
import
org.springframework.stereotype.Service
;
import
com.zehong.system.mapper.TLpgGasBottleFilesMapper
;
import
com.zehong.system.domain.TLpgGasBottleFiles
;
import
com.zehong.system.service.ITLpgGasBottleFilesService
;
import
javax.annotation.Resource
;
import
javax.servlet.http.HttpServletResponse
;
/**
* 液化石油气-气瓶档案Service业务层处理
*
...
...
@@ -16,7 +21,7 @@ import com.zehong.system.service.ITLpgGasBottleFilesService;
@Service
public
class
TLpgGasBottleFilesServiceImpl
implements
ITLpgGasBottleFilesService
{
@
Autowired
@
Resource
private
TLpgGasBottleFilesMapper
tLpgGasBottleFilesMapper
;
/**
...
...
@@ -90,4 +95,21 @@ public class TLpgGasBottleFilesServiceImpl implements ITLpgGasBottleFilesService
{
return
tLpgGasBottleFilesMapper
.
deleteTLpgGasBottleFilesById
(
fGasBottleFilesId
);
}
/**
* 气瓶档案导入
* @param xmbhList data
* @param updateSupport 是否更新
* @param response res
* @return r
*/
@Override
public
Map
<
String
,
Object
>
importLpgGasBottleFilesInfo
(
List
<
TLpgGasBottleFiles
>
xmbhList
,
boolean
updateSupport
,
HttpServletResponse
response
)
{
for
(
TLpgGasBottleFiles
tLpgGasBottleFiles
:
xmbhList
)
{
System
.
out
.
println
(
tLpgGasBottleFiles
.
getqRcode
());
}
return
null
;
}
}
zh-baseversion-system/src/main/resources/mapper/system/TLpgGasBottleFilesMapper.xml
View file @
53052611
...
...
@@ -5,52 +5,52 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
<mapper
namespace=
"com.zehong.system.mapper.TLpgGasBottleFilesMapper"
>
<resultMap
type=
"TLpgGasBottleFiles"
id=
"TLpgGasBottleFilesResult"
>
<result
property=
"
fG
asBottleFilesId"
column=
"f_gas_bottle_files_id"
/>
<result
property=
"
fR
egCode"
column=
"f_reg_code"
/>
<result
property=
"
fE
quNo"
column=
"f_equ_no"
/>
<result
property=
"
fE
quType"
column=
"f_equ_type"
/>
<result
property=
"
fM
edium"
column=
"f_medium"
/>
<result
property=
"
fM
akeDate"
column=
"f_make_date"
/>
<result
property=
"
fM
akeInfo"
column=
"f_make_info"
/>
<result
property=
"
fS
elfId"
column=
"f_self_id"
/>
<result
property=
"
fP
ressure"
column=
"f_pressure"
/>
<result
property=
"
fV
olume"
column=
"f_volume"
/>
<result
property=
"
fA
ppId"
column=
"f_app_id"
/>
<result
property=
"
fQ
Rcode"
column=
"f_q_rcode"
/>
<result
property=
"
fB
uildUser"
column=
"f_build_user"
/>
<result
property=
"
fO
ptName"
column=
"f_opt_name"
/>
<result
property=
"
fA
ddTime"
column=
"f_add_time"
/>
<result
property=
"
fU
pTime"
column=
"f_up_time"
/>
<result
property=
"
fS
tate"
column=
"f_state"
/>
<result
property=
"
fU
pOptName"
column=
"f_up_opt_name"
/>
<result
property=
"
fP
ChkDate"
column=
"f_p_chk_date"
/>
<result
property=
"
fN
ChkDate"
column=
"f_n_chk_date"
/>
<result
property=
"
fP
roductDate"
column=
"f_product_date"
/>
<result
property=
"
fD
iscardDate"
column=
"f_discard_date"
/>
<result
property=
"
fS
afeJudgeDate"
column=
"f_safe_judge_date"
/>
<result
property=
"
fG
Pressure"
column=
"f_g_pressure"
/>
<result
property=
"
fW
Pressure"
column=
"f_w_pressure"
/>
<result
property=
"
fS
elfWeight"
column=
"f_self_weight"
/>
<result
property=
"
fT
hickness"
column=
"f_thickness"
/>
<result
property=
"
fP
ermitNo"
column=
"f_permit_no"
/>
<result
property=
"
fV
alveName"
column=
"f_valve_name"
/>
<result
property=
"
fP
ayImage"
column=
"f_pay_image"
/>
<result
property=
"
fB
atchImage"
column=
"f_batch_image"
/>
<result
property=
"
fD
eviceImage"
column=
"f_device_image"
/>
<result
property=
"
fC
heckImage"
column=
"f_check_image"
/>
<result
property=
"
fE
quNoImage"
column=
"f_equ_no_image"
/>
<result
property=
"
fS
elfIdImage"
column=
"f_self_id_image"
/>
<result
property=
"
fB
otImage"
column=
"f_bot_image"
/>
<result
property=
"
fB
otSpecName"
column=
"f_bot_spec_name"
/>
<result
property=
"
fB
ottleType"
column=
"f_bottle_type"
/>
<result
property=
"
fI
nspectedTimes"
column=
"f_inspected_times"
/>
<result
property=
"
fI
sSpecialized"
column=
"f_is_specialized"
/>
<result
property=
"
fV
alveManuFacturer"
column=
"f_valve_manu_facturer"
/>
<result
property=
"
fI
nspectionLabel"
column=
"f_inspection_label"
/>
<result
property=
"
fT
hirdPartyLabel"
column=
"f_third_party_label"
/>
<result
property=
"
fH
oleCode"
column=
"f_hole_code"
/>
<result
property=
"
fB
ottleStorageType"
column=
"f_bottle_storage_type"
/>
<result
property=
"
fR
owVersion"
column=
"f_row_version"
/>
<result
property=
"
g
asBottleFilesId"
column=
"f_gas_bottle_files_id"
/>
<result
property=
"
r
egCode"
column=
"f_reg_code"
/>
<result
property=
"
e
quNo"
column=
"f_equ_no"
/>
<result
property=
"
e
quType"
column=
"f_equ_type"
/>
<result
property=
"
m
edium"
column=
"f_medium"
/>
<result
property=
"
m
akeDate"
column=
"f_make_date"
/>
<result
property=
"
m
akeInfo"
column=
"f_make_info"
/>
<result
property=
"
s
elfId"
column=
"f_self_id"
/>
<result
property=
"
p
ressure"
column=
"f_pressure"
/>
<result
property=
"
v
olume"
column=
"f_volume"
/>
<result
property=
"
a
ppId"
column=
"f_app_id"
/>
<result
property=
"
q
Rcode"
column=
"f_q_rcode"
/>
<result
property=
"
b
uildUser"
column=
"f_build_user"
/>
<result
property=
"
o
ptName"
column=
"f_opt_name"
/>
<result
property=
"
a
ddTime"
column=
"f_add_time"
/>
<result
property=
"
u
pTime"
column=
"f_up_time"
/>
<result
property=
"
s
tate"
column=
"f_state"
/>
<result
property=
"
u
pOptName"
column=
"f_up_opt_name"
/>
<result
property=
"
p
ChkDate"
column=
"f_p_chk_date"
/>
<result
property=
"
n
ChkDate"
column=
"f_n_chk_date"
/>
<result
property=
"
p
roductDate"
column=
"f_product_date"
/>
<result
property=
"
d
iscardDate"
column=
"f_discard_date"
/>
<result
property=
"
s
afeJudgeDate"
column=
"f_safe_judge_date"
/>
<result
property=
"
g
Pressure"
column=
"f_g_pressure"
/>
<result
property=
"
w
Pressure"
column=
"f_w_pressure"
/>
<result
property=
"
s
elfWeight"
column=
"f_self_weight"
/>
<result
property=
"
t
hickness"
column=
"f_thickness"
/>
<result
property=
"
p
ermitNo"
column=
"f_permit_no"
/>
<result
property=
"
v
alveName"
column=
"f_valve_name"
/>
<result
property=
"
p
ayImage"
column=
"f_pay_image"
/>
<result
property=
"
b
atchImage"
column=
"f_batch_image"
/>
<result
property=
"
d
eviceImage"
column=
"f_device_image"
/>
<result
property=
"
c
heckImage"
column=
"f_check_image"
/>
<result
property=
"
e
quNoImage"
column=
"f_equ_no_image"
/>
<result
property=
"
s
elfIdImage"
column=
"f_self_id_image"
/>
<result
property=
"
b
otImage"
column=
"f_bot_image"
/>
<result
property=
"
b
otSpecName"
column=
"f_bot_spec_name"
/>
<result
property=
"
b
ottleType"
column=
"f_bottle_type"
/>
<result
property=
"
i
nspectedTimes"
column=
"f_inspected_times"
/>
<result
property=
"
i
sSpecialized"
column=
"f_is_specialized"
/>
<result
property=
"
v
alveManuFacturer"
column=
"f_valve_manu_facturer"
/>
<result
property=
"
i
nspectionLabel"
column=
"f_inspection_label"
/>
<result
property=
"
t
hirdPartyLabel"
column=
"f_third_party_label"
/>
<result
property=
"
h
oleCode"
column=
"f_hole_code"
/>
<result
property=
"
b
ottleStorageType"
column=
"f_bottle_storage_type"
/>
<result
property=
"
r
owVersion"
column=
"f_row_version"
/>
</resultMap>
<sql
id=
"selectTLpgGasBottleFilesVo"
>
...
...
@@ -64,18 +64,18 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
<select
id=
"selectTLpgGasBottleFilesList"
parameterType=
"TLpgGasBottleFiles"
resultMap=
"TLpgGasBottleFilesResult"
>
<include
refid=
"selectTLpgGasBottleFilesVo"
/>
<where>
<if
test=
"
fPChkDate != null "
>
and f_p_chk_date = #{fP
ChkDate}
</if>
<if
test=
"
fNChkDate != null "
>
and f_n_chk_date = #{fN
ChkDate}
</if>
<if
test=
"
fProductDate != null "
>
and f_product_date = #{fP
roductDate}
</if>
<if
test=
"
fDiscardDate != null "
>
and f_discard_date = #{fD
iscardDate}
</if>
<if
test=
"
fSafeJudgeDate != null "
>
and f_safe_judge_date = #{fS
afeJudgeDate}
</if>
<if
test=
"
fGPressure != null "
>
and f_g_pressure = #{fG
Pressure}
</if>
<if
test=
"
fWPressure != null "
>
and f_w_pressure = #{fW
Pressure}
</if>
<if
test=
"
fSelfWeight != null "
>
and f_self_weight = #{fS
elfWeight}
</if>
<if
test=
"
fPermitNo != null and fPermitNo != ''"
>
and f_permit_no = #{fP
ermitNo}
</if>
<if
test=
"
fValveName != null "
>
and f_valve_name like concat('%', #{fV
alveName}, '%')
</if>
<if
test=
"
fQRcode != null and fQRcode != ''"
>
and f_q_rcode like concat('%', #{fQ
Rcode}, '%')
</if>
<if
test=
"
fState != null "
>
and f_state = #{fS
tate}
</if>
<if
test=
"
pChkDate != null "
>
and f_p_chk_date = #{p
ChkDate}
</if>
<if
test=
"
nChkDate != null "
>
and f_n_chk_date = #{n
ChkDate}
</if>
<if
test=
"
productDate != null "
>
and f_product_date = #{p
roductDate}
</if>
<if
test=
"
discardDate != null "
>
and f_discard_date = #{d
iscardDate}
</if>
<if
test=
"
safeJudgeDate != null "
>
and f_safe_judge_date = #{s
afeJudgeDate}
</if>
<if
test=
"
gPressure != null "
>
and f_g_pressure = #{g
Pressure}
</if>
<if
test=
"
wPressure != null "
>
and f_w_pressure = #{w
Pressure}
</if>
<if
test=
"
selfWeight != null "
>
and f_self_weight = #{s
elfWeight}
</if>
<if
test=
"
permitNo != null and fPermitNo != ''"
>
and f_permit_no = #{p
ermitNo}
</if>
<if
test=
"
valveName != null "
>
and f_valve_name like concat('%', #{v
alveName}, '%')
</if>
<if
test=
"
qRcode != null and fQRcode != ''"
>
and f_q_rcode like concat('%', #{q
Rcode}, '%')
</if>
<if
test=
"
state != null "
>
and f_state = #{s
tate}
</if>
</where>
</select>
<select
id=
"queryAllByFQRcodeList"
resultMap=
"TLpgGasBottleFilesResult"
>
...
...
@@ -94,153 +94,153 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
<insert
id=
"insertTLpgGasBottleFiles"
parameterType=
"TLpgGasBottleFiles"
useGeneratedKeys=
"true"
keyProperty=
"fGasBottleFilesId"
>
insert into t_lpg_gas_bottle_files
<trim
prefix=
"("
suffix=
")"
suffixOverrides=
","
>
<if
test=
"
fR
egCode != null"
>
f_reg_code,
</if>
<if
test=
"
fE
quNo != null"
>
f_equ_no,
</if>
<if
test=
"
fE
quType != null"
>
f_equ_type,
</if>
<if
test=
"
fM
edium != null"
>
f_medium,
</if>
<if
test=
"
fM
akeDate != null"
>
f_make_date,
</if>
<if
test=
"
fM
akeInfo != null"
>
f_make_info,
</if>
<if
test=
"
fS
elfId != null"
>
f_self_id,
</if>
<if
test=
"
r
egCode != null"
>
f_reg_code,
</if>
<if
test=
"
e
quNo != null"
>
f_equ_no,
</if>
<if
test=
"
e
quType != null"
>
f_equ_type,
</if>
<if
test=
"
m
edium != null"
>
f_medium,
</if>
<if
test=
"
m
akeDate != null"
>
f_make_date,
</if>
<if
test=
"
m
akeInfo != null"
>
f_make_info,
</if>
<if
test=
"
s
elfId != null"
>
f_self_id,
</if>
<if
test=
"
fP
ressure != null"
>
f_pressure,
</if>
<if
test=
"
fV
olume != null"
>
f_volume,
</if>
<if
test=
"
fA
ppId != null"
>
f_app_id,
</if>
<if
test=
"
fQ
Rcode != null"
>
f_q_rcode,
</if>
<if
test=
"
fB
uildUser != null"
>
f_build_user,
</if>
<if
test=
"
fP
ChkDate != null"
>
f_p_chk_date,
</if>
<if
test=
"
fN
ChkDate != null"
>
f_n_chk_date,
</if>
<if
test=
"
fP
roductDate != null"
>
f_product_date,
</if>
<if
test=
"
fD
iscardDate != null"
>
f_discard_date,
</if>
<if
test=
"
fS
afeJudgeDate != null"
>
f_safe_judge_date,
</if>
<if
test=
"
fG
Pressure != null"
>
f_g_pressure,
</if>
<if
test=
"
fW
Pressure != null"
>
f_w_pressure,
</if>
<if
test=
"
fS
elfWeight != null"
>
f_self_weight,
</if>
<if
test=
"
fT
hickness != null"
>
f_thickness,
</if>
<if
test=
"
fP
ermitNo != null"
>
f_permit_no,
</if>
<if
test=
"
fV
alveName != null"
>
f_valve_name,
</if>
<if
test=
"
fP
ayImage != null"
>
f_pay_image,
</if>
<if
test=
"
fB
atchImage != null"
>
f_batch_image,
</if>
<if
test=
"
fD
eviceImage != null"
>
f_device_image,
</if>
<if
test=
"
fC
heckImage != null"
>
f_check_image,
</if>
<if
test=
"
fE
quNoImage != null"
>
f_equ_no_image,
</if>
<if
test=
"
fS
elfIdImage != null"
>
f_self_id_image,
</if>
<if
test=
"
fB
otImage != null"
>
f_bot_image,
</if>
<if
test=
"
fB
otSpecName != null"
>
f_bot_spec_name,
</if>
<if
test=
"
fB
ottleType != null"
>
f_bottle_type,
</if>
<if
test=
"
fI
nspectedTimes != null"
>
f_inspected_times,
</if>
<if
test=
"
fI
sSpecialized != null"
>
f_is_specialized,
</if>
<if
test=
"
fV
alveManuFacturer != null"
>
f_valve_manu_facturer,
</if>
<if
test=
"
fI
nspectionLabel != null"
>
f_inspection_label,
</if>
<if
test=
"
fT
hirdPartyLabel != null"
>
f_third_party_label,
</if>
<if
test=
"
fH
oleCode != null"
>
f_hole_code,
</if>
<if
test=
"
fB
ottleStorageType != null"
>
f_bottle_storage_type,
</if>
<if
test=
"
fS
tate != null"
>
f_state,
</if>
<if
test=
"
fO
ptName != null"
>
f_opt_name,
</if>
<if
test=
"
fA
ddTime != null"
>
f_add_time,
</if>
<if
test=
"
fU
pTime != null"
>
f_up_time,
</if>
<if
test=
"
fU
pOptName != null"
>
f_up_opt_name,
</if>
<if
test=
"
fR
owVersion != null"
>
f_row_version,
</if>
<if
test=
"
p
ressure != null"
>
f_pressure,
</if>
<if
test=
"
v
olume != null"
>
f_volume,
</if>
<if
test=
"
a
ppId != null"
>
f_app_id,
</if>
<if
test=
"
q
Rcode != null"
>
f_q_rcode,
</if>
<if
test=
"
b
uildUser != null"
>
f_build_user,
</if>
<if
test=
"
p
ChkDate != null"
>
f_p_chk_date,
</if>
<if
test=
"
n
ChkDate != null"
>
f_n_chk_date,
</if>
<if
test=
"
p
roductDate != null"
>
f_product_date,
</if>
<if
test=
"
d
iscardDate != null"
>
f_discard_date,
</if>
<if
test=
"
s
afeJudgeDate != null"
>
f_safe_judge_date,
</if>
<if
test=
"
g
Pressure != null"
>
f_g_pressure,
</if>
<if
test=
"
w
Pressure != null"
>
f_w_pressure,
</if>
<if
test=
"
s
elfWeight != null"
>
f_self_weight,
</if>
<if
test=
"
t
hickness != null"
>
f_thickness,
</if>
<if
test=
"
p
ermitNo != null"
>
f_permit_no,
</if>
<if
test=
"
v
alveName != null"
>
f_valve_name,
</if>
<if
test=
"
p
ayImage != null"
>
f_pay_image,
</if>
<if
test=
"
b
atchImage != null"
>
f_batch_image,
</if>
<if
test=
"
d
eviceImage != null"
>
f_device_image,
</if>
<if
test=
"
c
heckImage != null"
>
f_check_image,
</if>
<if
test=
"
e
quNoImage != null"
>
f_equ_no_image,
</if>
<if
test=
"
s
elfIdImage != null"
>
f_self_id_image,
</if>
<if
test=
"
b
otImage != null"
>
f_bot_image,
</if>
<if
test=
"
b
otSpecName != null"
>
f_bot_spec_name,
</if>
<if
test=
"
b
ottleType != null"
>
f_bottle_type,
</if>
<if
test=
"
i
nspectedTimes != null"
>
f_inspected_times,
</if>
<if
test=
"
i
sSpecialized != null"
>
f_is_specialized,
</if>
<if
test=
"
v
alveManuFacturer != null"
>
f_valve_manu_facturer,
</if>
<if
test=
"
i
nspectionLabel != null"
>
f_inspection_label,
</if>
<if
test=
"
t
hirdPartyLabel != null"
>
f_third_party_label,
</if>
<if
test=
"
h
oleCode != null"
>
f_hole_code,
</if>
<if
test=
"
b
ottleStorageType != null"
>
f_bottle_storage_type,
</if>
<if
test=
"
s
tate != null"
>
f_state,
</if>
<if
test=
"
o
ptName != null"
>
f_opt_name,
</if>
<if
test=
"
a
ddTime != null"
>
f_add_time,
</if>
<if
test=
"
u
pTime != null"
>
f_up_time,
</if>
<if
test=
"
u
pOptName != null"
>
f_up_opt_name,
</if>
<if
test=
"
r
owVersion != null"
>
f_row_version,
</if>
</trim>
<trim
prefix=
"values ("
suffix=
")"
suffixOverrides=
","
>
<if
test=
"
fRegCode != null"
>
#{fR
egCode},
</if>
<if
test=
"
fEquNo != null"
>
#{fE
quNo},
</if>
<if
test=
"
fEquType != null"
>
#{fE
quType},
</if>
<if
test=
"
fMedium != null"
>
#{fM
edium},
</if>
<if
test=
"
fMakeDate != null"
>
#{fM
akeDate},
</if>
<if
test=
"
fMakeInfo != null"
>
#{fM
akeInfo},
</if>
<if
test=
"
fSelfId != null"
>
#{fS
elfId},
</if>
<if
test=
"
regCode != null"
>
#{r
egCode},
</if>
<if
test=
"
equNo != null"
>
#{e
quNo},
</if>
<if
test=
"
equType != null"
>
#{e
quType},
</if>
<if
test=
"
medium != null"
>
#{m
edium},
</if>
<if
test=
"
makeDate != null"
>
#{m
akeDate},
</if>
<if
test=
"
makeInfo != null"
>
#{m
akeInfo},
</if>
<if
test=
"
selfId != null"
>
#{s
elfId},
</if>
<if
test=
"
fPressure != null"
>
#{fP
ressure},
</if>
<if
test=
"
fVolume != null"
>
#{fV
olume},
</if>
<if
test=
"
fAppId != null"
>
#{fA
ppId},
</if>
<if
test=
"
fQRcode != null"
>
#{fQ
Rcode},
</if>
<if
test=
"
fBuildUser != null"
>
#{fB
uildUser},
</if>
<if
test=
"
fPChkDate != null"
>
#{fP
ChkDate},
</if>
<if
test=
"
fNChkDate != null"
>
#{fN
ChkDate},
</if>
<if
test=
"
fProductDate != null"
>
#{fP
roductDate},
</if>
<if
test=
"
fDiscardDate != null"
>
#{fD
iscardDate},
</if>
<if
test=
"
fSafeJudgeDate != null"
>
#{fS
afeJudgeDate},
</if>
<if
test=
"
fGPressure != null"
>
#{fG
Pressure},
</if>
<if
test=
"
fWPressure != null"
>
#{fW
Pressure},
</if>
<if
test=
"
fSelfWeight != null"
>
#{fS
elfWeight},
</if>
<if
test=
"
pressure != null"
>
#{p
ressure},
</if>
<if
test=
"
volume != null"
>
#{v
olume},
</if>
<if
test=
"
appId != null"
>
#{a
ppId},
</if>
<if
test=
"
qRcode != null"
>
#{q
Rcode},
</if>
<if
test=
"
buildUser != null"
>
#{b
uildUser},
</if>
<if
test=
"
pChkDate != null"
>
#{p
ChkDate},
</if>
<if
test=
"
nChkDate != null"
>
#{n
ChkDate},
</if>
<if
test=
"
productDate != null"
>
#{p
roductDate},
</if>
<if
test=
"
discardDate != null"
>
#{d
iscardDate},
</if>
<if
test=
"
safeJudgeDate != null"
>
#{s
afeJudgeDate},
</if>
<if
test=
"
gPressure != null"
>
#{g
Pressure},
</if>
<if
test=
"
wPressure != null"
>
#{w
Pressure},
</if>
<if
test=
"
selfWeight != null"
>
#{s
elfWeight},
</if>
<if
test=
"fThickness != null"
>
#{fThickness},
</if>
<if
test=
"
fPermitNo != null"
>
#{fP
ermitNo},
</if>
<if
test=
"
fValveName != null"
>
#{fV
alveName},
</if>
<if
test=
"
fPayImage != null"
>
#{fP
ayImage},
</if>
<if
test=
"
fBatchImage != null"
>
#{fB
atchImage},
</if>
<if
test=
"
fDeviceImage != null"
>
#{fD
eviceImage},
</if>
<if
test=
"
fCheckImage != null"
>
#{fC
heckImage},
</if>
<if
test=
"
fEquNoImage != null"
>
#{fE
quNoImage},
</if>
<if
test=
"
fSelfIdImage != null"
>
#{fS
elfIdImage},
</if>
<if
test=
"
fBotImage != null"
>
#{fB
otImage},
</if>
<if
test=
"
fBotSpecName != null"
>
#{fB
otSpecName},
</if>
<if
test=
"
fBottleType != null"
>
#{fB
ottleType},
</if>
<if
test=
"
fInspectedTimes != null"
>
#{fI
nspectedTimes},
</if>
<if
test=
"
fIsSpecialized != null"
>
#{fI
sSpecialized},
</if>
<if
test=
"
fValveManuFacturer != null"
>
#{fV
alveManuFacturer},
</if>
<if
test=
"
fInspectionLabel != null"
>
#{fI
nspectionLabel},
</if>
<if
test=
"
fThirdPartyLabel != null"
>
#{fT
hirdPartyLabel},
</if>
<if
test=
"
fHoleCode != null"
>
#{fH
oleCode},
</if>
<if
test=
"
fBottleStorageType != null"
>
#{fB
ottleStorageType},
</if>
<if
test=
"
fState != null"
>
#{fS
tate},
</if>
<if
test=
"
fOptName != null"
>
#{fO
ptName},
</if>
<if
test=
"
fAddTime != null"
>
#{fA
ddTime},
</if>
<if
test=
"
fUpTime != null"
>
#{fU
pTime},
</if>
<if
test=
"
permitNo != null"
>
#{p
ermitNo},
</if>
<if
test=
"
valveName != null"
>
#{v
alveName},
</if>
<if
test=
"
payImage != null"
>
#{p
ayImage},
</if>
<if
test=
"
batchImage != null"
>
#{b
atchImage},
</if>
<if
test=
"
deviceImage != null"
>
#{d
eviceImage},
</if>
<if
test=
"
checkImage != null"
>
#{c
heckImage},
</if>
<if
test=
"
equNoImage != null"
>
#{e
quNoImage},
</if>
<if
test=
"
selfIdImage != null"
>
#{s
elfIdImage},
</if>
<if
test=
"
botImage != null"
>
#{b
otImage},
</if>
<if
test=
"
botSpecName != null"
>
#{b
otSpecName},
</if>
<if
test=
"
bottleType != null"
>
#{b
ottleType},
</if>
<if
test=
"
inspectedTimes != null"
>
#{i
nspectedTimes},
</if>
<if
test=
"
isSpecialized != null"
>
#{i
sSpecialized},
</if>
<if
test=
"
valveManuFacturer != null"
>
#{v
alveManuFacturer},
</if>
<if
test=
"
inspectionLabel != null"
>
#{i
nspectionLabel},
</if>
<if
test=
"
thirdPartyLabel != null"
>
#{t
hirdPartyLabel},
</if>
<if
test=
"
holeCode != null"
>
#{h
oleCode},
</if>
<if
test=
"
bottleStorageType != null"
>
#{b
ottleStorageType},
</if>
<if
test=
"
state != null"
>
#{s
tate},
</if>
<if
test=
"
optName != null"
>
#{o
ptName},
</if>
<if
test=
"
addTime != null"
>
#{a
ddTime},
</if>
<if
test=
"
upTime != null"
>
#{u
pTime},
</if>
<if
test=
"
fUpOptName != null"
>
#{fU
pOptName},
</if>
<if
test=
"
fRowVersion != null"
>
#{fR
owVersion},
</if>
<if
test=
"
upOptName != null"
>
#{u
pOptName},
</if>
<if
test=
"
rowVersion != null"
>
#{r
owVersion},
</if>
</trim>
</insert>
<update
id=
"updateTLpgGasBottleFiles"
parameterType=
"TLpgGasBottleFiles"
>
update t_lpg_gas_bottle_files
<trim
prefix=
"SET"
suffixOverrides=
","
>
<if
test=
"
fRegCode != null"
>
f_reg_code = #{fR
egCode},
</if>
<if
test=
"
fEquNo != null"
>
f_equ_no = #{fE
quNo},
</if>
<if
test=
"
fEquType != null"
>
f_equ_type = #{fE
quType},
</if>
<if
test=
"
fMedium != null"
>
f_medium = #{fM
edium},
</if>
<if
test=
"
fMakeDate != null"
>
f_make_date = #{fM
akeDate},
</if>
<if
test=
"
fMakeInfo != null"
>
f_make_info = #{fM
akeInfo},
</if>
<if
test=
"
fSelfId != null"
>
f_self_id = #{fS
elfId},
</if>
<if
test=
"
regCode != null"
>
f_reg_code = #{r
egCode},
</if>
<if
test=
"
equNo != null"
>
f_equ_no = #{e
quNo},
</if>
<if
test=
"
equType != null"
>
f_equ_type = #{e
quType},
</if>
<if
test=
"
medium != null"
>
f_medium = #{m
edium},
</if>
<if
test=
"
makeDate != null"
>
f_make_date = #{m
akeDate},
</if>
<if
test=
"
makeInfo != null"
>
f_make_info = #{m
akeInfo},
</if>
<if
test=
"
selfId != null"
>
f_self_id = #{s
elfId},
</if>
<if
test=
"
fPressure != null"
>
f_pressure = #{fP
ressure},
</if>
<if
test=
"
fVolume != null"
>
f_volume = #{fV
olume},
</if>
<if
test=
"
fAppId != null"
>
f_app_id = #{fA
ppId},
</if>
<if
test=
"
fQRcode != null"
>
f_q_rcode = #{fQ
Rcode},
</if>
<if
test=
"
fBuildUser != null"
>
f_build_user = #{fB
uildUser},
</if>
<if
test=
"
fPChkDate != null"
>
f_p_chk_date = #{fP
ChkDate},
</if>
<if
test=
"
fNChkDate != null"
>
f_n_chk_date = #{fN
ChkDate},
</if>
<if
test=
"
fProductDate != null"
>
f_product_date = #{fP
roductDate},
</if>
<if
test=
"
fDiscardDate != null"
>
f_discard_date = #{fD
iscardDate},
</if>
<if
test=
"
fSafeJudgeDate != null"
>
f_safe_judge_date = #{fS
afeJudgeDate},
</if>
<if
test=
"
fGPressure != null"
>
f_g_pressure = #{fG
Pressure},
</if>
<if
test=
"
fWPressure != null"
>
f_w_pressure = #{fW
Pressure},
</if>
<if
test=
"
fSelfWeight != null"
>
f_self_weight = #{fS
elfWeight},
</if>
<if
test=
"
fThickness != null"
>
f_thickness = #{fT
hickness},
</if>
<if
test=
"
fPermitNo != null"
>
f_permit_no = #{fP
ermitNo},
</if>
<if
test=
"
fValveName != null"
>
f_valve_name = #{fV
alveName},
</if>
<if
test=
"
fPayImage != null"
>
f_pay_image = #{fP
ayImage},
</if>
<if
test=
"
fBatchImage != null"
>
f_batch_image = #{fB
atchImage},
</if>
<if
test=
"
fDeviceImage != null"
>
f_device_image = #{fD
eviceImage},
</if>
<if
test=
"
fCheckImage != null"
>
f_check_image = #{fC
heckImage},
</if>
<if
test=
"
fEquNoImage != null"
>
f_equ_no_image = #{fE
quNoImage},
</if>
<if
test=
"
fSelfIdImage != null"
>
f_self_id_image = #{fS
elfIdImage},
</if>
<if
test=
"
fBotImage != null"
>
f_bot_image = #{fB
otImage},
</if>
<if
test=
"
fBotSpecName != null"
>
f_bot_spec_name = #{fB
otSpecName},
</if>
<if
test=
"
fBottleType != null"
>
f_bottle_type = #{fB
ottleType},
</if>
<if
test=
"
fInspectedTimes != null"
>
f_inspected_times = #{fI
nspectedTimes},
</if>
<if
test=
"
fIsSpecialized != null"
>
f_is_specialized = #{fI
sSpecialized},
</if>
<if
test=
"
fValveManuFacturer != null"
>
f_valve_manu_facturer = #{fV
alveManuFacturer},
</if>
<if
test=
"
fInspectionLabel != null"
>
f_inspection_label = #{fI
nspectionLabel},
</if>
<if
test=
"
fThirdPartyLabel != null"
>
f_third_party_label = #{fT
hirdPartyLabel},
</if>
<if
test=
"
fHoleCode != null"
>
f_hole_code = #{fH
oleCode},
</if>
<if
test=
"
fBottleStorageType != null"
>
f_bottle_storage_type = #{fB
ottleStorageType},
</if>
<if
test=
"
fState != null"
>
f_state = #{fS
tate},
</if>
<if
test=
"
fOptName != null"
>
f_opt_name = #{fO
ptName},
</if>
<if
test=
"
fAddTime != null"
>
f_add_time = #{fA
ddTime},
</if>
<if
test=
"
fUpTime != null"
>
f_up_time = #{fU
pTime},
</if>
<if
test=
"
fUpOptName != null"
>
f_up_opt_name = #{fU
pOptName},
</if>
<if
test=
"
fRowVersion != null"
>
f_row_version = #{fR
owVersion},
</if>
<if
test=
"
pressure != null"
>
f_pressure = #{p
ressure},
</if>
<if
test=
"
volume != null"
>
f_volume = #{v
olume},
</if>
<if
test=
"
appId != null"
>
f_app_id = #{a
ppId},
</if>
<if
test=
"
qRcode != null"
>
f_q_rcode = #{q
Rcode},
</if>
<if
test=
"
buildUser != null"
>
f_build_user = #{b
uildUser},
</if>
<if
test=
"
pChkDate != null"
>
f_p_chk_date = #{p
ChkDate},
</if>
<if
test=
"
nChkDate != null"
>
f_n_chk_date = #{n
ChkDate},
</if>
<if
test=
"
productDate != null"
>
f_product_date = #{p
roductDate},
</if>
<if
test=
"
discardDate != null"
>
f_discard_date = #{d
iscardDate},
</if>
<if
test=
"
safeJudgeDate != null"
>
f_safe_judge_date = #{s
afeJudgeDate},
</if>
<if
test=
"
gPressure != null"
>
f_g_pressure = #{g
Pressure},
</if>
<if
test=
"
wPressure != null"
>
f_w_pressure = #{w
Pressure},
</if>
<if
test=
"
selfWeight != null"
>
f_self_weight = #{s
elfWeight},
</if>
<if
test=
"
thickness != null"
>
f_thickness = #{t
hickness},
</if>
<if
test=
"
permitNo != null"
>
f_permit_no = #{p
ermitNo},
</if>
<if
test=
"
valveName != null"
>
f_valve_name = #{v
alveName},
</if>
<if
test=
"
payImage != null"
>
f_pay_image = #{p
ayImage},
</if>
<if
test=
"
batchImage != null"
>
f_batch_image = #{b
atchImage},
</if>
<if
test=
"
deviceImage != null"
>
f_device_image = #{d
eviceImage},
</if>
<if
test=
"
checkImage != null"
>
f_check_image = #{c
heckImage},
</if>
<if
test=
"
equNoImage != null"
>
f_equ_no_image = #{e
quNoImage},
</if>
<if
test=
"
selfIdImage != null"
>
f_self_id_image = #{s
elfIdImage},
</if>
<if
test=
"
botImage != null"
>
f_bot_image = #{b
otImage},
</if>
<if
test=
"
botSpecName != null"
>
f_bot_spec_name = #{b
otSpecName},
</if>
<if
test=
"
bottleType != null"
>
f_bottle_type = #{b
ottleType},
</if>
<if
test=
"
inspectedTimes != null"
>
f_inspected_times = #{i
nspectedTimes},
</if>
<if
test=
"
isSpecialized != null"
>
f_is_specialized = #{i
sSpecialized},
</if>
<if
test=
"
valveManuFacturer != null"
>
f_valve_manu_facturer = #{v
alveManuFacturer},
</if>
<if
test=
"
inspectionLabel != null"
>
f_inspection_label = #{i
nspectionLabel},
</if>
<if
test=
"
thirdPartyLabel != null"
>
f_third_party_label = #{t
hirdPartyLabel},
</if>
<if
test=
"
holeCode != null"
>
f_hole_code = #{h
oleCode},
</if>
<if
test=
"
bottleStorageType != null"
>
f_bottle_storage_type = #{b
ottleStorageType},
</if>
<if
test=
"
state != null"
>
f_state = #{s
tate},
</if>
<if
test=
"
optName != null"
>
f_opt_name = #{o
ptName},
</if>
<if
test=
"
addTime != null"
>
f_add_time = #{a
ddTime},
</if>
<if
test=
"
upTime != null"
>
f_up_time = #{u
pTime},
</if>
<if
test=
"
upOptName != null"
>
f_up_opt_name = #{u
pOptName},
</if>
<if
test=
"
rowVersion != null"
>
f_row_version = #{r
owVersion},
</if>
</trim>
where f_gas_bottle_files_id = #{fGasBottleFilesId}
</update>
...
...
zh-baseversion-web/src/api/lpgRegulation/files.js
View file @
53052611
...
...
@@ -51,3 +51,12 @@ export function exportFiles(query) {
params
:
query
})
}
// 下载用户导入模板
export
function
importTemplate
()
{
return
request
({
url
:
'/lpg/gasbottlefiles/importTemplate'
,
method
:
'get'
})
}
\ No newline at end of file
zh-baseversion-web/src/views/lpgRegulation/gasbottlefiles/index.vue
View file @
53052611
<
template
>
<div
class=
"app-container"
>
<el-form
:model=
"queryParams"
ref=
"queryForm"
:inline=
"true"
v-show=
"showSearch"
label-width=
"120px"
>
<el-form-item
label=
"生产(制造)单位"
prop=
"
fM
akeInfo"
>
<el-form-item
label=
"生产(制造)单位"
prop=
"
m
akeInfo"
>
<el-input
v-model=
"queryParams.
fM
akeInfo"
v-model=
"queryParams.
m
akeInfo"
placeholder=
"请输入生产(制造)单位"
clearable
size=
"small"
/>
</el-form-item>
<el-form-item
label=
"气瓶条码"
prop=
"
fQ
Rcode"
>
<el-form-item
label=
"气瓶条码"
prop=
"
q
Rcode"
>
<el-input
v-model=
"queryParams.
fQ
Rcode"
v-model=
"queryParams.
q
Rcode"
placeholder=
"请输入气瓶条码"
clearable
size=
"small"
...
...
@@ -20,9 +20,9 @@
</el-form-item>
<el-form-item
label=
"钢瓶状态"
prop=
"fState"
>
<el-select
v-model=
"queryParams.
fS
tate"
placeholder=
"请选择钢瓶状态"
clearable
>
<el-select
v-model=
"queryParams.
s
tate"
placeholder=
"请选择钢瓶状态"
clearable
>
<el-option
v-for=
"item in
fS
tateOptions"
v-for=
"item in
s
tateOptions"
:key=
"item.value"
:label=
"item.label"
:value=
"item.value"
>
...
...
@@ -46,43 +46,54 @@
@
click=
"handleExport"
v-hasPermi=
"['system:files:export']"
>
导出
</el-button>
</el-col>
<el-col
:span=
"1.5"
>
<el-button
type=
"info"
icon=
"el-icon-upload2"
size=
"mini"
@
click=
"handleImport"
>
导入
</el-button>
</el-col>
<right-toolbar
:showSearch
.
sync=
"showSearch"
@
queryTable=
"getList"
></right-toolbar>
</el-row>
<el-table
v-loading=
"loading"
:data=
"filesList"
@
selection-change=
"handleSelectionChange"
>
<el-table-column
type=
"selection"
width=
"55"
align=
"center"
/>
<el-table-column
label=
"生产(制造)单位"
align=
"center"
prop=
"
fM
akeInfo"
:show-overflow-tooltip=
"true"
/>
<el-table-column
label=
"气瓶条码"
align=
"center"
prop=
"
fQ
Rcode"
:show-overflow-tooltip=
"true"
/>
<el-table-column
label=
"钢瓶规格名称"
align=
"center"
prop=
"
fB
otSpecName"
:show-overflow-tooltip=
"true"
/>
<el-table-column
label=
"钢瓶型号"
align=
"center"
prop=
"
fB
ottleType"
:show-overflow-tooltip=
"true"
/>
<el-table-column
label=
"上检日期"
align=
"center"
prop=
"
fP
ChkDate"
>
<el-table-column
label=
"生产(制造)单位"
align=
"center"
prop=
"
m
akeInfo"
:show-overflow-tooltip=
"true"
/>
<el-table-column
label=
"气瓶条码"
align=
"center"
prop=
"
q
Rcode"
:show-overflow-tooltip=
"true"
/>
<el-table-column
label=
"钢瓶规格名称"
align=
"center"
prop=
"
b
otSpecName"
:show-overflow-tooltip=
"true"
/>
<el-table-column
label=
"钢瓶型号"
align=
"center"
prop=
"
b
ottleType"
:show-overflow-tooltip=
"true"
/>
<el-table-column
label=
"上检日期"
align=
"center"
prop=
"
p
ChkDate"
>
<template
slot-scope=
"scope"
>
<span>
{{
parseTime
(
scope
.
row
.
fP
ChkDate
,
'{y
}
-{m
}
-{d
}
'
)
}}
<
/span
>
<span>
{{
parseTime
(
scope
.
row
.
p
ChkDate
,
'{y
}
-{m
}
-{d
}
'
)
}}
<
/span
>
<
/template
>
<
/el-table-column
>
<
el
-
table
-
column
label
=
"下检日期"
align
=
"center"
prop
=
"
fN
ChkDate"
>
<
el
-
table
-
column
label
=
"下检日期"
align
=
"center"
prop
=
"
n
ChkDate"
>
<
template
slot
-
scope
=
"scope"
>
<
span
>
{{
parseTime
(
scope
.
row
.
fN
ChkDate
,
'{y
}
-{m
}
-{d
}
'
)
}}
<
/span
>
<
span
>
{{
parseTime
(
scope
.
row
.
n
ChkDate
,
'{y
}
-{m
}
-{d
}
'
)
}}
<
/span
>
<
/template
>
<
/el-table-column
>
<
el
-
table
-
column
label
=
"生产日期"
align
=
"center"
prop
=
"
fP
roductDate"
>
<
el
-
table
-
column
label
=
"生产日期"
align
=
"center"
prop
=
"
p
roductDate"
>
<
template
slot
-
scope
=
"scope"
>
<
span
>
{{
parseTime
(
scope
.
row
.
fP
roductDate
,
'{y
}
-{m
}
-{d
}
'
)
}}
<
/span
>
<
span
>
{{
parseTime
(
scope
.
row
.
p
roductDate
,
'{y
}
-{m
}
-{d
}
'
)
}}
<
/span
>
<
/template
>
<
/el-table-column
>
<
el
-
table
-
column
label
=
"报废日期"
align
=
"center"
prop
=
"
fD
iscardDate"
>
<
el
-
table
-
column
label
=
"报废日期"
align
=
"center"
prop
=
"
d
iscardDate"
>
<
template
slot
-
scope
=
"scope"
>
<
span
>
{{
parseTime
(
scope
.
row
.
fD
iscardDate
,
'{y
}
-{m
}
-{d
}
'
)
}}
<
/span
>
<
span
>
{{
parseTime
(
scope
.
row
.
d
iscardDate
,
'{y
}
-{m
}
-{d
}
'
)
}}
<
/span
>
<
/template
>
<
/el-table-column
>
<
el
-
table
-
column
label
=
"安全评定日期"
align
=
"center"
prop
=
"
fS
afeJudgeDate"
>
<
el
-
table
-
column
label
=
"安全评定日期"
align
=
"center"
prop
=
"
s
afeJudgeDate"
>
<
template
slot
-
scope
=
"scope"
>
<
span
>
{{
parseTime
(
scope
.
row
.
fS
afeJudgeDate
,
'{y
}
-{m
}
-{d
}
'
)
}}
<
/span
>
<
span
>
{{
parseTime
(
scope
.
row
.
s
afeJudgeDate
,
'{y
}
-{m
}
-{d
}
'
)
}}
<
/span
>
<
/template
>
<
/el-table-column
>
<
el
-
table
-
column
label
=
"已检验次数"
align
=
"center"
prop
=
"
fI
nspectedTimes"
/>
<
el
-
table
-
column
label
=
"钢瓶状态"
align
=
"center"
prop
=
"
fS
tate"
/>
<
el
-
table
-
column
label
=
"已检验次数"
align
=
"center"
prop
=
"
i
nspectedTimes"
/>
<
el
-
table
-
column
label
=
"钢瓶状态"
align
=
"center"
prop
=
"
s
tate"
/>
<
el
-
table
-
column
label
=
"操作"
align
=
"center"
class
-
name
=
"small-padding fixed-width"
>
<
template
slot
-
scope
=
"scope"
>
<
el
-
button
...
...
@@ -104,13 +115,45 @@
/>
<!--
详情
-->
<
DetailInfo
ref
=
"detail"
/>
<!--
用户导入对话框
-->
<
el
-
dialog
:
title
=
"upload.title"
:
visible
.
sync
=
"upload.open"
width
=
"400px"
append
-
to
-
body
>
<
el
-
upload
ref
=
"upload"
:
limit
=
"1"
accept
=
".xlsx, .xls"
:
headers
=
"upload.headers"
:
action
=
"upload.url + '?updateSupport=' + upload.updateSupport"
:
disabled
=
"upload.isUploading"
:
on
-
progress
=
"handleFileUploadProgress"
:
on
-
success
=
"handleFileSuccess"
:
auto
-
upload
=
"false"
drag
>
<
i
class
=
"el-icon-upload"
><
/i
>
<
div
class
=
"el-upload__text"
>
将文件拖到此处,或
<
em
>
点击上传
<
/em></
div
>
<
div
class
=
"el-upload__tip text-center"
slot
=
"tip"
>
<
span
>
仅允许导入
xls
、
xlsx
格式文件。
<
/span
>
<
el
-
link
type
=
"primary"
:
underline
=
"false"
style
=
"font-size:12px;vertical-align: baseline;"
@
click
=
"importTemplate"
>
下载模板
<
/el-link
>
<
br
>
<
/div
>
<
/el-upload
>
<
div
slot
=
"footer"
class
=
"dialog-footer"
>
<
el
-
button
type
=
"primary"
@
click
=
"submitFileForm"
>
确
定
<
/el-button
>
<
el
-
button
@
click
=
"upload.open = false"
>
取
消
<
/el-button
>
<
/div
>
<
/el-dialog
>
<
/div
>
<
/template
>
<
script
>
import
{
listFiles
,
getFiles
,
delFiles
,
addFiles
,
updateFiles
,
exportFiles
}
from
"@/api/lpgRegulation/files"
;
import
{
listFiles
,
getFiles
,
delFiles
,
addFiles
,
updateFiles
,
exportFiles
,
importTemplate
}
from
"@/api/lpgRegulation/files"
;
import
ImageUpload
from
'@/components/ImageUpload'
;
import
DetailInfo
from
"./components/indexInfo"
;
import
{
getToken
}
from
"@/utils/auth"
;
export
default
{
name
:
"Files"
,
...
...
@@ -119,7 +162,23 @@ export default {
}
,
data
()
{
return
{
fStateOptions
:[
upload
:
{
// 是否显示弹出层(用户导入)
open
:
false
,
// 弹出层标题(用户导入)
title
:
""
,
// 是否禁用上传
isUploading
:
false
,
// 是否更新已经存在的用户数据
updateSupport
:
0
,
// 设置上传的请求头部
headers
:
{
Authorization
:
"Bearer "
+
getToken
()
}
,
// 上传的地址
url
:
process
.
env
.
VUE_APP_BASE_API
+
"/lpg/gasbottlefiles/importData"
}
,
stateOptions
:[
{
value
:
1
,
label
:
'新增'
...
...
@@ -157,18 +216,18 @@ export default {
queryParams
:
{
pageNum
:
1
,
pageSize
:
10
,
fP
ChkDate
:
null
,
fN
ChkDate
:
null
,
fP
roductDate
:
null
,
fD
iscardDate
:
null
,
fS
afeJudgeDate
:
null
,
fG
Pressure
:
null
,
fW
Pressure
:
null
,
fS
elfWeight
:
null
,
fP
ermitNo
:
null
,
fV
alveName
:
null
,
fS
tate
:
null
,
fM
akeInfo
:
null
c
ChkDate
:
null
,
n
ChkDate
:
null
,
p
roductDate
:
null
,
d
iscardDate
:
null
,
s
afeJudgeDate
:
null
,
g
Pressure
:
null
,
w
Pressure
:
null
,
s
elfWeight
:
null
,
p
ermitNo
:
null
,
v
alveName
:
null
,
s
tate
:
null
,
m
akeInfo
:
null
}
,
// 表单参数
form
:
{
}
,
...
...
@@ -182,13 +241,54 @@ export default {
}
,
methods
:
{
/** 下载模板操作 */
importTemplate
()
{
importTemplate
().
then
(
response
=>
{
this
.
download
(
response
.
msg
);
}
);
}
,
handleImport
(){
this
.
upload
.
title
=
"气瓶档案导入"
;
// todo
this
.
upload
.
open
=
true
;
}
,
// 文件上传处理中
handleFileUploadProgress
(
event
,
file
,
fileList
)
{
this
.
upload
.
isUploading
=
true
;
this
.
$showLoading
.
show
();
}
,
// 文件上传成功处理
handleFileSuccess
(
response
,
file
,
fileList
)
{
this
.
upload
.
open
=
false
;
this
.
upload
.
isUploading
=
false
;
this
.
$refs
.
upload
.
clearFiles
();
if
(
response
.
data
!=
null
)
{
if
(
response
.
data
.
errorMsg
!=
null
&&
response
.
data
.
errorMsg
!==
""
)
{
this
.
$alert
(
"<div style='overflow: auto;overflow-x: hidden;max-height: 70vh;padding: 10px 20px 0;'>"
+
response
.
data
.
errorMsg
+
"</div>"
,
"导入结果"
,
{
dangerouslyUseHTMLString
:
true
}
);
}
else
{
this
.
$alert
(
"<div style='overflow: auto;overflow-x: hidden;max-height: 70vh;padding: 10px 20px 0;'>"
+
"成功:"
+
response
.
data
.
successNum
+
"条,失败:"
+
response
.
data
.
errorNum
+
"条"
+
"</div>"
,
"导入结果"
,
{
dangerouslyUseHTMLString
:
true
}
);
}
}
else
{
this
.
$alert
(
"<div style='overflow: auto;overflow-x: hidden;max-height: 70vh;padding: 10px 20px 0;'>"
+
response
.
msg
+
"</div>"
,
"导入结果"
,
{
dangerouslyUseHTMLString
:
true
}
);
}
this
.
getList
();
this
.
$showLoading
.
hide
();
}
,
// 提交上传文件
submitFileForm
()
{
this
.
$refs
.
upload
.
submit
();
}
,
// 是否下发 0-不下发 1 - 下发字典翻译
fStateFormat
(
row
,
column
)
{
if
(
row
.
fS
tate
===
1
)
{
if
(
row
.
s
tate
===
1
)
{
return
"新增"
}
else
if
(
row
.
fS
tate
===
2
)
{
}
else
if
(
row
.
s
tate
===
2
)
{
return
"修改"
}
else
if
(
row
.
fS
tate
===
-
1
)
{
}
else
if
(
row
.
s
tate
===
-
1
)
{
return
"删除"
}
}
,
...
...
@@ -210,97 +310,97 @@ export default {
// 表单重置
reset
()
{
this
.
form
=
{
fG
asBottleFilesId
:
null
,
fS
tationId
:
null
,
fR
egId
:
null
,
fR
egCode
:
null
,
fE
quNo
:
null
,
fE
quTypeCode
:
null
,
fE
quType
:
null
,
fM
ediumCode
:
null
,
fM
edium
:
null
,
fM
akeDate
:
null
,
fM
akeInfo
:
null
,
fS
elfId
:
null
,
fN
umber
:
null
,
fA
llowedFillingWeight
:
null
,
fW
ayCard
:
null
,
fP
rovinceCode
:
null
,
fP
rovinceName
:
null
,
fC
ityCode
:
null
,
fC
ityName
:
null
,
fC
ountryCode
:
null
,
fC
ountryName
:
null
,
fP
ressure
:
null
,
fV
olume
:
null
,
fV
olumeUnit
:
null
,
fC
heckId
:
null
,
fC
heckReportNo
:
null
,
fI
sCard
:
null
,
fD
epartmentId
:
null
,
fC
heckDeptCode
:
null
,
fC
heckDeptName
:
null
,
fC
heckDate
:
null
,
fN
extCheckDate
:
null
,
fS
crapId
:
null
,
fS
crapDate
:
null
,
fS
crapNo
:
null
,
fB
ottleStatus
:
"0"
,
fR
eportStatus
:
0
,
fC
hangeStatus
:
0
,
fS
tatus
:
"0"
,
fS
bCode
:
null
,
fC
ardRecId
:
null
,
fA
ppId
:
null
,
fQ
Rcode
:
null
,
fC
ardSendMan
:
null
,
fC
ardSendDeptCode
:
null
,
fC
ardSendDeptName
:
null
,
fC
ardSendTime
:
null
,
fB
uildUserId
:
null
,
fB
uildUser
:
null
,
fB
ak0
:
null
,
fB
ak1
:
null
,
fB
ak2
:
null
,
fP
ChkDate
:
null
,
fN
ChkDate
:
null
,
fP
roductDate
:
null
,
fD
iscardDate
:
null
,
fS
afeJudgeDate
:
null
,
fG
Pressure
:
null
,
fW
Pressure
:
null
,
fS
elfWeight
:
null
,
fT
hickness
:
null
,
fP
ermitNo
:
null
,
fV
alveType
:
null
,
fV
alveName
:
null
,
fI
mageList
:
null
,
fP
ayImage
:
null
,
fB
atchImage
:
null
,
fD
eviceImage
:
null
,
fC
heckImage
:
null
,
fE
quNoImage
:
null
,
fS
elfIdImage
:
null
,
fB
otImage
:
null
,
fB
otSpecType
:
null
,
fB
otSpecName
:
null
,
fB
ottleType
:
null
,
fI
nspectedTimes
:
null
,
fI
sSpecialized
:
null
,
fV
alveManuFacturer
:
null
,
fI
nspectionLabel
:
null
,
fT
hirdPartyLabel
:
null
,
fH
oleCode
:
null
,
fB
ottleStorageType
:
null
,
fS
ourceFrom
:
null
,
fR
owVersion
:
null
,
fS
tate
:
null
,
fO
ptId
:
null
,
fO
ptName
:
null
,
fA
ddTime
:
null
,
fU
pTime
:
null
,
fU
pOptId
:
null
,
fU
pOptName
:
null
g
asBottleFilesId
:
null
,
s
tationId
:
null
,
r
egId
:
null
,
r
egCode
:
null
,
e
quNo
:
null
,
e
quTypeCode
:
null
,
e
quType
:
null
,
m
ediumCode
:
null
,
m
edium
:
null
,
m
akeDate
:
null
,
m
akeInfo
:
null
,
s
elfId
:
null
,
n
umber
:
null
,
a
llowedFillingWeight
:
null
,
w
ayCard
:
null
,
p
rovinceCode
:
null
,
p
rovinceName
:
null
,
c
ityCode
:
null
,
c
ityName
:
null
,
c
ountryCode
:
null
,
c
ountryName
:
null
,
p
ressure
:
null
,
v
olume
:
null
,
v
olumeUnit
:
null
,
c
heckId
:
null
,
c
heckReportNo
:
null
,
i
sCard
:
null
,
d
epartmentId
:
null
,
c
heckDeptCode
:
null
,
c
heckDeptName
:
null
,
c
heckDate
:
null
,
n
extCheckDate
:
null
,
s
crapId
:
null
,
s
crapDate
:
null
,
s
crapNo
:
null
,
b
ottleStatus
:
"0"
,
r
eportStatus
:
0
,
c
hangeStatus
:
0
,
s
tatus
:
"0"
,
s
bCode
:
null
,
c
ardRecId
:
null
,
a
ppId
:
null
,
q
Rcode
:
null
,
c
ardSendMan
:
null
,
c
ardSendDeptCode
:
null
,
c
ardSendDeptName
:
null
,
c
ardSendTime
:
null
,
b
uildUserId
:
null
,
b
uildUser
:
null
,
b
ak0
:
null
,
b
ak1
:
null
,
b
ak2
:
null
,
p
ChkDate
:
null
,
n
ChkDate
:
null
,
p
roductDate
:
null
,
d
iscardDate
:
null
,
s
afeJudgeDate
:
null
,
g
Pressure
:
null
,
w
Pressure
:
null
,
s
elfWeight
:
null
,
t
hickness
:
null
,
p
ermitNo
:
null
,
v
alveType
:
null
,
v
alveName
:
null
,
i
mageList
:
null
,
p
ayImage
:
null
,
b
atchImage
:
null
,
d
eviceImage
:
null
,
c
heckImage
:
null
,
e
quNoImage
:
null
,
s
elfIdImage
:
null
,
b
otImage
:
null
,
b
otSpecType
:
null
,
b
otSpecName
:
null
,
b
ottleType
:
null
,
i
nspectedTimes
:
null
,
i
sSpecialized
:
null
,
v
alveManuFacturer
:
null
,
i
nspectionLabel
:
null
,
t
hirdPartyLabel
:
null
,
h
oleCode
:
null
,
b
ottleStorageType
:
null
,
s
ourceFrom
:
null
,
r
owVersion
:
null
,
s
tate
:
null
,
o
ptId
:
null
,
o
ptName
:
null
,
a
ddTime
:
null
,
u
pTime
:
null
,
u
pOptId
:
null
,
u
pOptName
:
null
}
;
this
.
resetForm
(
"form"
);
}
,
...
...
@@ -316,13 +416,13 @@ export default {
}
,
// 多选框选中数据
handleSelectionChange
(
selection
)
{
this
.
ids
=
selection
.
map
(
item
=>
item
.
fG
asBottleFilesId
)
this
.
ids
=
selection
.
map
(
item
=>
item
.
g
asBottleFilesId
)
this
.
single
=
selection
.
length
!==
1
this
.
multiple
=
!
selection
.
length
}
,
//详情
handleDetail
(
row
){
this
.
$refs
.
detail
.
getDetailInfo
(
row
.
fG
asBottleFilesId
);
this
.
$refs
.
detail
.
getDetailInfo
(
row
.
g
asBottleFilesId
);
}
,
/** 导出按钮操作 */
handleExport
()
{
...
...
@@ -332,11 +432,13 @@ export default {
cancelButtonText
:
"取消"
,
type
:
"warning"
}
).
then
(()
=>
{
this
.
$showLoading
.
show
();
this
.
exportLoading
=
true
;
return
exportFiles
(
queryParams
);
}
).
then
(
response
=>
{
this
.
download
(
response
.
msg
);
this
.
exportLoading
=
false
;
this
.
$showLoading
.
hide
();
}
).
catch
(()
=>
{
}
);
}
}
...
...
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