TMeasureThickness.java 17 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753
  1. package com.ruoyi.project.sems.domain;
  2. import java.util.Date;
  3. import com.baomidou.mybatisplus.annotation.TableField;
  4. import com.baomidou.mybatisplus.annotation.TableName;
  5. import com.fasterxml.jackson.annotation.JsonFormat;
  6. import com.ruoyi.framework.aspectj.lang.annotation.Excel;
  7. import com.ruoyi.framework.web.domain.BaseEntity;
  8. import org.apache.commons.lang3.builder.ToStringBuilder;
  9. import org.apache.commons.lang3.builder.ToStringStyle;
  10. /**
  11. * 定点测厚对象 t_measure_thickness
  12. *
  13. * @author ruoyi
  14. * @date 2021-07-07
  15. */
  16. @TableName("T_MEASURE_THICKNESS")
  17. public class TMeasureThickness extends BaseEntity
  18. {
  19. private static final long serialVersionUID = 1L;
  20. /** 唯一标识ID */
  21. private Long id;
  22. /** 装置名称 */
  23. @Excel(name = "装置名称")
  24. private String plantCode;
  25. /** 单元名称 */
  26. @Excel(name = "单元名称")
  27. private String unitCode;
  28. /** 设备位号 */
  29. @Excel(name = "单位内编号")
  30. private String tagno;
  31. /** 状态 */
  32. @Excel(name = "跟踪状态",dictType = "spec_measure_status")
  33. private Long status;
  34. /** 测厚部位CML */
  35. @Excel(name = "测厚部位CML")
  36. private String position;
  37. /** 创建时间 */
  38. private Date createdate;
  39. /** 修改人 */
  40. private Long updaterCode;
  41. /** 修改时间 */
  42. @JsonFormat(pattern = "yyyy-MM-dd" , timezone = "GMT+8")
  43. private Date updatedate;
  44. /** 部门编号 */
  45. private Long deptId;
  46. /** 检测编号 */
  47. @Excel(name = "检测编号")
  48. private String measureNo;
  49. /** 设备/管线名称 */
  50. @Excel(name = "设备/管线名称")
  51. private String equipmentName;
  52. /** 材质 */
  53. @Excel(name = "材质")
  54. private String material;
  55. /** 名义壁厚 */
  56. @Excel(name = "公称壁厚(mm)")
  57. private String nominalTickness;
  58. /** 最小允许壁厚 */
  59. @Excel(name = "最小允许壁厚(mm)")
  60. private String thicknessMin;
  61. /** 短期腐蚀速率 */
  62. @Excel(name = "短期腐蚀速率(mm/year)")
  63. private String stCorrosion;
  64. /** 长期腐蚀速率 */
  65. @Excel(name = "长期腐蚀速率(mm/year)")
  66. private String ltCorrosion;
  67. /** 测厚周期 */
  68. @Excel(name = "测厚周期(月)")
  69. private String measureCycle;
  70. /**
  71. * 首次检测日期
  72. */
  73. @TableField(exist = false)
  74. @JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8")
  75. @Excel(name = "首次测厚日期", width = 30, dateFormat = "yyyy-MM-dd")
  76. private Date firstMeasureDate;
  77. /**
  78. * 最近检测日期
  79. */
  80. @TableField(exist = false)
  81. @JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8")
  82. @Excel(name = "最近测厚日期", width = 30, dateFormat = "yyyy-MM-dd")
  83. private Date newMeasureDate;
  84. /**
  85. * 下次检测日期
  86. */
  87. @TableField(exist = false)
  88. //@Excel(name = "下次测厚日期", width = 30, dateFormat = "yyyy-MM-dd")
  89. private String nextMeasureDate;
  90. /** 预估寿命 */
  91. @Excel(name = "预估剩余寿命(year)")
  92. private String estRemain;
  93. /** 时间 */
  94. @JsonFormat(pattern = "yyyy-MM-dd" , timezone = "GMT+8")
  95. @Excel(name = "下次测厚日期", width = 30, dateFormat = "yyyy-MM-dd")
  96. private Date nextWarnDate;
  97. /** 检测方法 */
  98. @Excel(name = "检测方法",dictType = "spec_measure_method")
  99. private String inspectionMethod;
  100. /** 腐蚀裕度 */
  101. @Excel(name = "腐蚀裕度(mm)")
  102. private String corAllowance;
  103. /** 原始壁厚 */
  104. @Excel(name = "原始壁厚(mm)")
  105. private String originalThickness;
  106. /** 介质 */
  107. @Excel(name = "介质")
  108. private String medium;
  109. /** 压力 */
  110. @Excel(name = "压力(MPa)")
  111. private String pressure;
  112. /** 规格 */
  113. @Excel(name = "规格")
  114. private String specification;
  115. /** 流速 */
  116. @Excel(name = "流速(m/s)")
  117. private String flowRate;
  118. /** 温度 */
  119. @Excel(name = "温度(℃)")
  120. private String temperature;
  121. /** 腐蚀类型 */
  122. @Excel(name = "腐蚀类型")
  123. private String corrosionType;
  124. /** 腐蚀照片 */
  125. //@Excel(name = "腐蚀照片")
  126. private String photo;
  127. /** 原因分析 */
  128. @Excel(name = "原因分析")
  129. private String analysis;
  130. /** 治理方法及依据 */
  131. @Excel(name = "治理方法及依据")
  132. private String methodCause;
  133. /** 效果跟踪 */
  134. @Excel(name = "效果跟踪")
  135. private String effectTracing;
  136. /** 提出人 */
  137. @Excel(name = "提出人")
  138. private String raiser;
  139. /** 提出时间 */
  140. @JsonFormat(pattern = "yyyy-MM-dd" , timezone = "GMT+8")
  141. @Excel(name = "提出时间", width = 30, dateFormat = "yyyy-MM-dd")
  142. private Date raiserDate;
  143. /** 状态 0 :正常 ;2:删除 */
  144. private Long delFlag;
  145. /** 腐蚀位置 */
  146. //@Excel(name = "腐蚀位置")
  147. private String locationUrl;
  148. /** 原因分析附件 */
  149. //@Excel(name = "原因分析附件")
  150. private String analysisUrl;
  151. /** 测厚趋势图 */
  152. //@Excel(name = "测厚趋势图")
  153. private String recordUrl;
  154. /** 其他检测方法内容 */
  155. @Excel(name = "其他检测方法内容")
  156. private String otherContent;
  157. /**
  158. * 检测方法UT
  159. */
  160. @TableField(exist = false)
  161. private Boolean methodUT;
  162. /**
  163. * 检测方法PEC
  164. */
  165. @TableField(exist = false)
  166. private Boolean methodPEC;
  167. /**
  168. * 检测方法RT
  169. */
  170. @TableField(exist = false)
  171. private Boolean methodRT;
  172. /**
  173. * 检测方法EMAT
  174. */
  175. @TableField(exist = false)
  176. private Boolean methodEMAT;
  177. /**
  178. * 检测方法其他
  179. */
  180. @TableField(exist = false)
  181. private Boolean methodOther;
  182. @TableField(exist = false)
  183. private Integer warnFlag;
  184. /** 记录人 */
  185. @Excel(name = "记录人")
  186. private String recorder;
  187. /** 记录时间 */
  188. @JsonFormat(pattern = "yyyy-MM-dd" , timezone = "GMT+8")
  189. @Excel(name = "记录时间", width = 30, dateFormat = "yyyy-MM-dd")
  190. private Date recorderDate;
  191. /** 备注 */
  192. @Excel(name = "备注")
  193. private String remarks;
  194. public Date getNextWarnDate() {
  195. return nextWarnDate;
  196. }
  197. public void setNextWarnDate(Date nextWarnDate) {
  198. this.nextWarnDate = nextWarnDate;
  199. }
  200. public Integer getWarnFlag() {
  201. return warnFlag;
  202. }
  203. public void setWarnFlag(Integer warnFlag) {
  204. this.warnFlag = warnFlag;
  205. }
  206. public String getMeasureNo() {
  207. return measureNo;
  208. }
  209. public void setMeasureNo(String measureNo) {
  210. this.measureNo = measureNo;
  211. }
  212. public Boolean getMethodUT() {
  213. return methodUT;
  214. }
  215. public void setMethodUT(Boolean methodUT) {
  216. this.methodUT = methodUT;
  217. }
  218. public Boolean getMethodPEC() {
  219. return methodPEC;
  220. }
  221. public void setMethodPEC(Boolean methodPEC) {
  222. this.methodPEC = methodPEC;
  223. }
  224. public Boolean getMethodRT() {
  225. return methodRT;
  226. }
  227. public void setMethodRT(Boolean methodRT) {
  228. this.methodRT = methodRT;
  229. }
  230. public Boolean getMethodEMAT() {
  231. return methodEMAT;
  232. }
  233. public void setMethodEMAT(Boolean methodEMAT) {
  234. this.methodEMAT = methodEMAT;
  235. }
  236. public Boolean getMethodOther() {
  237. return methodOther;
  238. }
  239. public void setMethodOther(Boolean methodOther) {
  240. this.methodOther = methodOther;
  241. }
  242. public void setId(Long id)
  243. {
  244. this.id = id;
  245. }
  246. public Long getId()
  247. {
  248. return id;
  249. }
  250. public void setPlantCode(String plantCode)
  251. {
  252. this.plantCode = plantCode;
  253. }
  254. public String getPlantCode()
  255. {
  256. return plantCode;
  257. }
  258. public void setUnitCode(String unitCode)
  259. {
  260. this.unitCode = unitCode;
  261. }
  262. public String getUnitCode()
  263. {
  264. return unitCode;
  265. }
  266. public void setTagno(String tagno)
  267. {
  268. this.tagno = tagno;
  269. }
  270. public String getTagno()
  271. {
  272. return tagno;
  273. }
  274. public void setStatus(Long status)
  275. {
  276. this.status = status;
  277. }
  278. public Long getStatus()
  279. {
  280. return status;
  281. }
  282. public void setCreatedate(Date createdate)
  283. {
  284. this.createdate = createdate;
  285. }
  286. public Date getCreatedate()
  287. {
  288. return createdate;
  289. }
  290. public void setUpdaterCode(Long updaterCode)
  291. {
  292. this.updaterCode = updaterCode;
  293. }
  294. public Long getUpdaterCode()
  295. {
  296. return updaterCode;
  297. }
  298. public void setUpdatedate(Date updatedate)
  299. {
  300. this.updatedate = updatedate;
  301. }
  302. public Date getUpdatedate()
  303. {
  304. return updatedate;
  305. }
  306. public void setDeptId(Long deptId)
  307. {
  308. this.deptId = deptId;
  309. }
  310. public Long getDeptId()
  311. {
  312. return deptId;
  313. }
  314. public void setRemarks(String remarks)
  315. {
  316. this.remarks = remarks;
  317. }
  318. public String getRemarks()
  319. {
  320. return remarks;
  321. }
  322. public void setPosition(String position)
  323. {
  324. this.position = position;
  325. }
  326. public String getPosition()
  327. {
  328. return position;
  329. }
  330. public void setRecorder(String recorder)
  331. {
  332. this.recorder = recorder;
  333. }
  334. public String getRecorder()
  335. {
  336. return recorder;
  337. }
  338. public void setRecorderDate(Date recorderDate)
  339. {
  340. this.recorderDate = recorderDate;
  341. }
  342. public Date getRecorderDate()
  343. {
  344. return recorderDate;
  345. }
  346. public void setEquipmentName(String equipmentName)
  347. {
  348. this.equipmentName = equipmentName;
  349. }
  350. public String getEquipmentName()
  351. {
  352. return equipmentName;
  353. }
  354. public void setMaterial(String material)
  355. {
  356. this.material = material;
  357. }
  358. public String getMaterial()
  359. {
  360. return material;
  361. }
  362. public void setCorAllowance(String corAllowance)
  363. {
  364. this.corAllowance = corAllowance;
  365. }
  366. public String getCorAllowance()
  367. {
  368. return corAllowance;
  369. }
  370. public void setOriginalThickness(String originalThickness)
  371. {
  372. this.originalThickness = originalThickness;
  373. }
  374. public String getOriginalThickness()
  375. {
  376. return originalThickness;
  377. }
  378. public void setMedium(String medium)
  379. {
  380. this.medium = medium;
  381. }
  382. public String getMedium()
  383. {
  384. return medium;
  385. }
  386. public void setPressure(String pressure)
  387. {
  388. this.pressure = pressure;
  389. }
  390. public String getPressure()
  391. {
  392. return pressure;
  393. }
  394. public void setSpecification(String specification)
  395. {
  396. this.specification = specification;
  397. }
  398. public String getSpecification()
  399. {
  400. return specification;
  401. }
  402. public void setFlowRate(String flowRate)
  403. {
  404. this.flowRate = flowRate;
  405. }
  406. public String getFlowRate()
  407. {
  408. return flowRate;
  409. }
  410. public void setTemperature(String temperature)
  411. {
  412. this.temperature = temperature;
  413. }
  414. public String getTemperature()
  415. {
  416. return temperature;
  417. }
  418. public void setCorrosionType(String corrosionType)
  419. {
  420. this.corrosionType = corrosionType;
  421. }
  422. public String getCorrosionType()
  423. {
  424. return corrosionType;
  425. }
  426. public void setInspectionMethod(String inspectionMethod)
  427. {
  428. this.inspectionMethod = inspectionMethod;
  429. }
  430. public String getInspectionMethod()
  431. {
  432. return inspectionMethod;
  433. }
  434. public void setPhoto(String photo)
  435. {
  436. this.photo = photo;
  437. }
  438. public String getPhoto()
  439. {
  440. return photo;
  441. }
  442. public void setAnalysis(String analysis)
  443. {
  444. this.analysis = analysis;
  445. }
  446. public String getAnalysis()
  447. {
  448. return analysis;
  449. }
  450. public void setNominalTickness(String nominalTickness)
  451. {
  452. this.nominalTickness = nominalTickness;
  453. }
  454. public String getNominalTickness()
  455. {
  456. return nominalTickness;
  457. }
  458. public void setThicknessMin(String thicknessMin)
  459. {
  460. this.thicknessMin = thicknessMin;
  461. }
  462. public String getThicknessMin()
  463. {
  464. return thicknessMin;
  465. }
  466. public void setStCorrosion(String stCorrosion)
  467. {
  468. this.stCorrosion = stCorrosion;
  469. }
  470. public String getStCorrosion()
  471. {
  472. return stCorrosion;
  473. }
  474. public void setLtCorrosion(String ltCorrosion)
  475. {
  476. this.ltCorrosion = ltCorrosion;
  477. }
  478. public String getLtCorrosion()
  479. {
  480. return ltCorrosion;
  481. }
  482. public void setEstRemain(String estRemain)
  483. {
  484. this.estRemain = estRemain;
  485. }
  486. public String getEstRemain()
  487. {
  488. return estRemain;
  489. }
  490. public void setMethodCause(String methodCause)
  491. {
  492. this.methodCause = methodCause;
  493. }
  494. public String getMethodCause()
  495. {
  496. return methodCause;
  497. }
  498. public void setEffectTracing(String effectTracing)
  499. {
  500. this.effectTracing = effectTracing;
  501. }
  502. public String getEffectTracing()
  503. {
  504. return effectTracing;
  505. }
  506. public void setRaiser(String raiser)
  507. {
  508. this.raiser = raiser;
  509. }
  510. public String getRaiser()
  511. {
  512. return raiser;
  513. }
  514. public void setRaiserDate(Date raiserDate)
  515. {
  516. this.raiserDate = raiserDate;
  517. }
  518. public Date getRaiserDate()
  519. {
  520. return raiserDate;
  521. }
  522. public void setDelFlag(Long delFlag)
  523. {
  524. this.delFlag = delFlag;
  525. }
  526. public Long getDelFlag()
  527. {
  528. return delFlag;
  529. }
  530. public void setLocationUrl(String locationUrl)
  531. {
  532. this.locationUrl = locationUrl;
  533. }
  534. public String getLocationUrl()
  535. {
  536. return locationUrl;
  537. }
  538. public void setAnalysisUrl(String analysisUrl)
  539. {
  540. this.analysisUrl = analysisUrl;
  541. }
  542. public String getAnalysisUrl()
  543. {
  544. return analysisUrl;
  545. }
  546. public void setMeasureCycle(String measureCycle)
  547. {
  548. this.measureCycle = measureCycle;
  549. }
  550. public String getMeasureCycle()
  551. {
  552. return measureCycle;
  553. }
  554. public void setRecordUrl(String recordUrl)
  555. {
  556. this.recordUrl = recordUrl;
  557. }
  558. public String getRecordUrl()
  559. {
  560. return recordUrl;
  561. }
  562. public void setOtherContent(String otherContent)
  563. {
  564. this.otherContent = otherContent;
  565. }
  566. public String getOtherContent()
  567. {
  568. return otherContent;
  569. }
  570. public Date getFirstMeasureDate() {
  571. return firstMeasureDate;
  572. }
  573. public void setFirstMeasureDate(Date firstMeasureDate) {
  574. this.firstMeasureDate = firstMeasureDate;
  575. }
  576. public Date getNewMeasureDate() {
  577. return newMeasureDate;
  578. }
  579. public void setNewMeasureDate(Date newMeasureDate) {
  580. this.newMeasureDate = newMeasureDate;
  581. }
  582. public String getNextMeasureDate() {
  583. return nextMeasureDate;
  584. }
  585. public void setNextMeasureDate(String nextMeasureDate) {
  586. this.nextMeasureDate = nextMeasureDate;
  587. }
  588. @Override
  589. public String toString() {
  590. return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
  591. .append("id", getId())
  592. .append("plantCode", getPlantCode())
  593. .append("unitCode", getUnitCode())
  594. .append("tagno", getTagno())
  595. .append("status", getStatus())
  596. .append("createdate", getCreatedate())
  597. .append("updaterCode", getUpdaterCode())
  598. .append("updatedate", getUpdatedate())
  599. .append("deptId", getDeptId())
  600. .append("remarks", getRemarks())
  601. .append("position", getPosition())
  602. .append("recorder", getRecorder())
  603. .append("recorderDate", getRecorderDate())
  604. .append("equipmentName", getEquipmentName())
  605. .append("material", getMaterial())
  606. .append("corAllowance", getCorAllowance())
  607. .append("originalThickness", getOriginalThickness())
  608. .append("medium", getMedium())
  609. .append("pressure", getPressure())
  610. .append("specification", getSpecification())
  611. .append("flowRate", getFlowRate())
  612. .append("temperature", getTemperature())
  613. .append("corrosionType", getCorrosionType())
  614. .append("inspectionMethod", getInspectionMethod())
  615. .append("photo", getPhoto())
  616. .append("analysis", getAnalysis())
  617. .append("nominalTickness", getNominalTickness())
  618. .append("thicknessMin", getThicknessMin())
  619. .append("stCorrosion", getStCorrosion())
  620. .append("ltCorrosion", getLtCorrosion())
  621. .append("estRemain", getEstRemain())
  622. .append("methodCause", getMethodCause())
  623. .append("effectTracing", getEffectTracing())
  624. .append("raiser", getRaiser())
  625. .append("raiserDate", getRaiserDate())
  626. .append("delFlag", getDelFlag())
  627. .append("locationUrl", getLocationUrl())
  628. .append("analysisUrl", getAnalysisUrl())
  629. .append("measureCycle", getMeasureCycle())
  630. .append("recordUrl", getRecordUrl())
  631. .append("otherContent", getOtherContent())
  632. .toString();
  633. }
  634. }