TMonthlyProductionReportMapper.xml 49 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715
  1. <?xml version="1.0" encoding="UTF-8" ?>
  2. <!DOCTYPE mapper
  3. PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
  4. "http://mybatis.org/dtd/mybatis-3-mapper.dtd">
  5. <mapper namespace="com.ruoyi.project.production.mapper.TMonthlyProductionReportMapper">
  6. <resultMap type="TMonthlyProductionReport" id="TMonthlyProductionReportResult">
  7. <result property="id" column="id" />
  8. <result property="reportMonth" column="report_month" />
  9. <result property="reportYear" column="report_year" />
  10. <result property="nap" column="nap" />
  11. <result property="c5" column="c5" />
  12. <result property="c6C8Na" column="c6_c8_na" />
  13. <result property="wisonEthane" column="wison_ethane" />
  14. <result property="lpgToFurnace" column="lpg_to_furnace" />
  15. <result property="raff3FrBdAnd2ph" column="raff3_fr_bd_and_2ph" />
  16. <result property="c2FrLdpe" column="c2_fr_ldpe" />
  17. <result property="c3FrOxo" column="c3_fr_oxo" />
  18. <result property="mixedC3C4" column="mixed_c3_c4" />
  19. <result property="hyC9" column="hy_c9" />
  20. <result property="pguOffgas" column="pgu_offgas" />
  21. <result property="washOil" column="wash_oil" />
  22. <result property="toluene" column="toluene" />
  23. <result property="hyC4FrR800" column="hy_c4_fr_r800" />
  24. <result property="crackerRawInput" column="cracker_raw_input" />
  25. <result property="crackerRawFeed" column="cracker_raw_feed" />
  26. <result property="h2Produced" column="h2_produced" />
  27. <result property="ethylenProduced" column="ethylen_produced" />
  28. <result property="propyleneProduced" column="propylene_produced" />
  29. <result property="c3C4LpgProduced" column="c3_c4_lpg_produced" />
  30. <result property="mixedC4sProduced" column="mixed_c4s_produced" />
  31. <result property="rpgProduced" column="rpg_produced" />
  32. <result property="poFluxOilProduced" column="po_flux_oil_produced" />
  33. <result property="naphthaleneProduced" column="naphthalene_produced" />
  34. <result property="eboProduced" column="ebo_produced" />
  35. <result property="residueOilProduced" column="residue_oil_produced" />
  36. <result property="methaneProduced" column="methane_produced" />
  37. <result property="offgasProduced" column="offgas_produced" />
  38. <result property="crackerOutput" column="cracker_output" />
  39. <result property="pguRpg2" column="pgu_rpg2" />
  40. <result property="pguH2" column="pgu_h2" />
  41. <result property="pguBtxProduced" column="pgu_btx_produced" />
  42. <result property="pguBtxToAeu" column="pgu_btx_to_aeu" />
  43. <result property="aromaticsRawInput" column="aromatics_raw_input" />
  44. <result property="aeuBenzeneProduced" column="aeu_benzene_produced" />
  45. <result property="aeuTolueneProduced" column="aeu_toluene_produced" />
  46. <result property="aeuXyleneProduced" column="aeu_xylene_produced" />
  47. <result property="aeuC6C8NaProduced" column="aeu_c6_c8_na_produced" />
  48. <result property="pguC5Produced" column="pgu_c5_produced" />
  49. <result property="pguC9Produced" column="pgu_c9_produced" />
  50. <result property="pguWashoilProduced" column="pgu_washoil_produced" />
  51. <result property="pguOffgasProduced" column="pgu_offgas_produced" />
  52. <result property="pguBtxChange" column="pgu_btx_change" />
  53. <result property="aeuTolueneProducedMEu" column="aeu_toluene_produced_m_eu" />
  54. <result property="aromaticsOutput" column="aromatics_output" />
  55. <result property="gaseityYield" column="gaseity_yield" />
  56. <result property="tatalYield" column="tatal_yield" />
  57. <result property="c3C2Yield" column="c3_c2_yield" />
  58. <result property="h2Yield" column="h2_yield" />
  59. <result property="ethyleneYield" column="ethylene_yield" />
  60. <result property="propyleneYield" column="propylene_yield" />
  61. <result property="c3C4LpgYield" column="c3_c4_lpg_yield" />
  62. <result property="c4sYield" column="c4s_yield" />
  63. <result property="poYield" column="po_yield" />
  64. <result property="naphthaleneYield" column="naphthalene_yield" />
  65. <result property="eboYield" column="ebo_yield" />
  66. <result property="wsYield" column="ws_yield" />
  67. <result property="methaneYield" column="methane_yield" />
  68. <result property="offageYield" column="offage_yield" />
  69. <result property="rpgYield" column="rpg_yield" />
  70. <result property="benzeneYield" column="benzene_yield" />
  71. <result property="tolueneYield" column="toluene_yield" />
  72. <result property="xyleneYield" column="xylene_yield" />
  73. <result property="c6C8NaYield" column="c6_c8_na_yield" />
  74. <result property="c5Yield" column="c5_yield" />
  75. <result property="c9Yield" column="c9_yield" />
  76. <result property="euLoss" column="eu_loss" />
  77. <result property="euLossRate" column="eu_loss_rate" />
  78. <result property="aeuLoss" column="aeu_loss" />
  79. <result property="aeuLossRate" column="aeu_loss_rate" />
  80. <result property="totalLoss" column="total_loss" />
  81. <result property="totalLossRate" column="total_loss_rate" />
  82. <result property="c2ProductRate" column="c2_product_rate" />
  83. <result property="c3ProductRate" column="c3_product_rate" />
  84. <result property="c4sProductRate" column="c4s_product_rate" />
  85. <result property="fuelGasOffgasCracker" column="fuel_gas_offgas_cracker" />
  86. <result property="shpCracker" column="shp_cracker" />
  87. <result property="hpCracker" column="hp_cracker" />
  88. <result property="mpCracker" column="mp_cracker" />
  89. <result property="lpCracker" column="lp_cracker" />
  90. <result property="electricityCracker" column="electricity_cracker" />
  91. <result property="coolingWaterCracker" column="cooling_water_cracker" />
  92. <result property="crackerConsumptionIa" column="cracker_consumption_ia" />
  93. <result property="paIaCracker" column="pa_ia_cracker" />
  94. <result property="n2Cracker" column="n2_cracker" />
  95. <result property="hpBfwCracker" column="hp_bfw_cracker" />
  96. <result property="polishedConCracker" column="polished_con_cracker" />
  97. <result property="crackerConsumptionPww" column="cracker_consumption_pww" />
  98. <result property="turbineConCracker" column="turbine_con_cracker" />
  99. <result property="crackerConsumptionCnww" column="cracker_consumption_cnww" />
  100. <result property="crackerConsumptionDww" column="cracker_consumption_dww" />
  101. <result property="crackerConsumptionWo" column="cracker_consumption_wo" />
  102. <result property="crackerConsumptionPw" column="cracker_consumption_pw" />
  103. <result property="prodWaterCracker" column="prod_water_cracker" />
  104. <result property="crackerConsumptionNg" column="cracker_consumption_ng" />
  105. <result property="crackerConsumptionOffgas" column="cracker_consumption_offgas" />
  106. <result property="crackerEnergyTeTeo" column="cracker_energy_te_teo" />
  107. <result property="crackerEnergyTeTec" column="cracker_energy_te_tec" />
  108. <result property="crackerEnergyEeKgeot" column="cracker_energy_ee_kgeot" />
  109. <result property="crackerEnergyEeKgect" column="cracker_energy_ee_kgect" />
  110. <result property="shpPguAeu" column="shp_pgu_aeu" />
  111. <result property="hpPguAeu" column="hp_pgu_aeu" />
  112. <result property="mpPguAeu" column="mp_pgu_aeu" />
  113. <result property="lpPguAeu" column="lp_pgu_aeu" />
  114. <result property="electricityPguAeu" column="electricity_pgu_aeu" />
  115. <result property="coolingWaterPguAeu" column="cooling_water_pgu_aeu" />
  116. <result property="aromaticsConsumptionPw" column="aromatics_consumption_pw" />
  117. <result property="prodWaterPguAeu" column="prod_water_pgu_aeu" />
  118. <result property="hpBfwPguAeu" column="hp_bfw_pgu_aeu" />
  119. <result property="n2PguAeu" column="n2_pgu_aeu" />
  120. <result property="paIaPguAeu" column="pa_ia_pgu_aeu" />
  121. <result property="turbineConPguAeu" column="turbine_con_pgu_aeu" />
  122. <result property="aromaticsConsumptionCww" column="aromatics_consumption_cww" />
  123. <result property="aromaticsConsumptionPww" column="aromatics_consumption_pww" />
  124. <result property="aromaticsConsumptionDww" column="aromatics_consumption_dww" />
  125. <result property="aromaticsConsumptionWl" column="aromatics_consumption_wl" />
  126. <result property="aromaticsEnergyTeTeo" column="aromatics_energy_te_teo" />
  127. <result property="aromaticsEnergyTeTec" column="aromatics_energy_te_tec" />
  128. <result property="aromaticsEnergyEeKgeot" column="aromatics_energy_ee_kgeot" />
  129. <result property="aromaticsEnergyEeKgect" column="aromatics_energy_ee_kgect" />
  130. <result property="shutdouwnOpt" column="shutdouwn_opt" />
  131. <result property="shutdouwnOph" column="shutdouwn_oph" />
  132. <result property="shutdouwnEqt" column="shutdouwn_eqt" />
  133. <result property="shutdouwnEqh" column="shutdouwn_eqh" />
  134. <result property="shutdouwnIt" column="shutdouwn_it" />
  135. <result property="shutdouwnIth" column="shutdouwn_ith" />
  136. <result property="shutdouwnElt" column="shutdouwn_elt" />
  137. <result property="shutdouwnElth" column="shutdouwn_elth" />
  138. <result property="shutdouwnOt" column="shutdouwn_ot" />
  139. <result property="shutdouwnOth" column="shutdouwn_oth" />
  140. <result property="shutdouwnTt" column="shutdouwn_tt" />
  141. <result property="shutdouwnTh" column="shutdouwn_th" />
  142. </resultMap>
  143. <select id="selectCrackerRawMaterialByYear" parameterType="Long" resultMap="TMonthlyProductionReportResult">
  144. select
  145. d.id, d.report_month, d.report_year, d.nap, d.c5, d.c6_c8_na, d.wison_ethane, d.lpg_to_furnace,
  146. d.raff3_fr_bd_and_2ph, d.c2_fr_ldpe, d.c3_fr_oxo, d.mixed_c3_c4, d.hy_c9, d.pgu_offgas,
  147. d.wash_oil, d.toluene, d.hy_c4_fr_r800, d.cracker_raw_input, d.cracker_raw_feed
  148. from
  149. t_monthly_production_report d
  150. where d.report_year = #{year}
  151. </select>
  152. <select id="selectCrackerOutputProductByYear" parameterType="Long" resultMap="TMonthlyProductionReportResult">
  153. select
  154. d.id, d.report_month, d.report_year, d.H2_PRODUCED, d.ETHYLEN_PRODUCED, d.PROPYLENE_PRODUCED,
  155. d.C3_C4_LPG_PRODUCED, d.MIXED_C4S_PRODUCED, d.RPG_PRODUCED, d.PO_FLUX_OIL_PRODUCED, d.NAPHTHALENE_PRODUCED,
  156. d.EBO_PRODUCED, d.RESIDUE_OIL_PRODUCED, d.METHANE_PRODUCED, d.OFFGAS_PRODUCED, d.CRACKER_OUTPUT
  157. from
  158. t_monthly_production_report d
  159. where d.report_year = #{year}
  160. </select>
  161. <select id="selectAromaticsRawMaterialByYear" parameterType="Long" resultMap="TMonthlyProductionReportResult">
  162. select
  163. d.id, d.report_month, d.report_year, d.pgu_rpg2, d.pgu_h2,
  164. d.pgu_btx_produced, d.pgu_btx_to_aeu, d.aromatics_raw_input
  165. from
  166. t_monthly_production_report d
  167. where d.report_year = #{year}
  168. </select>
  169. <select id="selectAromaticsOutputProductByYear" parameterType="Long" resultMap="TMonthlyProductionReportResult">
  170. select
  171. d.id, d.report_month, d.report_year, d.aeu_benzene_produced, d.aeu_toluene_produced,
  172. d.aeu_xylene_produced, d.aeu_c6_c8_na_produced, d.pgu_c5_produced, d.pgu_c9_produced,
  173. d.pgu_washoil_produced, d.pgu_offgas_produced, d.pgu_btx_change, d.aeu_toluene_produced_m_eu,
  174. d.aromatics_output, d.PGU_BTX_PRODUCED
  175. from
  176. t_monthly_production_report d
  177. where d.report_year = #{year}
  178. </select>
  179. <select id="selectProductYieldByYear" parameterType="Long" resultMap="TMonthlyProductionReportResult">
  180. select
  181. d.id, d.report_month, d.report_year,
  182. d.gaseity_yield, d.tatal_yield, d.c3_c2_yield, d.h2_yield, d.ethylene_yield, d.propylene_yield,
  183. d.c3_c4_lpg_yield, d.c4s_yield, d.po_yield, d.naphthalene_yield, d.ebo_yield, d.ws_yield,
  184. d.methane_yield, d.offage_yield, d.rpg_yield, d.benzene_yield, d.toluene_yield, d.xylene_yield,
  185. d.c6_c8_na_yield, d.c5_yield, d.c9_yield
  186. from
  187. t_monthly_production_report d
  188. where d.report_year = #{year}
  189. </select>
  190. <select id="selectEligibleProductRateByYear" parameterType="Long" resultMap="TMonthlyProductionReportResult">
  191. select
  192. d.id, d.report_month, d.report_year, d.c2_product_rate, d.c3_product_rate, d.c4s_product_rate
  193. from
  194. t_monthly_production_report d
  195. where d.report_year = #{year}
  196. </select>
  197. <select id="selectCrackerUtilityConsumptionByYear" parameterType="Long" resultMap="TMonthlyProductionReportResult">
  198. select
  199. d.id, d.report_month, d.report_year, d.fuel_gas_offgas_cracker, d.shp_cracker, d.hp_cracker,
  200. d.mp_cracker, d.lp_cracker, d.electricity_cracker, d.cooling_water_cracker, d.cracker_consumption_ia,
  201. d.pa_ia_cracker, d.n2_cracker, d.hp_bfw_cracker, d.polished_con_cracker, d.cracker_consumption_pww,
  202. d.turbine_con_cracker, d.cracker_consumption_cnww, d.cracker_consumption_dww, d.cracker_consumption_wo,
  203. d.cracker_consumption_pw, d.prod_water_cracker, d.cracker_consumption_ng, d.cracker_consumption_offgas
  204. from
  205. t_monthly_production_report d
  206. where d.report_year = #{year}
  207. </select>
  208. <select id="selectCrackerEnergyConsumptionByYear" parameterType="Long" resultMap="TMonthlyProductionReportResult">
  209. select
  210. d.id, d.report_month, d.report_year, d.cracker_energy_te_teo, d.cracker_energy_te_tec,
  211. d.cracker_energy_ee_kgeot, d.cracker_energy_ee_kgect
  212. from
  213. t_monthly_production_report d
  214. where d.report_year = #{year}
  215. </select>
  216. <select id="selectAromaticsUtilityConsumptionByYear" parameterType="Long" resultMap="TMonthlyProductionReportResult">
  217. select
  218. d.id, d.report_month, d.report_year, d.shp_pgu_aeu, d.hp_pgu_aeu, d.mp_pgu_aeu, d.lp_pgu_aeu,
  219. d.electricity_pgu_aeu, d.cooling_water_pgu_aeu, d.aromatics_consumption_pw, d.prod_water_pgu_aeu,
  220. d.hp_bfw_pgu_aeu, d.n2_pgu_aeu, d.pa_ia_pgu_aeu, d.turbine_con_pgu_aeu, d.aromatics_consumption_cww,
  221. d.aromatics_consumption_pww, d.aromatics_consumption_dww, d.aromatics_consumption_wl
  222. from
  223. t_monthly_production_report d
  224. where d.report_year = #{year}
  225. </select>
  226. <select id="selectAromaticsEnergyConsumptionByYear" parameterType="Long" resultMap="TMonthlyProductionReportResult">
  227. select
  228. d.id, d.report_month, d.report_year, d.aromatics_energy_te_teo, d.aromatics_energy_te_tec,
  229. d.aromatics_energy_ee_kgeot, d.aromatics_energy_ee_kgect
  230. from
  231. t_monthly_production_report d
  232. where d.report_year = #{year}
  233. </select>
  234. <select id="selectPlantLoadByYear" parameterType="Long" resultMap="TMonthlyProductionReportResult"></select>
  235. <select id="selectCostFrEthyleneByYear" parameterType="Long" resultMap="TMonthlyProductionReportResult"></select>
  236. <select id="selectRuningRateByYear" parameterType="Long" resultMap="TMonthlyProductionReportResult"></select>
  237. <select id="selectShoudownHourByYear" parameterType="Long" resultMap="TMonthlyProductionReportResult">
  238. select
  239. d.id, d.report_month, d.report_year,
  240. d.shutdouwn_opt, d.shutdouwn_oph, d.shutdouwn_eqt, d.shutdouwn_eqh, d.shutdouwn_it, d.shutdouwn_ith,
  241. d.shutdouwn_elt, d.shutdouwn_elth, d.shutdouwn_ot, d.shutdouwn_oth, d.shutdouwn_tt, d.shutdouwn_th
  242. from
  243. t_monthly_production_report d
  244. where d.report_year = #{year}
  245. </select>
  246. <select id="selectOthersideByYear" parameterType="Long" resultMap="TMonthlyProductionReportResult">
  247. select
  248. d.id, d.report_month, d.report_year,
  249. d.eu_loss, d.eu_loss_rate, d.aeu_loss, d.aeu_loss_rate, d.total_loss, d.total_loss_rate
  250. from
  251. t_monthly_production_report d
  252. where d.report_year = #{year}
  253. </select>
  254. <select id="selectChemicalConsumeByYear" parameterType="Long" resultMap="TMonthlyProductionReportResult"></select>
  255. <select id="selectSCTUUtilityConsumptionByYear" parameterType="Long" resultMap="TMonthlyProductionReportResult"></select>
  256. <select id="selectSUBUtilityConsumptionByYear" parameterType="Long" resultMap="TMonthlyProductionReportResult"></select>
  257. <select id="selectSCTFUtilityConsumptionByYear" parameterType="Long" resultMap="TMonthlyProductionReportResult"></select>
  258. <select id="selectKbiByYear" parameterType="Long" resultMap="TMonthlyProductionReportResult"></select>
  259. <select id="selectSummaryByYear" parameterType="Long" resultMap="TMonthlyProductionReportResult"></select>
  260. <select id="selectTMonthlyProductionReportCountByDate" parameterType="int" resultType="int">
  261. select count(id)
  262. from t_monthly_production_report d
  263. where d.report_month = #{reportMonth} and d.report_year = #{reportYear}
  264. </select>
  265. <select id="selectTMonthlyProductionReportByDate" parameterType="int" resultMap="TMonthlyProductionReportResult">
  266. select *
  267. from t_monthly_production_report d
  268. where d.report_month = #{reportMonth} and d.report_year = #{reportYear}
  269. </select>
  270. <insert id="insertTMonthlyProductionReport" parameterType="TMonthlyProductionReport">
  271. <selectKey keyProperty="id" resultType="long" order="BEFORE">
  272. SELECT SEQ_T_MONTHLY_REPORT.NEXTVAL as id FROM DUAL
  273. </selectKey>
  274. insert into t_monthly_production_report
  275. <trim prefix="(" suffix=")" suffixOverrides=",">
  276. <if test="id != null">id,</if>
  277. <if test="reportMonth != null">report_month,</if>
  278. <if test="reportYear != null">report_year,</if>
  279. <if test="nap != null">nap,</if>
  280. <if test="c5 != null">c5,</if>
  281. <if test="c6C8Na != null">c6_c8_na,</if>
  282. <if test="wisonEthane != null">wison_ethane,</if>
  283. <if test="lpgToFurnace != null">lpg_to_furnace,</if>
  284. <if test="raff3FrBdAnd2ph != null">raff3_fr_bd_and_2ph,</if>
  285. <if test="c2FrLdpe != null">c2_fr_ldpe,</if>
  286. <if test="c3FrOxo != null">c3_fr_oxo,</if>
  287. <if test="mixedC3C4 != null">mixed_c3_c4,</if>
  288. <if test="hyC9 != null">hy_c9,</if>
  289. <if test="pguOffgas != null">pgu_offgas,</if>
  290. <if test="washOil != null">wash_oil,</if>
  291. <if test="toluene != null">toluene,</if>
  292. <if test="hyC4FrR800 != null">hy_c4_fr_r800,</if>
  293. <if test="crackerRawInput != null">cracker_raw_input,</if>
  294. <if test="crackerRawFeed != null">cracker_raw_feed,</if>
  295. <if test="h2Produced != null">h2_produced,</if>
  296. <if test="ethylenProduced != null">ethylen_produced,</if>
  297. <if test="propyleneProduced != null">propylene_produced,</if>
  298. <if test="c3C4LpgProduced != null">c3_c4_lpg_produced,</if>
  299. <if test="mixedC4sProduced != null">mixed_c4s_produced,</if>
  300. <if test="rpgProduced != null">rpg_produced,</if>
  301. <if test="poFluxOilProduced != null">po_flux_oil_produced,</if>
  302. <if test="naphthaleneProduced != null">naphthalene_produced,</if>
  303. <if test="eboProduced != null">ebo_produced,</if>
  304. <if test="residueOilProduced != null">residue_oil_produced,</if>
  305. <if test="methaneProduced != null">methane_produced,</if>
  306. <if test="offgasProduced != null">offgas_produced,</if>
  307. <if test="crackerOutput != null">cracker_output,</if>
  308. <if test="pguRpg2 != null">pgu_rpg2,</if>
  309. <if test="pguH2 != null">pgu_h2,</if>
  310. <if test="pguBtxProduced != null">pgu_btx_produced,</if>
  311. <if test="pguBtxToAeu != null">pgu_btx_to_aeu,</if>
  312. <if test="aromaticsRawInput != null">aromatics_raw_input,</if>
  313. <if test="aeuBenzeneProduced != null">aeu_benzene_produced,</if>
  314. <if test="aeuTolueneProduced != null">aeu_toluene_produced,</if>
  315. <if test="aeuXyleneProduced != null">aeu_xylene_produced,</if>
  316. <if test="aeuC6C8NaProduced != null">aeu_c6_c8_na_produced,</if>
  317. <if test="pguC5Produced != null">pgu_c5_produced,</if>
  318. <if test="pguC9Produced != null">pgu_c9_produced,</if>
  319. <if test="pguWashoilProduced != null">pgu_washoil_produced,</if>
  320. <if test="pguOffgasProduced != null">pgu_offgas_produced,</if>
  321. <if test="pguBtxChange != null">pgu_btx_change,</if>
  322. <if test="aeuTolueneProducedMEu != null">aeu_toluene_produced_m_eu,</if>
  323. <if test="aromaticsOutput != null">aromatics_output,</if>
  324. <if test="gaseityYield != null">gaseity_yield,</if>
  325. <if test="tatalYield != null">tatal_yield,</if>
  326. <if test="c3C2Yield != null">c3_c2_yield,</if>
  327. <if test="h2Yield != null">h2_yield,</if>
  328. <if test="ethyleneYield != null">ethylene_yield,</if>
  329. <if test="propyleneYield != null">propylene_yield,</if>
  330. <if test="c3C4LpgYield != null">c3_c4_lpg_yield,</if>
  331. <if test="c4sYield != null">c4s_yield,</if>
  332. <if test="poYield != null">po_yield,</if>
  333. <if test="naphthaleneYield != null">naphthalene_yield,</if>
  334. <if test="eboYield != null">ebo_yield,</if>
  335. <if test="wsYield != null">ws_yield,</if>
  336. <if test="methaneYield != null">methane_yield,</if>
  337. <if test="offageYield != null">offage_yield,</if>
  338. <if test="rpgYield != null">rpg_yield,</if>
  339. <if test="benzeneYield != null">benzene_yield,</if>
  340. <if test="tolueneYield != null">toluene_yield,</if>
  341. <if test="xyleneYield != null">xylene_yield,</if>
  342. <if test="c6C8NaYield != null">c6_c8_na_yield,</if>
  343. <if test="c5Yield != null">c5_yield,</if>
  344. <if test="c9Yield != null">c9_yield,</if>
  345. <if test="euLoss != null">eu_loss,</if>
  346. <if test="euLossRate != null">eu_loss_rate,</if>
  347. <if test="aeuLoss != null">aeu_loss,</if>
  348. <if test="aeuLossRate != null">aeu_loss_rate,</if>
  349. <if test="totalLoss != null">total_loss,</if>
  350. <if test="totalLossRate != null">total_loss_rate,</if>
  351. <if test="c2ProductRate != null">c2_product_rate,</if>
  352. <if test="c3ProductRate != null">c3_product_rate,</if>
  353. <if test="c4sProductRate != null">c4s_product_rate,</if>
  354. <if test="fuelGasOffgasCracker != null">fuel_gas_offgas_cracker,</if>
  355. <if test="shpCracker != null">shp_cracker,</if>
  356. <if test="hpCracker != null">hp_cracker,</if>
  357. <if test="mpCracker != null">mp_cracker,</if>
  358. <if test="lpCracker != null">lp_cracker,</if>
  359. <if test="electricityCracker != null">electricity_cracker,</if>
  360. <if test="coolingWaterCracker != null">cooling_water_cracker,</if>
  361. <if test="crackerConsumptionIa != null">cracker_consumption_ia,</if>
  362. <if test="paIaCracker != null">pa_ia_cracker,</if>
  363. <if test="n2Cracker != null">n2_cracker,</if>
  364. <if test="hpBfwCracker != null">hp_bfw_cracker,</if>
  365. <if test="polishedConCracker != null">polished_con_cracker,</if>
  366. <if test="crackerConsumptionPww != null">cracker_consumption_pww,</if>
  367. <if test="turbineConCracker != null">turbine_con_cracker,</if>
  368. <if test="crackerConsumptionCnww != null">cracker_consumption_cnww,</if>
  369. <if test="crackerConsumptionDww != null">cracker_consumption_dww,</if>
  370. <if test="crackerConsumptionWo != null">cracker_consumption_wo,</if>
  371. <if test="crackerConsumptionPw != null">cracker_consumption_pw,</if>
  372. <if test="prodWaterCracker != null">prod_water_cracker,</if>
  373. <if test="crackerConsumptionNg != null">cracker_consumption_ng,</if>
  374. <if test="crackerConsumptionOffgas != null">cracker_consumption_offgas,</if>
  375. <if test="crackerEnergyTeTeo != null">cracker_energy_te_teo,</if>
  376. <if test="crackerEnergyTeTec != null">cracker_energy_te_tec,</if>
  377. <if test="crackerEnergyEeKgeot != null">cracker_energy_ee_kgeot,</if>
  378. <if test="crackerEnergyEeKgect != null">cracker_energy_ee_kgect,</if>
  379. <if test="shpPguAeu != null">shp_pgu_aeu,</if>
  380. <if test="hpPguAeu != null">hp_pgu_aeu,</if>
  381. <if test="mpPguAeu != null">mp_pgu_aeu,</if>
  382. <if test="lpPguAeu != null">lp_pgu_aeu,</if>
  383. <if test="electricityPguAeu != null">electricity_pgu_aeu,</if>
  384. <if test="coolingWaterPguAeu != null">cooling_water_pgu_aeu,</if>
  385. <if test="aromaticsConsumptionPw != null">aromatics_consumption_pw,</if>
  386. <if test="prodWaterPguAeu != null">prod_water_pgu_aeu,</if>
  387. <if test="hpBfwPguAeu != null">hp_bfw_pgu_aeu,</if>
  388. <if test="n2PguAeu != null">n2_pgu_aeu,</if>
  389. <if test="paIaPguAeu != null">pa_ia_pgu_aeu,</if>
  390. <if test="turbineConPguAeu != null">turbine_con_pgu_aeu,</if>
  391. <if test="aromaticsConsumptionCww != null">aromatics_consumption_cww,</if>
  392. <if test="aromaticsConsumptionPww != null">aromatics_consumption_pww,</if>
  393. <if test="aromaticsConsumptionDww != null">aromatics_consumption_dww,</if>
  394. <if test="aromaticsConsumptionWl != null">aromatics_consumption_wl,</if>
  395. <if test="aromaticsEnergyTeTeo != null">aromatics_energy_te_teo,</if>
  396. <if test="aromaticsEnergyTeTec != null">aromatics_energy_te_tec,</if>
  397. <if test="aromaticsEnergyEeKgeot != null">aromatics_energy_ee_kgeot,</if>
  398. <if test="aromaticsEnergyEeKgect != null">aromatics_energy_ee_kgect,</if>
  399. <if test="shutdouwnOpt != null">shutdouwn_opt,</if>
  400. <if test="shutdouwnOph != null">shutdouwn_oph,</if>
  401. <if test="shutdouwnEqt != null">shutdouwn_eqt,</if>
  402. <if test="shutdouwnEqh != null">shutdouwn_eqh,</if>
  403. <if test="shutdouwnIt != null">shutdouwn_it,</if>
  404. <if test="shutdouwnIth != null">shutdouwn_ith,</if>
  405. <if test="shutdouwnElt != null">shutdouwn_elt,</if>
  406. <if test="shutdouwnElth != null">shutdouwn_elth,</if>
  407. <if test="shutdouwnOt != null">shutdouwn_ot,</if>
  408. <if test="shutdouwnOth != null">shutdouwn_oth,</if>
  409. <if test="shutdouwnTt != null">shutdouwn_tt,</if>
  410. <if test="shutdouwnTh != null">shutdouwn_th,</if>
  411. </trim>
  412. <trim prefix="values (" suffix=")" suffixOverrides=",">
  413. <if test="id != null">#{id},</if>
  414. <if test="reportMonth != null">#{reportMonth},</if>
  415. <if test="reportYear != null">#{reportYear},</if>
  416. <if test="nap != null">#{nap},</if>
  417. <if test="c5 != null">#{c5},</if>
  418. <if test="c6C8Na != null">#{c6C8Na},</if>
  419. <if test="wisonEthane != null">#{wisonEthane},</if>
  420. <if test="lpgToFurnace != null">#{lpgToFurnace},</if>
  421. <if test="raff3FrBdAnd2ph != null">#{raff3FrBdAnd2ph},</if>
  422. <if test="c2FrLdpe != null">#{c2FrLdpe},</if>
  423. <if test="c3FrOxo != null">#{c3FrOxo},</if>
  424. <if test="mixedC3C4 != null">#{mixedC3C4},</if>
  425. <if test="hyC9 != null">#{hyC9},</if>
  426. <if test="pguOffgas != null">#{pguOffgas},</if>
  427. <if test="washOil != null">#{washOil},</if>
  428. <if test="toluene != null">#{toluene},</if>
  429. <if test="hyC4FrR800 != null">#{hyC4FrR800},</if>
  430. <if test="crackerRawInput != null">#{crackerRawInput},</if>
  431. <if test="crackerRawFeed != null">#{crackerRawFeed},</if>
  432. <if test="h2Produced != null">#{h2Produced},</if>
  433. <if test="ethylenProduced != null">#{ethylenProduced},</if>
  434. <if test="propyleneProduced != null">#{propyleneProduced},</if>
  435. <if test="c3C4LpgProduced != null">#{c3C4LpgProduced},</if>
  436. <if test="mixedC4sProduced != null">#{mixedC4sProduced},</if>
  437. <if test="rpgProduced != null">#{rpgProduced},</if>
  438. <if test="poFluxOilProduced != null">#{poFluxOilProduced},</if>
  439. <if test="naphthaleneProduced != null">#{naphthaleneProduced},</if>
  440. <if test="eboProduced != null">#{eboProduced},</if>
  441. <if test="residueOilProduced != null">#{residueOilProduced},</if>
  442. <if test="methaneProduced != null">#{methaneProduced},</if>
  443. <if test="offgasProduced != null">#{offgasProduced},</if>
  444. <if test="crackerOutput != null">#{crackerOutput},</if>
  445. <if test="pguRpg2 != null">#{pguRpg2},</if>
  446. <if test="pguH2 != null">#{pguH2},</if>
  447. <if test="pguBtxProduced != null">#{pguBtxProduced},</if>
  448. <if test="pguBtxToAeu != null">#{pguBtxToAeu},</if>
  449. <if test="aromaticsRawInput != null">#{aromaticsRawInput},</if>
  450. <if test="aeuBenzeneProduced != null">#{aeuBenzeneProduced},</if>
  451. <if test="aeuTolueneProduced != null">#{aeuTolueneProduced},</if>
  452. <if test="aeuXyleneProduced != null">#{aeuXyleneProduced},</if>
  453. <if test="aeuC6C8NaProduced != null">#{aeuC6C8NaProduced},</if>
  454. <if test="pguC5Produced != null">#{pguC5Produced},</if>
  455. <if test="pguC9Produced != null">#{pguC9Produced},</if>
  456. <if test="pguWashoilProduced != null">#{pguWashoilProduced},</if>
  457. <if test="pguOffgasProduced != null">#{pguOffgasProduced},</if>
  458. <if test="pguBtxChange != null">#{pguBtxChange},</if>
  459. <if test="aeuTolueneProducedMEu != null">#{aeuTolueneProducedMEu},</if>
  460. <if test="aromaticsOutput != null">#{aromaticsOutput},</if>
  461. <if test="gaseityYield != null">#{gaseityYield},</if>
  462. <if test="tatalYield != null">#{tatalYield},</if>
  463. <if test="c3C2Yield != null">#{c3C2Yield},</if>
  464. <if test="h2Yield != null">#{h2Yield},</if>
  465. <if test="ethyleneYield != null">#{ethyleneYield},</if>
  466. <if test="propyleneYield != null">#{propyleneYield},</if>
  467. <if test="c3C4LpgYield != null">#{c3C4LpgYield},</if>
  468. <if test="c4sYield != null">#{c4sYield},</if>
  469. <if test="poYield != null">#{poYield},</if>
  470. <if test="naphthaleneYield != null">#{naphthaleneYield},</if>
  471. <if test="eboYield != null">#{eboYield},</if>
  472. <if test="wsYield != null">#{wsYield},</if>
  473. <if test="methaneYield != null">#{methaneYield},</if>
  474. <if test="offageYield != null">#{offageYield},</if>
  475. <if test="rpgYield != null">#{rpgYield},</if>
  476. <if test="benzeneYield != null">#{benzeneYield},</if>
  477. <if test="tolueneYield != null">#{tolueneYield},</if>
  478. <if test="xyleneYield != null">#{xyleneYield},</if>
  479. <if test="c6C8NaYield != null">#{c6C8NaYield},</if>
  480. <if test="c5Yield != null">#{c5Yield},</if>
  481. <if test="c9Yield != null">#{c9Yield},</if>
  482. <if test="euLoss != null">#{euLoss},</if>
  483. <if test="euLossRate != null">#{euLossRate},</if>
  484. <if test="aeuLoss != null">#{aeuLoss},</if>
  485. <if test="aeuLossRate != null">#{aeuLossRate},</if>
  486. <if test="totalLoss != null">#{totalLoss},</if>
  487. <if test="totalLossRate != null">#{totalLossRate},</if>
  488. <if test="c2ProductRate != null">#{c2ProductRate},</if>
  489. <if test="c3ProductRate != null">#{c3ProductRate},</if>
  490. <if test="c4sProductRate != null">#{c4sProductRate},</if>
  491. <if test="fuelGasOffgasCracker != null">#{fuelGasOffgasCracker},</if>
  492. <if test="shpCracker != null">#{shpCracker},</if>
  493. <if test="hpCracker != null">#{hpCracker},</if>
  494. <if test="mpCracker != null">#{mpCracker},</if>
  495. <if test="lpCracker != null">#{lpCracker},</if>
  496. <if test="electricityCracker != null">#{electricityCracker},</if>
  497. <if test="coolingWaterCracker != null">#{coolingWaterCracker},</if>
  498. <if test="crackerConsumptionIa != null">#{crackerConsumptionIa},</if>
  499. <if test="paIaCracker != null">#{paIaCracker},</if>
  500. <if test="n2Cracker != null">#{n2Cracker},</if>
  501. <if test="hpBfwCracker != null">#{hpBfwCracker},</if>
  502. <if test="polishedConCracker != null">#{polishedConCracker},</if>
  503. <if test="crackerConsumptionPww != null">#{crackerConsumptionPww},</if>
  504. <if test="turbineConCracker != null">#{turbineConCracker},</if>
  505. <if test="crackerConsumptionCnww != null">#{crackerConsumptionCnww},</if>
  506. <if test="crackerConsumptionDww != null">#{crackerConsumptionDww},</if>
  507. <if test="crackerConsumptionWo != null">#{crackerConsumptionWo},</if>
  508. <if test="crackerConsumptionPw != null">#{crackerConsumptionPw},</if>
  509. <if test="prodWaterCracker != null">#{prodWaterCracker},</if>
  510. <if test="crackerConsumptionNg != null">#{crackerConsumptionNg},</if>
  511. <if test="crackerConsumptionOffgas != null">#{crackerConsumptionOffgas},</if>
  512. <if test="crackerEnergyTeTeo != null">#{crackerEnergyTeTeo},</if>
  513. <if test="crackerEnergyTeTec != null">#{crackerEnergyTeTec},</if>
  514. <if test="crackerEnergyEeKgeot != null">#{crackerEnergyEeKgeot},</if>
  515. <if test="crackerEnergyEeKgect != null">#{crackerEnergyEeKgect},</if>
  516. <if test="shpPguAeu != null">#{shpPguAeu},</if>
  517. <if test="hpPguAeu != null">#{hpPguAeu},</if>
  518. <if test="mpPguAeu != null">#{mpPguAeu},</if>
  519. <if test="lpPguAeu != null">#{lpPguAeu},</if>
  520. <if test="electricityPguAeu != null">#{electricityPguAeu},</if>
  521. <if test="coolingWaterPguAeu != null">#{coolingWaterPguAeu},</if>
  522. <if test="aromaticsConsumptionPw != null">#{aromaticsConsumptionPw},</if>
  523. <if test="prodWaterPguAeu != null">#{prodWaterPguAeu},</if>
  524. <if test="hpBfwPguAeu != null">#{hpBfwPguAeu},</if>
  525. <if test="n2PguAeu != null">#{n2PguAeu},</if>
  526. <if test="paIaPguAeu != null">#{paIaPguAeu},</if>
  527. <if test="turbineConPguAeu != null">#{turbineConPguAeu},</if>
  528. <if test="aromaticsConsumptionCww != null">#{aromaticsConsumptionCww},</if>
  529. <if test="aromaticsConsumptionPww != null">#{aromaticsConsumptionPww},</if>
  530. <if test="aromaticsConsumptionDww != null">#{aromaticsConsumptionDww},</if>
  531. <if test="aromaticsConsumptionWl != null">#{aromaticsConsumptionWl},</if>
  532. <if test="aromaticsEnergyTeTeo != null">#{aromaticsEnergyTeTeo},</if>
  533. <if test="aromaticsEnergyTeTec != null">#{aromaticsEnergyTeTec},</if>
  534. <if test="aromaticsEnergyEeKgeot != null">#{aromaticsEnergyEeKgeot},</if>
  535. <if test="aromaticsEnergyEeKgect != null">#{aromaticsEnergyEeKgect},</if>
  536. <if test="shutdouwnOpt != null">#{shutdouwnOpt},</if>
  537. <if test="shutdouwnOph != null">#{shutdouwnOph},</if>
  538. <if test="shutdouwnEqt != null">#{shutdouwnEqt},</if>
  539. <if test="shutdouwnEqh != null">#{shutdouwnEqh},</if>
  540. <if test="shutdouwnIt != null">#{shutdouwnIt},</if>
  541. <if test="shutdouwnIth != null">#{shutdouwnIth},</if>
  542. <if test="shutdouwnElt != null">#{shutdouwnElt},</if>
  543. <if test="shutdouwnElth != null">#{shutdouwnElth},</if>
  544. <if test="shutdouwnOt != null">#{shutdouwnOt},</if>
  545. <if test="shutdouwnOth != null">#{shutdouwnOth},</if>
  546. <if test="shutdouwnTt != null">#{shutdouwnTt},</if>
  547. <if test="shutdouwnTh != null">#{shutdouwnTh},</if>
  548. </trim>
  549. </insert>
  550. <update id="updateTMonthlyProductionReport" parameterType="TMonthlyProductionReport">
  551. update t_monthly_production_report
  552. <trim prefix="SET" suffixOverrides=",">
  553. <if test="nap != null">nap = #{nap},</if>
  554. <if test="c5 != null">c5 = #{c5},</if>
  555. <if test="c6C8Na != null">c6_c8_na = #{c6C8Na},</if>
  556. <if test="wisonEthane != null">wison_ethane = #{wisonEthane},</if>
  557. <if test="lpgToFurnace != null">lpg_to_furnace = #{lpgToFurnace},</if>
  558. <if test="raff3FrBdAnd2ph != null">raff3_fr_bd_and_2ph = #{raff3FrBdAnd2ph},</if>
  559. <if test="c2FrLdpe != null">c2_fr_ldpe = #{c2FrLdpe},</if>
  560. <if test="c3FrOxo != null">c3_fr_oxo = #{c3FrOxo},</if>
  561. <if test="mixedC3C4 != null">mixed_c3_c4 = #{mixedC3C4},</if>
  562. <if test="hyC9 != null">hy_c9 = #{hyC9},</if>
  563. <if test="pguOffgas != null">pgu_offgas = #{pguOffgas},</if>
  564. <if test="washOil != null">wash_oil = #{washOil},</if>
  565. <if test="toluene != null">toluene = #{toluene},</if>
  566. <if test="hyC4FrR800 != null">hy_c4_fr_r800 = #{hyC4FrR800},</if>
  567. <if test="crackerRawInput != null">cracker_raw_input = #{crackerRawInput},</if>
  568. <if test="crackerRawFeed != null">cracker_raw_feed = #{crackerRawFeed},</if>
  569. <if test="h2Produced != null">h2_produced = #{h2Produced},</if>
  570. <if test="ethylenProduced != null">ethylen_produced = #{ethylenProduced},</if>
  571. <if test="propyleneProduced != null">propylene_produced = #{propyleneProduced},</if>
  572. <if test="c3C4LpgProduced != null">c3_c4_lpg_produced = #{c3C4LpgProduced},</if>
  573. <if test="mixedC4sProduced != null">mixed_c4s_produced = #{mixedC4sProduced},</if>
  574. <if test="rpgProduced != null">rpg_produced = #{rpgProduced},</if>
  575. <if test="poFluxOilProduced != null">po_flux_oil_produced = #{poFluxOilProduced},</if>
  576. <if test="naphthaleneProduced != null">naphthalene_produced = #{naphthaleneProduced},</if>
  577. <if test="eboProduced != null">ebo_produced = #{eboProduced},</if>
  578. <if test="residueOilProduced != null">residue_oil_produced = #{residueOilProduced},</if>
  579. <if test="methaneProduced != null">methane_produced = #{methaneProduced},</if>
  580. <if test="offgasProduced != null">offgas_produced = #{offgasProduced},</if>
  581. <if test="crackerOutput != null">cracker_output = #{crackerOutput},</if>
  582. <if test="pguRpg2 != null">pgu_rpg2 = #{pguRpg2},</if>
  583. <if test="pguH2 != null">pgu_h2 = #{pguH2},</if>
  584. <if test="pguBtxProduced != null">pgu_btx_produced = #{pguBtxProduced},</if>
  585. <if test="pguBtxToAeu != null">pgu_btx_to_aeu = #{pguBtxToAeu},</if>
  586. <if test="aromaticsRawInput != null">aromatics_raw_input = #{aromaticsRawInput},</if>
  587. <if test="aeuBenzeneProduced != null">aeu_benzene_produced = #{aeuBenzeneProduced},</if>
  588. <if test="aeuTolueneProduced != null">aeu_toluene_produced = #{aeuTolueneProduced},</if>
  589. <if test="aeuXyleneProduced != null">aeu_xylene_produced = #{aeuXyleneProduced},</if>
  590. <if test="aeuC6C8NaProduced != null">aeu_c6_c8_na_produced = #{aeuC6C8NaProduced},</if>
  591. <if test="pguC5Produced != null">pgu_c5_produced = #{pguC5Produced},</if>
  592. <if test="pguC9Produced != null">pgu_c9_produced = #{pguC9Produced},</if>
  593. <if test="pguWashoilProduced != null">pgu_washoil_produced = #{pguWashoilProduced},</if>
  594. <if test="pguOffgasProduced != null">pgu_offgas_produced = #{pguOffgasProduced},</if>
  595. <if test="pguBtxChange != null">pgu_btx_change = #{pguBtxChange},</if>
  596. <if test="aeuTolueneProducedMEu != null">aeu_toluene_produced_m_eu = #{aeuTolueneProducedMEu},</if>
  597. <if test="aromaticsOutput != null">aromatics_output = #{aromaticsOutput},</if>
  598. <if test="gaseityYield != null">gaseity_yield = #{gaseityYield},</if>
  599. <if test="tatalYield != null">tatal_yield = #{tatalYield},</if>
  600. <if test="c3C2Yield != null">c3_c2_yield = #{c3C2Yield},</if>
  601. <if test="h2Yield != null">h2_yield = #{h2Yield},</if>
  602. <if test="ethyleneYield != null">ethylene_yield = #{ethyleneYield},</if>
  603. <if test="propyleneYield != null">propylene_yield = #{propyleneYield},</if>
  604. <if test="c3C4LpgYield != null">c3_c4_lpg_yield = #{c3C4LpgYield},</if>
  605. <if test="c4sYield != null">c4s_yield = #{c4sYield},</if>
  606. <if test="poYield != null">po_yield = #{poYield},</if>
  607. <if test="naphthaleneYield != null">naphthalene_yield = #{naphthaleneYield},</if>
  608. <if test="eboYield != null">ebo_yield = #{eboYield},</if>
  609. <if test="wsYield != null">ws_yield = #{wsYield},</if>
  610. <if test="methaneYield != null">methane_yield = #{methaneYield},</if>
  611. <if test="offageYield != null">offage_yield = #{offageYield},</if>
  612. <if test="rpgYield != null">rpg_yield = #{rpgYield},</if>
  613. <if test="benzeneYield != null">benzene_yield = #{benzeneYield},</if>
  614. <if test="tolueneYield != null">toluene_yield = #{tolueneYield},</if>
  615. <if test="xyleneYield != null">xylene_yield = #{xyleneYield},</if>
  616. <if test="c6C8NaYield != null">c6_c8_na_yield = #{c6C8NaYield},</if>
  617. <if test="c5Yield != null">c5_yield = #{c5Yield},</if>
  618. <if test="c9Yield != null">c9_yield = #{c9Yield},</if>
  619. <if test="euLoss != null">eu_loss = #{euLoss},</if>
  620. <if test="euLossRate != null">eu_loss_rate = #{euLossRate},</if>
  621. <if test="aeuLoss != null">aeu_loss = #{aeuLoss},</if>
  622. <if test="aeuLossRate != null">aeu_loss_rate = #{aeuLossRate},</if>
  623. <if test="totalLoss != null">total_loss = #{totalLoss},</if>
  624. <if test="totalLossRate != null">total_loss_rate = #{totalLossRate},</if>
  625. <if test="c2ProductRate != null">c2_product_rate = #{c2ProductRate},</if>
  626. <if test="c3ProductRate != null">c3_product_rate = #{c3ProductRate},</if>
  627. <if test="c4sProductRate != null">c4s_product_rate = #{c4sProductRate},</if>
  628. <if test="fuelGasOffgasCracker != null">fuel_gas_offgas_cracker = #{fuelGasOffgasCracker},</if>
  629. <if test="shpCracker != null">shp_cracker = #{shpCracker},</if>
  630. <if test="hpCracker != null">hp_cracker = #{hpCracker},</if>
  631. <if test="mpCracker != null">mp_cracker = #{mpCracker},</if>
  632. <if test="lpCracker != null">lp_cracker = #{lpCracker},</if>
  633. <if test="electricityCracker != null">electricity_cracker = #{electricityCracker},</if>
  634. <if test="coolingWaterCracker != null">cooling_water_cracker = #{coolingWaterCracker},</if>
  635. <if test="crackerConsumptionIa != null">cracker_consumption_ia = #{crackerConsumptionIa},</if>
  636. <if test="paIaCracker != null">pa_ia_cracker = #{paIaCracker},</if>
  637. <if test="n2Cracker != null">n2_cracker = #{n2Cracker},</if>
  638. <if test="hpBfwCracker != null">hp_bfw_cracker = #{hpBfwCracker},</if>
  639. <if test="polishedConCracker != null">polished_con_cracker = #{polishedConCracker},</if>
  640. <if test="crackerConsumptionPww != null">cracker_consumption_pww = #{crackerConsumptionPww},</if>
  641. <if test="turbineConCracker != null">turbine_con_cracker = #{turbineConCracker},</if>
  642. <if test="crackerConsumptionCnww != null">cracker_consumption_cnww = #{crackerConsumptionCnww},</if>
  643. <if test="crackerConsumptionDww != null">cracker_consumption_dww = #{crackerConsumptionDww},</if>
  644. <if test="crackerConsumptionWo != null">cracker_consumption_wo = #{crackerConsumptionWo},</if>
  645. <if test="crackerConsumptionPw != null">cracker_consumption_pw = #{crackerConsumptionPw},</if>
  646. <if test="prodWaterCracker != null">prod_water_cracker = #{prodWaterCracker},</if>
  647. <if test="crackerConsumptionNg != null">cracker_consumption_ng = #{crackerConsumptionNg},</if>
  648. <if test="crackerConsumptionOffgas != null">cracker_consumption_offgas = #{crackerConsumptionOffgas},</if>
  649. <if test="crackerEnergyTeTeo != null">cracker_energy_te_teo = #{crackerEnergyTeTeo},</if>
  650. <if test="crackerEnergyTeTec != null">cracker_energy_te_tec = #{crackerEnergyTeTec},</if>
  651. <if test="crackerEnergyEeKgeot != null">cracker_energy_ee_kgeot = #{crackerEnergyEeKgeot},</if>
  652. <if test="crackerEnergyEeKgect != null">cracker_energy_ee_kgect = #{crackerEnergyEeKgect},</if>
  653. <if test="shpPguAeu != null">shp_pgu_aeu = #{shpPguAeu},</if>
  654. <if test="hpPguAeu != null">hp_pgu_aeu = #{hpPguAeu},</if>
  655. <if test="mpPguAeu != null">mp_pgu_aeu = #{mpPguAeu},</if>
  656. <if test="lpPguAeu != null">lp_pgu_aeu = #{lpPguAeu},</if>
  657. <if test="electricityPguAeu != null">electricity_pgu_aeu = #{electricityPguAeu},</if>
  658. <if test="coolingWaterPguAeu != null">cooling_water_pgu_aeu = #{coolingWaterPguAeu},</if>
  659. <if test="aromaticsConsumptionPw != null">aromatics_consumption_pw = #{aromaticsConsumptionPw},</if>
  660. <if test="prodWaterPguAeu != null">prod_water_pgu_aeu = #{prodWaterPguAeu},</if>
  661. <if test="hpBfwPguAeu != null">hp_bfw_pgu_aeu = #{hpBfwPguAeu},</if>
  662. <if test="n2PguAeu != null">n2_pgu_aeu = #{n2PguAeu},</if>
  663. <if test="paIaPguAeu != null">pa_ia_pgu_aeu = #{paIaPguAeu},</if>
  664. <if test="turbineConPguAeu != null">turbine_con_pgu_aeu = #{turbineConPguAeu},</if>
  665. <if test="aromaticsConsumptionCww != null">aromatics_consumption_cww = #{aromaticsConsumptionCww},</if>
  666. <if test="aromaticsConsumptionPww != null">aromatics_consumption_pww = #{aromaticsConsumptionPww},</if>
  667. <if test="aromaticsConsumptionDww != null">aromatics_consumption_dww = #{aromaticsConsumptionDww},</if>
  668. <if test="aromaticsConsumptionWl != null">aromatics_consumption_wl = #{aromaticsConsumptionWl},</if>
  669. <if test="aromaticsEnergyTeTeo != null">aromatics_energy_te_teo = #{aromaticsEnergyTeTeo},</if>
  670. <if test="aromaticsEnergyTeTec != null">aromatics_energy_te_tec = #{aromaticsEnergyTeTec},</if>
  671. <if test="aromaticsEnergyEeKgeot != null">aromatics_energy_ee_kgeot = #{aromaticsEnergyEeKgeot},</if>
  672. <if test="aromaticsEnergyEeKgect != null">aromatics_energy_ee_kgect = #{aromaticsEnergyEeKgect},</if>
  673. <if test="shutdouwnOpt != null">shutdouwn_opt = #{shutdouwnOpt},</if>
  674. <if test="shutdouwnOph != null">shutdouwn_oph = #{shutdouwnOph},</if>
  675. <if test="shutdouwnEqt != null">shutdouwn_eqt = #{shutdouwnEqt},</if>
  676. <if test="shutdouwnEqh != null">shutdouwn_eqh = #{shutdouwnEqh},</if>
  677. <if test="shutdouwnIt != null">shutdouwn_it = #{shutdouwnIt},</if>
  678. <if test="shutdouwnIth != null">shutdouwn_ith = #{shutdouwnIth},</if>
  679. <if test="shutdouwnElt != null">shutdouwn_elt = #{shutdouwnElt},</if>
  680. <if test="shutdouwnElth != null">shutdouwn_elth = #{shutdouwnElth},</if>
  681. <if test="shutdouwnOt != null">shutdouwn_ot = #{shutdouwnOt},</if>
  682. <if test="shutdouwnOth != null">shutdouwn_oth = #{shutdouwnOth},</if>
  683. <if test="shutdouwnTt != null">shutdouwn_tt = #{shutdouwnTt},</if>
  684. <if test="shutdouwnTh != null">shutdouwn_th = #{shutdouwnTh},</if>
  685. </trim>
  686. where report_month = #{reportMonth} and report_year = #{reportYear}
  687. </update>
  688. </mapper>