Windturbineinfodaytop2Mapper.xml 51 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd">
  3. <mapper namespace="com.gyee.frame.mapper.auto.Windturbineinfodaytop2Mapper">
  4. <resultMap id="BaseResultMap" type="com.gyee.frame.model.auto.Windturbineinfodaytop2">
  5. <!--
  6. WARNING - @mbg.generated
  7. This element is automatically generated by MyBatis Generator, do not modify.
  8. -->
  9. <id column="id" jdbcType="INTEGER" property="id" />
  10. <result column="windPowerStationId" jdbcType="VARCHAR" property="windpowerstationid" />
  11. <result column="projectId" jdbcType="VARCHAR" property="projectid" />
  12. <result column="lineId" jdbcType="VARCHAR" property="lineid" />
  13. <result column="windTurbineId" jdbcType="VARCHAR" property="windturbineid" />
  14. <result column="recordDate" jdbcType="TIMESTAMP" property="recorddate" />
  15. <result column="dayfdl" jdbcType="DECIMAL" property="dayfdl" />
  16. <result column="monthfdl" jdbcType="DECIMAL" property="monthfdl" />
  17. <result column="yearfdl" jdbcType="DECIMAL" property="yearfdl" />
  18. <result column="dayllfdl" jdbcType="DECIMAL" property="dayllfdl" />
  19. <result column="monthllfdl" jdbcType="DECIMAL" property="monthllfdl" />
  20. <result column="yearllfdl" jdbcType="DECIMAL" property="yearllfdl" />
  21. <result column="dayfs" jdbcType="DECIMAL" property="dayfs" />
  22. <result column="monthfs" jdbcType="DECIMAL" property="monthfs" />
  23. <result column="yearfs" jdbcType="DECIMAL" property="yearfs" />
  24. <result column="daygl" jdbcType="DECIMAL" property="daygl" />
  25. <result column="monthgl" jdbcType="DECIMAL" property="monthgl" />
  26. <result column="yeargl" jdbcType="DECIMAL" property="yeargl" />
  27. <result column="daygzssdl" jdbcType="DECIMAL" property="daygzssdl" />
  28. <result column="monthgzssdl" jdbcType="DECIMAL" property="monthgzssdl" />
  29. <result column="yeargzssdl" jdbcType="DECIMAL" property="yeargzssdl" />
  30. <result column="dayxdssdl" jdbcType="DECIMAL" property="dayxdssdl" />
  31. <result column="monthxdssdl" jdbcType="DECIMAL" property="monthxdssdl" />
  32. <result column="yearxdssdl" jdbcType="DECIMAL" property="yearxdssdl" />
  33. <result column="daywhssdl" jdbcType="DECIMAL" property="daywhssdl" />
  34. <result column="monthwhssdl" jdbcType="DECIMAL" property="monthwhssdl" />
  35. <result column="yearwhssdl" jdbcType="DECIMAL" property="yearwhssdl" />
  36. <result column="dayxnssdl" jdbcType="DECIMAL" property="dayxnssdl" />
  37. <result column="monthxnssdl" jdbcType="DECIMAL" property="monthxnssdl" />
  38. <result column="yearxnssdl" jdbcType="DECIMAL" property="yearxnssdl" />
  39. <result column="daygzsj" jdbcType="DECIMAL" property="daygzsj" />
  40. <result column="monthgzsj" jdbcType="DECIMAL" property="monthgzsj" />
  41. <result column="yeargzsj" jdbcType="DECIMAL" property="yeargzsj" />
  42. <result column="daywhsj" jdbcType="DECIMAL" property="daywhsj" />
  43. <result column="monthwhsj" jdbcType="DECIMAL" property="monthwhsj" />
  44. <result column="yearwhsj" jdbcType="DECIMAL" property="yearwhsj" />
  45. <result column="dayyxsj" jdbcType="DECIMAL" property="dayyxsj" />
  46. <result column="monthyxsj" jdbcType="DECIMAL" property="monthyxsj" />
  47. <result column="yearyxsj" jdbcType="DECIMAL" property="yearyxsj" />
  48. <result column="daytjsj" jdbcType="DECIMAL" property="daytjsj" />
  49. <result column="monthtjsj" jdbcType="DECIMAL" property="monthtjsj" />
  50. <result column="yeartjsj" jdbcType="DECIMAL" property="yeartjsj" />
  51. <result column="dayLYXS" jdbcType="DECIMAL" property="daylyxs" />
  52. <result column="monthLYXS" jdbcType="DECIMAL" property="monthlyxs" />
  53. <result column="yearLYXS" jdbcType="DECIMAL" property="yearlyxs" />
  54. <result column="dayNHYD" jdbcType="DECIMAL" property="daynhyd" />
  55. <result column="monthNHYD" jdbcType="DECIMAL" property="monthnhyd" />
  56. <result column="yearNHYD" jdbcType="DECIMAL" property="yearnhyd" />
  57. <result column="daySBKLYL" jdbcType="DECIMAL" property="daysbklyl" />
  58. <result column="monthSBKLYL" jdbcType="DECIMAL" property="monthsbklyl" />
  59. <result column="yearSBKLYL" jdbcType="DECIMAL" property="yearsbklyl" />
  60. <result column="dayDXKYXS" jdbcType="DECIMAL" property="daydxkyxs" />
  61. <result column="monthDXKYXS" jdbcType="DECIMAL" property="monthdxkyxs" />
  62. <result column="yearDXKYXS" jdbcType="DECIMAL" property="yeardxkyxs" />
  63. <result column="dayyxfss" jdbcType="DECIMAL" property="dayyxfss" />
  64. <result column="monthyxfss" jdbcType="DECIMAL" property="monthyxfss" />
  65. <result column="yearyxfss" jdbcType="DECIMAL" property="yearyxfss" />
  66. <result column="dayxfqr" jdbcType="DECIMAL" property="dayxfqr" />
  67. <result column="monthxfqr" jdbcType="DECIMAL" property="monthxfqr" />
  68. <result column="yearxfqr" jdbcType="DECIMAL" property="yearxfqr" />
  69. <result column="dayjfpl" jdbcType="DECIMAL" property="dayjfpl" />
  70. <result column="monthjfpl" jdbcType="DECIMAL" property="monthjfpl" />
  71. <result column="yearjfpl" jdbcType="DECIMAL" property="yearjfpl" />
  72. <result column="dayglyzxxs" jdbcType="DECIMAL" property="dayglyzxxs" />
  73. <result column="monthglyzxxs" jdbcType="DECIMAL" property="monthglyzxxs" />
  74. <result column="yearglyzxxs" jdbcType="DECIMAL" property="yearglyzxxs" />
  75. <result column="type" jdbcType="INTEGER" property="type" />
  76. <result column="Rank" jdbcType="INTEGER" property="rank" />
  77. <result column="Level" jdbcType="VARCHAR" property="level" />
  78. <result column="year" jdbcType="INTEGER" property="year" />
  79. <result column="month" jdbcType="INTEGER" property="month" />
  80. </resultMap>
  81. <sql id="Example_Where_Clause">
  82. <!--
  83. WARNING - @mbg.generated
  84. This element is automatically generated by MyBatis Generator, do not modify.
  85. -->
  86. <where>
  87. <foreach collection="oredCriteria" item="criteria" separator="or">
  88. <if test="criteria.valid">
  89. <trim prefix="(" prefixOverrides="and" suffix=")">
  90. <foreach collection="criteria.criteria" item="criterion">
  91. <choose>
  92. <when test="criterion.noValue">
  93. and ${criterion.condition}
  94. </when>
  95. <when test="criterion.singleValue">
  96. and ${criterion.condition} #{criterion.value}
  97. </when>
  98. <when test="criterion.betweenValue">
  99. and ${criterion.condition} #{criterion.value} and #{criterion.secondValue}
  100. </when>
  101. <when test="criterion.listValue">
  102. and ${criterion.condition}
  103. <foreach close=")" collection="criterion.value" item="listItem" open="(" separator=",">
  104. #{listItem}
  105. </foreach>
  106. </when>
  107. </choose>
  108. </foreach>
  109. </trim>
  110. </if>
  111. </foreach>
  112. </where>
  113. </sql>
  114. <sql id="Update_By_Example_Where_Clause">
  115. <!--
  116. WARNING - @mbg.generated
  117. This element is automatically generated by MyBatis Generator, do not modify.
  118. -->
  119. <where>
  120. <foreach collection="example.oredCriteria" item="criteria" separator="or">
  121. <if test="criteria.valid">
  122. <trim prefix="(" prefixOverrides="and" suffix=")">
  123. <foreach collection="criteria.criteria" item="criterion">
  124. <choose>
  125. <when test="criterion.noValue">
  126. and ${criterion.condition}
  127. </when>
  128. <when test="criterion.singleValue">
  129. and ${criterion.condition} #{criterion.value}
  130. </when>
  131. <when test="criterion.betweenValue">
  132. and ${criterion.condition} #{criterion.value} and #{criterion.secondValue}
  133. </when>
  134. <when test="criterion.listValue">
  135. and ${criterion.condition}
  136. <foreach close=")" collection="criterion.value" item="listItem" open="(" separator=",">
  137. #{listItem}
  138. </foreach>
  139. </when>
  140. </choose>
  141. </foreach>
  142. </trim>
  143. </if>
  144. </foreach>
  145. </where>
  146. </sql>
  147. <sql id="Base_Column_List">
  148. <!--
  149. WARNING - @mbg.generated
  150. This element is automatically generated by MyBatis Generator, do not modify.
  151. -->
  152. id, windPowerStationId, projectId, lineId, windTurbineId, recordDate, dayfdl, monthfdl,
  153. yearfdl, dayllfdl, monthllfdl, yearllfdl, dayfs, monthfs, yearfs, daygl, monthgl,
  154. yeargl, daygzssdl, monthgzssdl, yeargzssdl, dayxdssdl, monthxdssdl, yearxdssdl, daywhssdl,
  155. monthwhssdl, yearwhssdl, dayxnssdl, monthxnssdl, yearxnssdl, daygzsj, monthgzsj,
  156. yeargzsj, daywhsj, monthwhsj, yearwhsj, dayyxsj, monthyxsj, yearyxsj, daytjsj, monthtjsj,
  157. yeartjsj, dayLYXS, monthLYXS, yearLYXS, dayNHYD, monthNHYD, yearNHYD, daySBKLYL,
  158. monthSBKLYL, yearSBKLYL, dayDXKYXS, monthDXKYXS, yearDXKYXS, dayyxfss, monthyxfss,
  159. yearyxfss, dayxfqr, monthxfqr, yearxfqr, dayjfpl, monthjfpl, yearjfpl, dayglyzxxs,
  160. monthglyzxxs, yearglyzxxs, type, Rank, "LEVEL", year, month
  161. </sql>
  162. <select id="selectByExample" parameterType="com.gyee.frame.model.auto.Windturbineinfodaytop2Example" resultMap="BaseResultMap">
  163. <!--
  164. WARNING - @mbg.generated
  165. This element is automatically generated by MyBatis Generator, do not modify.
  166. -->
  167. select
  168. <if test="distinct">
  169. distinct
  170. </if>
  171. <include refid="Base_Column_List" />
  172. from windturbineinfodaytop2
  173. <if test="_parameter != null">
  174. <include refid="Example_Where_Clause" />
  175. </if>
  176. <if test="orderByClause != null">
  177. order by ${orderByClause}
  178. </if>
  179. </select>
  180. <select id="selectByPrimaryKey" parameterType="java.lang.Integer" resultMap="BaseResultMap">
  181. <!--
  182. WARNING - @mbg.generated
  183. This element is automatically generated by MyBatis Generator, do not modify.
  184. -->
  185. select
  186. <include refid="Base_Column_List" />
  187. from windturbineinfodaytop2
  188. where id = #{id,jdbcType=INTEGER}
  189. </select>
  190. <delete id="deleteByPrimaryKey" parameterType="java.lang.Integer">
  191. <!--
  192. WARNING - @mbg.generated
  193. This element is automatically generated by MyBatis Generator, do not modify.
  194. -->
  195. delete from windturbineinfodaytop2
  196. where id = #{id,jdbcType=INTEGER}
  197. </delete>
  198. <delete id="deleteByExample" parameterType="com.gyee.frame.model.auto.Windturbineinfodaytop2Example">
  199. <!--
  200. WARNING - @mbg.generated
  201. This element is automatically generated by MyBatis Generator, do not modify.
  202. -->
  203. delete from windturbineinfodaytop2
  204. <if test="_parameter != null">
  205. <include refid="Example_Where_Clause" />
  206. </if>
  207. </delete>
  208. <insert id="insert" parameterType="com.gyee.frame.model.auto.Windturbineinfodaytop2">
  209. <!--
  210. WARNING - @mbg.generated
  211. This element is automatically generated by MyBatis Generator, do not modify.
  212. -->
  213. insert into windturbineinfodaytop2 (id, windPowerStationId, projectId,
  214. lineId, windTurbineId, recordDate,
  215. dayfdl, monthfdl, yearfdl,
  216. dayllfdl, monthllfdl, yearllfdl,
  217. dayfs, monthfs, yearfs,
  218. daygl, monthgl, yeargl,
  219. daygzssdl, monthgzssdl, yeargzssdl,
  220. dayxdssdl, monthxdssdl, yearxdssdl,
  221. daywhssdl, monthwhssdl, yearwhssdl,
  222. dayxnssdl, monthxnssdl, yearxnssdl,
  223. daygzsj, monthgzsj, yeargzsj,
  224. daywhsj, monthwhsj, yearwhsj,
  225. dayyxsj, monthyxsj, yearyxsj,
  226. daytjsj, monthtjsj, yeartjsj,
  227. dayLYXS, monthLYXS, yearLYXS,
  228. dayNHYD, monthNHYD, yearNHYD,
  229. daySBKLYL, monthSBKLYL, yearSBKLYL,
  230. dayDXKYXS, monthDXKYXS, yearDXKYXS,
  231. dayyxfss, monthyxfss, yearyxfss,
  232. dayxfqr, monthxfqr, yearxfqr,
  233. dayjfpl, monthjfpl, yearjfpl,
  234. dayglyzxxs, monthglyzxxs, yearglyzxxs,
  235. type, Rank, Level,
  236. year, month)
  237. values (#{id,jdbcType=INTEGER}, #{windpowerstationid,jdbcType=VARCHAR}, #{projectid,jdbcType=VARCHAR},
  238. #{lineid,jdbcType=VARCHAR}, #{windturbineid,jdbcType=VARCHAR}, #{recorddate,jdbcType=TIMESTAMP},
  239. #{dayfdl,jdbcType=DECIMAL}, #{monthfdl,jdbcType=DECIMAL}, #{yearfdl,jdbcType=DECIMAL},
  240. #{dayllfdl,jdbcType=DECIMAL}, #{monthllfdl,jdbcType=DECIMAL}, #{yearllfdl,jdbcType=DECIMAL},
  241. #{dayfs,jdbcType=DECIMAL}, #{monthfs,jdbcType=DECIMAL}, #{yearfs,jdbcType=DECIMAL},
  242. #{daygl,jdbcType=DECIMAL}, #{monthgl,jdbcType=DECIMAL}, #{yeargl,jdbcType=DECIMAL},
  243. #{daygzssdl,jdbcType=DECIMAL}, #{monthgzssdl,jdbcType=DECIMAL}, #{yeargzssdl,jdbcType=DECIMAL},
  244. #{dayxdssdl,jdbcType=DECIMAL}, #{monthxdssdl,jdbcType=DECIMAL}, #{yearxdssdl,jdbcType=DECIMAL},
  245. #{daywhssdl,jdbcType=DECIMAL}, #{monthwhssdl,jdbcType=DECIMAL}, #{yearwhssdl,jdbcType=DECIMAL},
  246. #{dayxnssdl,jdbcType=DECIMAL}, #{monthxnssdl,jdbcType=DECIMAL}, #{yearxnssdl,jdbcType=DECIMAL},
  247. #{daygzsj,jdbcType=DECIMAL}, #{monthgzsj,jdbcType=DECIMAL}, #{yeargzsj,jdbcType=DECIMAL},
  248. #{daywhsj,jdbcType=DECIMAL}, #{monthwhsj,jdbcType=DECIMAL}, #{yearwhsj,jdbcType=DECIMAL},
  249. #{dayyxsj,jdbcType=DECIMAL}, #{monthyxsj,jdbcType=DECIMAL}, #{yearyxsj,jdbcType=DECIMAL},
  250. #{daytjsj,jdbcType=DECIMAL}, #{monthtjsj,jdbcType=DECIMAL}, #{yeartjsj,jdbcType=DECIMAL},
  251. #{daylyxs,jdbcType=DECIMAL}, #{monthlyxs,jdbcType=DECIMAL}, #{yearlyxs,jdbcType=DECIMAL},
  252. #{daynhyd,jdbcType=DECIMAL}, #{monthnhyd,jdbcType=DECIMAL}, #{yearnhyd,jdbcType=DECIMAL},
  253. #{daysbklyl,jdbcType=DECIMAL}, #{monthsbklyl,jdbcType=DECIMAL}, #{yearsbklyl,jdbcType=DECIMAL},
  254. #{daydxkyxs,jdbcType=DECIMAL}, #{monthdxkyxs,jdbcType=DECIMAL}, #{yeardxkyxs,jdbcType=DECIMAL},
  255. #{dayyxfss,jdbcType=DECIMAL}, #{monthyxfss,jdbcType=DECIMAL}, #{yearyxfss,jdbcType=DECIMAL},
  256. #{dayxfqr,jdbcType=DECIMAL}, #{monthxfqr,jdbcType=DECIMAL}, #{yearxfqr,jdbcType=DECIMAL},
  257. #{dayjfpl,jdbcType=DECIMAL}, #{monthjfpl,jdbcType=DECIMAL}, #{yearjfpl,jdbcType=DECIMAL},
  258. #{dayglyzxxs,jdbcType=DECIMAL}, #{monthglyzxxs,jdbcType=DECIMAL}, #{yearglyzxxs,jdbcType=DECIMAL},
  259. #{type,jdbcType=INTEGER}, #{rank,jdbcType=INTEGER}, #{level,jdbcType=VARCHAR},
  260. #{year,jdbcType=INTEGER}, #{month,jdbcType=INTEGER})
  261. </insert>
  262. <insert id="insertSelective" parameterType="com.gyee.frame.model.auto.Windturbineinfodaytop2">
  263. <!--
  264. WARNING - @mbg.generated
  265. This element is automatically generated by MyBatis Generator, do not modify.
  266. -->
  267. insert into windturbineinfodaytop2
  268. <trim prefix="(" suffix=")" suffixOverrides=",">
  269. <if test="id != null">
  270. id,
  271. </if>
  272. <if test="windpowerstationid != null">
  273. windPowerStationId,
  274. </if>
  275. <if test="projectid != null">
  276. projectId,
  277. </if>
  278. <if test="lineid != null">
  279. lineId,
  280. </if>
  281. <if test="windturbineid != null">
  282. windTurbineId,
  283. </if>
  284. <if test="recorddate != null">
  285. recordDate,
  286. </if>
  287. <if test="dayfdl != null">
  288. dayfdl,
  289. </if>
  290. <if test="monthfdl != null">
  291. monthfdl,
  292. </if>
  293. <if test="yearfdl != null">
  294. yearfdl,
  295. </if>
  296. <if test="dayllfdl != null">
  297. dayllfdl,
  298. </if>
  299. <if test="monthllfdl != null">
  300. monthllfdl,
  301. </if>
  302. <if test="yearllfdl != null">
  303. yearllfdl,
  304. </if>
  305. <if test="dayfs != null">
  306. dayfs,
  307. </if>
  308. <if test="monthfs != null">
  309. monthfs,
  310. </if>
  311. <if test="yearfs != null">
  312. yearfs,
  313. </if>
  314. <if test="daygl != null">
  315. daygl,
  316. </if>
  317. <if test="monthgl != null">
  318. monthgl,
  319. </if>
  320. <if test="yeargl != null">
  321. yeargl,
  322. </if>
  323. <if test="daygzssdl != null">
  324. daygzssdl,
  325. </if>
  326. <if test="monthgzssdl != null">
  327. monthgzssdl,
  328. </if>
  329. <if test="yeargzssdl != null">
  330. yeargzssdl,
  331. </if>
  332. <if test="dayxdssdl != null">
  333. dayxdssdl,
  334. </if>
  335. <if test="monthxdssdl != null">
  336. monthxdssdl,
  337. </if>
  338. <if test="yearxdssdl != null">
  339. yearxdssdl,
  340. </if>
  341. <if test="daywhssdl != null">
  342. daywhssdl,
  343. </if>
  344. <if test="monthwhssdl != null">
  345. monthwhssdl,
  346. </if>
  347. <if test="yearwhssdl != null">
  348. yearwhssdl,
  349. </if>
  350. <if test="dayxnssdl != null">
  351. dayxnssdl,
  352. </if>
  353. <if test="monthxnssdl != null">
  354. monthxnssdl,
  355. </if>
  356. <if test="yearxnssdl != null">
  357. yearxnssdl,
  358. </if>
  359. <if test="daygzsj != null">
  360. daygzsj,
  361. </if>
  362. <if test="monthgzsj != null">
  363. monthgzsj,
  364. </if>
  365. <if test="yeargzsj != null">
  366. yeargzsj,
  367. </if>
  368. <if test="daywhsj != null">
  369. daywhsj,
  370. </if>
  371. <if test="monthwhsj != null">
  372. monthwhsj,
  373. </if>
  374. <if test="yearwhsj != null">
  375. yearwhsj,
  376. </if>
  377. <if test="dayyxsj != null">
  378. dayyxsj,
  379. </if>
  380. <if test="monthyxsj != null">
  381. monthyxsj,
  382. </if>
  383. <if test="yearyxsj != null">
  384. yearyxsj,
  385. </if>
  386. <if test="daytjsj != null">
  387. daytjsj,
  388. </if>
  389. <if test="monthtjsj != null">
  390. monthtjsj,
  391. </if>
  392. <if test="yeartjsj != null">
  393. yeartjsj,
  394. </if>
  395. <if test="daylyxs != null">
  396. dayLYXS,
  397. </if>
  398. <if test="monthlyxs != null">
  399. monthLYXS,
  400. </if>
  401. <if test="yearlyxs != null">
  402. yearLYXS,
  403. </if>
  404. <if test="daynhyd != null">
  405. dayNHYD,
  406. </if>
  407. <if test="monthnhyd != null">
  408. monthNHYD,
  409. </if>
  410. <if test="yearnhyd != null">
  411. yearNHYD,
  412. </if>
  413. <if test="daysbklyl != null">
  414. daySBKLYL,
  415. </if>
  416. <if test="monthsbklyl != null">
  417. monthSBKLYL,
  418. </if>
  419. <if test="yearsbklyl != null">
  420. yearSBKLYL,
  421. </if>
  422. <if test="daydxkyxs != null">
  423. dayDXKYXS,
  424. </if>
  425. <if test="monthdxkyxs != null">
  426. monthDXKYXS,
  427. </if>
  428. <if test="yeardxkyxs != null">
  429. yearDXKYXS,
  430. </if>
  431. <if test="dayyxfss != null">
  432. dayyxfss,
  433. </if>
  434. <if test="monthyxfss != null">
  435. monthyxfss,
  436. </if>
  437. <if test="yearyxfss != null">
  438. yearyxfss,
  439. </if>
  440. <if test="dayxfqr != null">
  441. dayxfqr,
  442. </if>
  443. <if test="monthxfqr != null">
  444. monthxfqr,
  445. </if>
  446. <if test="yearxfqr != null">
  447. yearxfqr,
  448. </if>
  449. <if test="dayjfpl != null">
  450. dayjfpl,
  451. </if>
  452. <if test="monthjfpl != null">
  453. monthjfpl,
  454. </if>
  455. <if test="yearjfpl != null">
  456. yearjfpl,
  457. </if>
  458. <if test="dayglyzxxs != null">
  459. dayglyzxxs,
  460. </if>
  461. <if test="monthglyzxxs != null">
  462. monthglyzxxs,
  463. </if>
  464. <if test="yearglyzxxs != null">
  465. yearglyzxxs,
  466. </if>
  467. <if test="type != null">
  468. type,
  469. </if>
  470. <if test="rank != null">
  471. Rank,
  472. </if>
  473. <if test="level != null">
  474. Level,
  475. </if>
  476. <if test="year != null">
  477. year,
  478. </if>
  479. <if test="month != null">
  480. month,
  481. </if>
  482. </trim>
  483. <trim prefix="values (" suffix=")" suffixOverrides=",">
  484. <if test="id != null">
  485. #{id,jdbcType=INTEGER},
  486. </if>
  487. <if test="windpowerstationid != null">
  488. #{windpowerstationid,jdbcType=VARCHAR},
  489. </if>
  490. <if test="projectid != null">
  491. #{projectid,jdbcType=VARCHAR},
  492. </if>
  493. <if test="lineid != null">
  494. #{lineid,jdbcType=VARCHAR},
  495. </if>
  496. <if test="windturbineid != null">
  497. #{windturbineid,jdbcType=VARCHAR},
  498. </if>
  499. <if test="recorddate != null">
  500. #{recorddate,jdbcType=TIMESTAMP},
  501. </if>
  502. <if test="dayfdl != null">
  503. #{dayfdl,jdbcType=DECIMAL},
  504. </if>
  505. <if test="monthfdl != null">
  506. #{monthfdl,jdbcType=DECIMAL},
  507. </if>
  508. <if test="yearfdl != null">
  509. #{yearfdl,jdbcType=DECIMAL},
  510. </if>
  511. <if test="dayllfdl != null">
  512. #{dayllfdl,jdbcType=DECIMAL},
  513. </if>
  514. <if test="monthllfdl != null">
  515. #{monthllfdl,jdbcType=DECIMAL},
  516. </if>
  517. <if test="yearllfdl != null">
  518. #{yearllfdl,jdbcType=DECIMAL},
  519. </if>
  520. <if test="dayfs != null">
  521. #{dayfs,jdbcType=DECIMAL},
  522. </if>
  523. <if test="monthfs != null">
  524. #{monthfs,jdbcType=DECIMAL},
  525. </if>
  526. <if test="yearfs != null">
  527. #{yearfs,jdbcType=DECIMAL},
  528. </if>
  529. <if test="daygl != null">
  530. #{daygl,jdbcType=DECIMAL},
  531. </if>
  532. <if test="monthgl != null">
  533. #{monthgl,jdbcType=DECIMAL},
  534. </if>
  535. <if test="yeargl != null">
  536. #{yeargl,jdbcType=DECIMAL},
  537. </if>
  538. <if test="daygzssdl != null">
  539. #{daygzssdl,jdbcType=DECIMAL},
  540. </if>
  541. <if test="monthgzssdl != null">
  542. #{monthgzssdl,jdbcType=DECIMAL},
  543. </if>
  544. <if test="yeargzssdl != null">
  545. #{yeargzssdl,jdbcType=DECIMAL},
  546. </if>
  547. <if test="dayxdssdl != null">
  548. #{dayxdssdl,jdbcType=DECIMAL},
  549. </if>
  550. <if test="monthxdssdl != null">
  551. #{monthxdssdl,jdbcType=DECIMAL},
  552. </if>
  553. <if test="yearxdssdl != null">
  554. #{yearxdssdl,jdbcType=DECIMAL},
  555. </if>
  556. <if test="daywhssdl != null">
  557. #{daywhssdl,jdbcType=DECIMAL},
  558. </if>
  559. <if test="monthwhssdl != null">
  560. #{monthwhssdl,jdbcType=DECIMAL},
  561. </if>
  562. <if test="yearwhssdl != null">
  563. #{yearwhssdl,jdbcType=DECIMAL},
  564. </if>
  565. <if test="dayxnssdl != null">
  566. #{dayxnssdl,jdbcType=DECIMAL},
  567. </if>
  568. <if test="monthxnssdl != null">
  569. #{monthxnssdl,jdbcType=DECIMAL},
  570. </if>
  571. <if test="yearxnssdl != null">
  572. #{yearxnssdl,jdbcType=DECIMAL},
  573. </if>
  574. <if test="daygzsj != null">
  575. #{daygzsj,jdbcType=DECIMAL},
  576. </if>
  577. <if test="monthgzsj != null">
  578. #{monthgzsj,jdbcType=DECIMAL},
  579. </if>
  580. <if test="yeargzsj != null">
  581. #{yeargzsj,jdbcType=DECIMAL},
  582. </if>
  583. <if test="daywhsj != null">
  584. #{daywhsj,jdbcType=DECIMAL},
  585. </if>
  586. <if test="monthwhsj != null">
  587. #{monthwhsj,jdbcType=DECIMAL},
  588. </if>
  589. <if test="yearwhsj != null">
  590. #{yearwhsj,jdbcType=DECIMAL},
  591. </if>
  592. <if test="dayyxsj != null">
  593. #{dayyxsj,jdbcType=DECIMAL},
  594. </if>
  595. <if test="monthyxsj != null">
  596. #{monthyxsj,jdbcType=DECIMAL},
  597. </if>
  598. <if test="yearyxsj != null">
  599. #{yearyxsj,jdbcType=DECIMAL},
  600. </if>
  601. <if test="daytjsj != null">
  602. #{daytjsj,jdbcType=DECIMAL},
  603. </if>
  604. <if test="monthtjsj != null">
  605. #{monthtjsj,jdbcType=DECIMAL},
  606. </if>
  607. <if test="yeartjsj != null">
  608. #{yeartjsj,jdbcType=DECIMAL},
  609. </if>
  610. <if test="daylyxs != null">
  611. #{daylyxs,jdbcType=DECIMAL},
  612. </if>
  613. <if test="monthlyxs != null">
  614. #{monthlyxs,jdbcType=DECIMAL},
  615. </if>
  616. <if test="yearlyxs != null">
  617. #{yearlyxs,jdbcType=DECIMAL},
  618. </if>
  619. <if test="daynhyd != null">
  620. #{daynhyd,jdbcType=DECIMAL},
  621. </if>
  622. <if test="monthnhyd != null">
  623. #{monthnhyd,jdbcType=DECIMAL},
  624. </if>
  625. <if test="yearnhyd != null">
  626. #{yearnhyd,jdbcType=DECIMAL},
  627. </if>
  628. <if test="daysbklyl != null">
  629. #{daysbklyl,jdbcType=DECIMAL},
  630. </if>
  631. <if test="monthsbklyl != null">
  632. #{monthsbklyl,jdbcType=DECIMAL},
  633. </if>
  634. <if test="yearsbklyl != null">
  635. #{yearsbklyl,jdbcType=DECIMAL},
  636. </if>
  637. <if test="daydxkyxs != null">
  638. #{daydxkyxs,jdbcType=DECIMAL},
  639. </if>
  640. <if test="monthdxkyxs != null">
  641. #{monthdxkyxs,jdbcType=DECIMAL},
  642. </if>
  643. <if test="yeardxkyxs != null">
  644. #{yeardxkyxs,jdbcType=DECIMAL},
  645. </if>
  646. <if test="dayyxfss != null">
  647. #{dayyxfss,jdbcType=DECIMAL},
  648. </if>
  649. <if test="monthyxfss != null">
  650. #{monthyxfss,jdbcType=DECIMAL},
  651. </if>
  652. <if test="yearyxfss != null">
  653. #{yearyxfss,jdbcType=DECIMAL},
  654. </if>
  655. <if test="dayxfqr != null">
  656. #{dayxfqr,jdbcType=DECIMAL},
  657. </if>
  658. <if test="monthxfqr != null">
  659. #{monthxfqr,jdbcType=DECIMAL},
  660. </if>
  661. <if test="yearxfqr != null">
  662. #{yearxfqr,jdbcType=DECIMAL},
  663. </if>
  664. <if test="dayjfpl != null">
  665. #{dayjfpl,jdbcType=DECIMAL},
  666. </if>
  667. <if test="monthjfpl != null">
  668. #{monthjfpl,jdbcType=DECIMAL},
  669. </if>
  670. <if test="yearjfpl != null">
  671. #{yearjfpl,jdbcType=DECIMAL},
  672. </if>
  673. <if test="dayglyzxxs != null">
  674. #{dayglyzxxs,jdbcType=DECIMAL},
  675. </if>
  676. <if test="monthglyzxxs != null">
  677. #{monthglyzxxs,jdbcType=DECIMAL},
  678. </if>
  679. <if test="yearglyzxxs != null">
  680. #{yearglyzxxs,jdbcType=DECIMAL},
  681. </if>
  682. <if test="type != null">
  683. #{type,jdbcType=INTEGER},
  684. </if>
  685. <if test="rank != null">
  686. #{rank,jdbcType=INTEGER},
  687. </if>
  688. <if test="level != null">
  689. #{level,jdbcType=VARCHAR},
  690. </if>
  691. <if test="year != null">
  692. #{year,jdbcType=INTEGER},
  693. </if>
  694. <if test="month != null">
  695. #{month,jdbcType=INTEGER},
  696. </if>
  697. </trim>
  698. </insert>
  699. <select id="countByExample" parameterType="com.gyee.frame.model.auto.Windturbineinfodaytop2Example" resultType="java.lang.Long">
  700. <!--
  701. WARNING - @mbg.generated
  702. This element is automatically generated by MyBatis Generator, do not modify.
  703. -->
  704. select count(*) from windturbineinfodaytop2
  705. <if test="_parameter != null">
  706. <include refid="Example_Where_Clause" />
  707. </if>
  708. </select>
  709. <update id="updateByExampleSelective" parameterType="map">
  710. <!--
  711. WARNING - @mbg.generated
  712. This element is automatically generated by MyBatis Generator, do not modify.
  713. -->
  714. update windturbineinfodaytop2
  715. <set>
  716. <if test="record.id != null">
  717. id = #{record.id,jdbcType=INTEGER},
  718. </if>
  719. <if test="record.windpowerstationid != null">
  720. windPowerStationId = #{record.windpowerstationid,jdbcType=VARCHAR},
  721. </if>
  722. <if test="record.projectid != null">
  723. projectId = #{record.projectid,jdbcType=VARCHAR},
  724. </if>
  725. <if test="record.lineid != null">
  726. lineId = #{record.lineid,jdbcType=VARCHAR},
  727. </if>
  728. <if test="record.windturbineid != null">
  729. windTurbineId = #{record.windturbineid,jdbcType=VARCHAR},
  730. </if>
  731. <if test="record.recorddate != null">
  732. recordDate = #{record.recorddate,jdbcType=TIMESTAMP},
  733. </if>
  734. <if test="record.dayfdl != null">
  735. dayfdl = #{record.dayfdl,jdbcType=DECIMAL},
  736. </if>
  737. <if test="record.monthfdl != null">
  738. monthfdl = #{record.monthfdl,jdbcType=DECIMAL},
  739. </if>
  740. <if test="record.yearfdl != null">
  741. yearfdl = #{record.yearfdl,jdbcType=DECIMAL},
  742. </if>
  743. <if test="record.dayllfdl != null">
  744. dayllfdl = #{record.dayllfdl,jdbcType=DECIMAL},
  745. </if>
  746. <if test="record.monthllfdl != null">
  747. monthllfdl = #{record.monthllfdl,jdbcType=DECIMAL},
  748. </if>
  749. <if test="record.yearllfdl != null">
  750. yearllfdl = #{record.yearllfdl,jdbcType=DECIMAL},
  751. </if>
  752. <if test="record.dayfs != null">
  753. dayfs = #{record.dayfs,jdbcType=DECIMAL},
  754. </if>
  755. <if test="record.monthfs != null">
  756. monthfs = #{record.monthfs,jdbcType=DECIMAL},
  757. </if>
  758. <if test="record.yearfs != null">
  759. yearfs = #{record.yearfs,jdbcType=DECIMAL},
  760. </if>
  761. <if test="record.daygl != null">
  762. daygl = #{record.daygl,jdbcType=DECIMAL},
  763. </if>
  764. <if test="record.monthgl != null">
  765. monthgl = #{record.monthgl,jdbcType=DECIMAL},
  766. </if>
  767. <if test="record.yeargl != null">
  768. yeargl = #{record.yeargl,jdbcType=DECIMAL},
  769. </if>
  770. <if test="record.daygzssdl != null">
  771. daygzssdl = #{record.daygzssdl,jdbcType=DECIMAL},
  772. </if>
  773. <if test="record.monthgzssdl != null">
  774. monthgzssdl = #{record.monthgzssdl,jdbcType=DECIMAL},
  775. </if>
  776. <if test="record.yeargzssdl != null">
  777. yeargzssdl = #{record.yeargzssdl,jdbcType=DECIMAL},
  778. </if>
  779. <if test="record.dayxdssdl != null">
  780. dayxdssdl = #{record.dayxdssdl,jdbcType=DECIMAL},
  781. </if>
  782. <if test="record.monthxdssdl != null">
  783. monthxdssdl = #{record.monthxdssdl,jdbcType=DECIMAL},
  784. </if>
  785. <if test="record.yearxdssdl != null">
  786. yearxdssdl = #{record.yearxdssdl,jdbcType=DECIMAL},
  787. </if>
  788. <if test="record.daywhssdl != null">
  789. daywhssdl = #{record.daywhssdl,jdbcType=DECIMAL},
  790. </if>
  791. <if test="record.monthwhssdl != null">
  792. monthwhssdl = #{record.monthwhssdl,jdbcType=DECIMAL},
  793. </if>
  794. <if test="record.yearwhssdl != null">
  795. yearwhssdl = #{record.yearwhssdl,jdbcType=DECIMAL},
  796. </if>
  797. <if test="record.dayxnssdl != null">
  798. dayxnssdl = #{record.dayxnssdl,jdbcType=DECIMAL},
  799. </if>
  800. <if test="record.monthxnssdl != null">
  801. monthxnssdl = #{record.monthxnssdl,jdbcType=DECIMAL},
  802. </if>
  803. <if test="record.yearxnssdl != null">
  804. yearxnssdl = #{record.yearxnssdl,jdbcType=DECIMAL},
  805. </if>
  806. <if test="record.daygzsj != null">
  807. daygzsj = #{record.daygzsj,jdbcType=DECIMAL},
  808. </if>
  809. <if test="record.monthgzsj != null">
  810. monthgzsj = #{record.monthgzsj,jdbcType=DECIMAL},
  811. </if>
  812. <if test="record.yeargzsj != null">
  813. yeargzsj = #{record.yeargzsj,jdbcType=DECIMAL},
  814. </if>
  815. <if test="record.daywhsj != null">
  816. daywhsj = #{record.daywhsj,jdbcType=DECIMAL},
  817. </if>
  818. <if test="record.monthwhsj != null">
  819. monthwhsj = #{record.monthwhsj,jdbcType=DECIMAL},
  820. </if>
  821. <if test="record.yearwhsj != null">
  822. yearwhsj = #{record.yearwhsj,jdbcType=DECIMAL},
  823. </if>
  824. <if test="record.dayyxsj != null">
  825. dayyxsj = #{record.dayyxsj,jdbcType=DECIMAL},
  826. </if>
  827. <if test="record.monthyxsj != null">
  828. monthyxsj = #{record.monthyxsj,jdbcType=DECIMAL},
  829. </if>
  830. <if test="record.yearyxsj != null">
  831. yearyxsj = #{record.yearyxsj,jdbcType=DECIMAL},
  832. </if>
  833. <if test="record.daytjsj != null">
  834. daytjsj = #{record.daytjsj,jdbcType=DECIMAL},
  835. </if>
  836. <if test="record.monthtjsj != null">
  837. monthtjsj = #{record.monthtjsj,jdbcType=DECIMAL},
  838. </if>
  839. <if test="record.yeartjsj != null">
  840. yeartjsj = #{record.yeartjsj,jdbcType=DECIMAL},
  841. </if>
  842. <if test="record.daylyxs != null">
  843. dayLYXS = #{record.daylyxs,jdbcType=DECIMAL},
  844. </if>
  845. <if test="record.monthlyxs != null">
  846. monthLYXS = #{record.monthlyxs,jdbcType=DECIMAL},
  847. </if>
  848. <if test="record.yearlyxs != null">
  849. yearLYXS = #{record.yearlyxs,jdbcType=DECIMAL},
  850. </if>
  851. <if test="record.daynhyd != null">
  852. dayNHYD = #{record.daynhyd,jdbcType=DECIMAL},
  853. </if>
  854. <if test="record.monthnhyd != null">
  855. monthNHYD = #{record.monthnhyd,jdbcType=DECIMAL},
  856. </if>
  857. <if test="record.yearnhyd != null">
  858. yearNHYD = #{record.yearnhyd,jdbcType=DECIMAL},
  859. </if>
  860. <if test="record.daysbklyl != null">
  861. daySBKLYL = #{record.daysbklyl,jdbcType=DECIMAL},
  862. </if>
  863. <if test="record.monthsbklyl != null">
  864. monthSBKLYL = #{record.monthsbklyl,jdbcType=DECIMAL},
  865. </if>
  866. <if test="record.yearsbklyl != null">
  867. yearSBKLYL = #{record.yearsbklyl,jdbcType=DECIMAL},
  868. </if>
  869. <if test="record.daydxkyxs != null">
  870. dayDXKYXS = #{record.daydxkyxs,jdbcType=DECIMAL},
  871. </if>
  872. <if test="record.monthdxkyxs != null">
  873. monthDXKYXS = #{record.monthdxkyxs,jdbcType=DECIMAL},
  874. </if>
  875. <if test="record.yeardxkyxs != null">
  876. yearDXKYXS = #{record.yeardxkyxs,jdbcType=DECIMAL},
  877. </if>
  878. <if test="record.dayyxfss != null">
  879. dayyxfss = #{record.dayyxfss,jdbcType=DECIMAL},
  880. </if>
  881. <if test="record.monthyxfss != null">
  882. monthyxfss = #{record.monthyxfss,jdbcType=DECIMAL},
  883. </if>
  884. <if test="record.yearyxfss != null">
  885. yearyxfss = #{record.yearyxfss,jdbcType=DECIMAL},
  886. </if>
  887. <if test="record.dayxfqr != null">
  888. dayxfqr = #{record.dayxfqr,jdbcType=DECIMAL},
  889. </if>
  890. <if test="record.monthxfqr != null">
  891. monthxfqr = #{record.monthxfqr,jdbcType=DECIMAL},
  892. </if>
  893. <if test="record.yearxfqr != null">
  894. yearxfqr = #{record.yearxfqr,jdbcType=DECIMAL},
  895. </if>
  896. <if test="record.dayjfpl != null">
  897. dayjfpl = #{record.dayjfpl,jdbcType=DECIMAL},
  898. </if>
  899. <if test="record.monthjfpl != null">
  900. monthjfpl = #{record.monthjfpl,jdbcType=DECIMAL},
  901. </if>
  902. <if test="record.yearjfpl != null">
  903. yearjfpl = #{record.yearjfpl,jdbcType=DECIMAL},
  904. </if>
  905. <if test="record.dayglyzxxs != null">
  906. dayglyzxxs = #{record.dayglyzxxs,jdbcType=DECIMAL},
  907. </if>
  908. <if test="record.monthglyzxxs != null">
  909. monthglyzxxs = #{record.monthglyzxxs,jdbcType=DECIMAL},
  910. </if>
  911. <if test="record.yearglyzxxs != null">
  912. yearglyzxxs = #{record.yearglyzxxs,jdbcType=DECIMAL},
  913. </if>
  914. <if test="record.type != null">
  915. type = #{record.type,jdbcType=INTEGER},
  916. </if>
  917. <if test="record.rank != null">
  918. Rank = #{record.rank,jdbcType=INTEGER},
  919. </if>
  920. <if test="record.level != null">
  921. Level = #{record.level,jdbcType=VARCHAR},
  922. </if>
  923. <if test="record.year != null">
  924. year = #{record.year,jdbcType=INTEGER},
  925. </if>
  926. <if test="record.month != null">
  927. month = #{record.month,jdbcType=INTEGER},
  928. </if>
  929. </set>
  930. <if test="_parameter != null">
  931. <include refid="Update_By_Example_Where_Clause" />
  932. </if>
  933. </update>
  934. <update id="updateByExample" parameterType="map">
  935. <!--
  936. WARNING - @mbg.generated
  937. This element is automatically generated by MyBatis Generator, do not modify.
  938. -->
  939. update windturbineinfodaytop2
  940. set id = #{record.id,jdbcType=INTEGER},
  941. windPowerStationId = #{record.windpowerstationid,jdbcType=VARCHAR},
  942. projectId = #{record.projectid,jdbcType=VARCHAR},
  943. lineId = #{record.lineid,jdbcType=VARCHAR},
  944. windTurbineId = #{record.windturbineid,jdbcType=VARCHAR},
  945. recordDate = #{record.recorddate,jdbcType=TIMESTAMP},
  946. dayfdl = #{record.dayfdl,jdbcType=DECIMAL},
  947. monthfdl = #{record.monthfdl,jdbcType=DECIMAL},
  948. yearfdl = #{record.yearfdl,jdbcType=DECIMAL},
  949. dayllfdl = #{record.dayllfdl,jdbcType=DECIMAL},
  950. monthllfdl = #{record.monthllfdl,jdbcType=DECIMAL},
  951. yearllfdl = #{record.yearllfdl,jdbcType=DECIMAL},
  952. dayfs = #{record.dayfs,jdbcType=DECIMAL},
  953. monthfs = #{record.monthfs,jdbcType=DECIMAL},
  954. yearfs = #{record.yearfs,jdbcType=DECIMAL},
  955. daygl = #{record.daygl,jdbcType=DECIMAL},
  956. monthgl = #{record.monthgl,jdbcType=DECIMAL},
  957. yeargl = #{record.yeargl,jdbcType=DECIMAL},
  958. daygzssdl = #{record.daygzssdl,jdbcType=DECIMAL},
  959. monthgzssdl = #{record.monthgzssdl,jdbcType=DECIMAL},
  960. yeargzssdl = #{record.yeargzssdl,jdbcType=DECIMAL},
  961. dayxdssdl = #{record.dayxdssdl,jdbcType=DECIMAL},
  962. monthxdssdl = #{record.monthxdssdl,jdbcType=DECIMAL},
  963. yearxdssdl = #{record.yearxdssdl,jdbcType=DECIMAL},
  964. daywhssdl = #{record.daywhssdl,jdbcType=DECIMAL},
  965. monthwhssdl = #{record.monthwhssdl,jdbcType=DECIMAL},
  966. yearwhssdl = #{record.yearwhssdl,jdbcType=DECIMAL},
  967. dayxnssdl = #{record.dayxnssdl,jdbcType=DECIMAL},
  968. monthxnssdl = #{record.monthxnssdl,jdbcType=DECIMAL},
  969. yearxnssdl = #{record.yearxnssdl,jdbcType=DECIMAL},
  970. daygzsj = #{record.daygzsj,jdbcType=DECIMAL},
  971. monthgzsj = #{record.monthgzsj,jdbcType=DECIMAL},
  972. yeargzsj = #{record.yeargzsj,jdbcType=DECIMAL},
  973. daywhsj = #{record.daywhsj,jdbcType=DECIMAL},
  974. monthwhsj = #{record.monthwhsj,jdbcType=DECIMAL},
  975. yearwhsj = #{record.yearwhsj,jdbcType=DECIMAL},
  976. dayyxsj = #{record.dayyxsj,jdbcType=DECIMAL},
  977. monthyxsj = #{record.monthyxsj,jdbcType=DECIMAL},
  978. yearyxsj = #{record.yearyxsj,jdbcType=DECIMAL},
  979. daytjsj = #{record.daytjsj,jdbcType=DECIMAL},
  980. monthtjsj = #{record.monthtjsj,jdbcType=DECIMAL},
  981. yeartjsj = #{record.yeartjsj,jdbcType=DECIMAL},
  982. dayLYXS = #{record.daylyxs,jdbcType=DECIMAL},
  983. monthLYXS = #{record.monthlyxs,jdbcType=DECIMAL},
  984. yearLYXS = #{record.yearlyxs,jdbcType=DECIMAL},
  985. dayNHYD = #{record.daynhyd,jdbcType=DECIMAL},
  986. monthNHYD = #{record.monthnhyd,jdbcType=DECIMAL},
  987. yearNHYD = #{record.yearnhyd,jdbcType=DECIMAL},
  988. daySBKLYL = #{record.daysbklyl,jdbcType=DECIMAL},
  989. monthSBKLYL = #{record.monthsbklyl,jdbcType=DECIMAL},
  990. yearSBKLYL = #{record.yearsbklyl,jdbcType=DECIMAL},
  991. dayDXKYXS = #{record.daydxkyxs,jdbcType=DECIMAL},
  992. monthDXKYXS = #{record.monthdxkyxs,jdbcType=DECIMAL},
  993. yearDXKYXS = #{record.yeardxkyxs,jdbcType=DECIMAL},
  994. dayyxfss = #{record.dayyxfss,jdbcType=DECIMAL},
  995. monthyxfss = #{record.monthyxfss,jdbcType=DECIMAL},
  996. yearyxfss = #{record.yearyxfss,jdbcType=DECIMAL},
  997. dayxfqr = #{record.dayxfqr,jdbcType=DECIMAL},
  998. monthxfqr = #{record.monthxfqr,jdbcType=DECIMAL},
  999. yearxfqr = #{record.yearxfqr,jdbcType=DECIMAL},
  1000. dayjfpl = #{record.dayjfpl,jdbcType=DECIMAL},
  1001. monthjfpl = #{record.monthjfpl,jdbcType=DECIMAL},
  1002. yearjfpl = #{record.yearjfpl,jdbcType=DECIMAL},
  1003. dayglyzxxs = #{record.dayglyzxxs,jdbcType=DECIMAL},
  1004. monthglyzxxs = #{record.monthglyzxxs,jdbcType=DECIMAL},
  1005. yearglyzxxs = #{record.yearglyzxxs,jdbcType=DECIMAL},
  1006. type = #{record.type,jdbcType=INTEGER},
  1007. Rank = #{record.rank,jdbcType=INTEGER},
  1008. Level = #{record.level,jdbcType=VARCHAR},
  1009. year = #{record.year,jdbcType=INTEGER},
  1010. month = #{record.month,jdbcType=INTEGER}
  1011. <if test="_parameter != null">
  1012. <include refid="Update_By_Example_Where_Clause" />
  1013. </if>
  1014. </update>
  1015. <update id="updateByPrimaryKeySelective" parameterType="com.gyee.frame.model.auto.Windturbineinfodaytop2">
  1016. <!--
  1017. WARNING - @mbg.generated
  1018. This element is automatically generated by MyBatis Generator, do not modify.
  1019. -->
  1020. update windturbineinfodaytop2
  1021. <set>
  1022. <if test="windpowerstationid != null">
  1023. windPowerStationId = #{windpowerstationid,jdbcType=VARCHAR},
  1024. </if>
  1025. <if test="projectid != null">
  1026. projectId = #{projectid,jdbcType=VARCHAR},
  1027. </if>
  1028. <if test="lineid != null">
  1029. lineId = #{lineid,jdbcType=VARCHAR},
  1030. </if>
  1031. <if test="windturbineid != null">
  1032. windTurbineId = #{windturbineid,jdbcType=VARCHAR},
  1033. </if>
  1034. <if test="recorddate != null">
  1035. recordDate = #{recorddate,jdbcType=TIMESTAMP},
  1036. </if>
  1037. <if test="dayfdl != null">
  1038. dayfdl = #{dayfdl,jdbcType=DECIMAL},
  1039. </if>
  1040. <if test="monthfdl != null">
  1041. monthfdl = #{monthfdl,jdbcType=DECIMAL},
  1042. </if>
  1043. <if test="yearfdl != null">
  1044. yearfdl = #{yearfdl,jdbcType=DECIMAL},
  1045. </if>
  1046. <if test="dayllfdl != null">
  1047. dayllfdl = #{dayllfdl,jdbcType=DECIMAL},
  1048. </if>
  1049. <if test="monthllfdl != null">
  1050. monthllfdl = #{monthllfdl,jdbcType=DECIMAL},
  1051. </if>
  1052. <if test="yearllfdl != null">
  1053. yearllfdl = #{yearllfdl,jdbcType=DECIMAL},
  1054. </if>
  1055. <if test="dayfs != null">
  1056. dayfs = #{dayfs,jdbcType=DECIMAL},
  1057. </if>
  1058. <if test="monthfs != null">
  1059. monthfs = #{monthfs,jdbcType=DECIMAL},
  1060. </if>
  1061. <if test="yearfs != null">
  1062. yearfs = #{yearfs,jdbcType=DECIMAL},
  1063. </if>
  1064. <if test="daygl != null">
  1065. daygl = #{daygl,jdbcType=DECIMAL},
  1066. </if>
  1067. <if test="monthgl != null">
  1068. monthgl = #{monthgl,jdbcType=DECIMAL},
  1069. </if>
  1070. <if test="yeargl != null">
  1071. yeargl = #{yeargl,jdbcType=DECIMAL},
  1072. </if>
  1073. <if test="daygzssdl != null">
  1074. daygzssdl = #{daygzssdl,jdbcType=DECIMAL},
  1075. </if>
  1076. <if test="monthgzssdl != null">
  1077. monthgzssdl = #{monthgzssdl,jdbcType=DECIMAL},
  1078. </if>
  1079. <if test="yeargzssdl != null">
  1080. yeargzssdl = #{yeargzssdl,jdbcType=DECIMAL},
  1081. </if>
  1082. <if test="dayxdssdl != null">
  1083. dayxdssdl = #{dayxdssdl,jdbcType=DECIMAL},
  1084. </if>
  1085. <if test="monthxdssdl != null">
  1086. monthxdssdl = #{monthxdssdl,jdbcType=DECIMAL},
  1087. </if>
  1088. <if test="yearxdssdl != null">
  1089. yearxdssdl = #{yearxdssdl,jdbcType=DECIMAL},
  1090. </if>
  1091. <if test="daywhssdl != null">
  1092. daywhssdl = #{daywhssdl,jdbcType=DECIMAL},
  1093. </if>
  1094. <if test="monthwhssdl != null">
  1095. monthwhssdl = #{monthwhssdl,jdbcType=DECIMAL},
  1096. </if>
  1097. <if test="yearwhssdl != null">
  1098. yearwhssdl = #{yearwhssdl,jdbcType=DECIMAL},
  1099. </if>
  1100. <if test="dayxnssdl != null">
  1101. dayxnssdl = #{dayxnssdl,jdbcType=DECIMAL},
  1102. </if>
  1103. <if test="monthxnssdl != null">
  1104. monthxnssdl = #{monthxnssdl,jdbcType=DECIMAL},
  1105. </if>
  1106. <if test="yearxnssdl != null">
  1107. yearxnssdl = #{yearxnssdl,jdbcType=DECIMAL},
  1108. </if>
  1109. <if test="daygzsj != null">
  1110. daygzsj = #{daygzsj,jdbcType=DECIMAL},
  1111. </if>
  1112. <if test="monthgzsj != null">
  1113. monthgzsj = #{monthgzsj,jdbcType=DECIMAL},
  1114. </if>
  1115. <if test="yeargzsj != null">
  1116. yeargzsj = #{yeargzsj,jdbcType=DECIMAL},
  1117. </if>
  1118. <if test="daywhsj != null">
  1119. daywhsj = #{daywhsj,jdbcType=DECIMAL},
  1120. </if>
  1121. <if test="monthwhsj != null">
  1122. monthwhsj = #{monthwhsj,jdbcType=DECIMAL},
  1123. </if>
  1124. <if test="yearwhsj != null">
  1125. yearwhsj = #{yearwhsj,jdbcType=DECIMAL},
  1126. </if>
  1127. <if test="dayyxsj != null">
  1128. dayyxsj = #{dayyxsj,jdbcType=DECIMAL},
  1129. </if>
  1130. <if test="monthyxsj != null">
  1131. monthyxsj = #{monthyxsj,jdbcType=DECIMAL},
  1132. </if>
  1133. <if test="yearyxsj != null">
  1134. yearyxsj = #{yearyxsj,jdbcType=DECIMAL},
  1135. </if>
  1136. <if test="daytjsj != null">
  1137. daytjsj = #{daytjsj,jdbcType=DECIMAL},
  1138. </if>
  1139. <if test="monthtjsj != null">
  1140. monthtjsj = #{monthtjsj,jdbcType=DECIMAL},
  1141. </if>
  1142. <if test="yeartjsj != null">
  1143. yeartjsj = #{yeartjsj,jdbcType=DECIMAL},
  1144. </if>
  1145. <if test="daylyxs != null">
  1146. dayLYXS = #{daylyxs,jdbcType=DECIMAL},
  1147. </if>
  1148. <if test="monthlyxs != null">
  1149. monthLYXS = #{monthlyxs,jdbcType=DECIMAL},
  1150. </if>
  1151. <if test="yearlyxs != null">
  1152. yearLYXS = #{yearlyxs,jdbcType=DECIMAL},
  1153. </if>
  1154. <if test="daynhyd != null">
  1155. dayNHYD = #{daynhyd,jdbcType=DECIMAL},
  1156. </if>
  1157. <if test="monthnhyd != null">
  1158. monthNHYD = #{monthnhyd,jdbcType=DECIMAL},
  1159. </if>
  1160. <if test="yearnhyd != null">
  1161. yearNHYD = #{yearnhyd,jdbcType=DECIMAL},
  1162. </if>
  1163. <if test="daysbklyl != null">
  1164. daySBKLYL = #{daysbklyl,jdbcType=DECIMAL},
  1165. </if>
  1166. <if test="monthsbklyl != null">
  1167. monthSBKLYL = #{monthsbklyl,jdbcType=DECIMAL},
  1168. </if>
  1169. <if test="yearsbklyl != null">
  1170. yearSBKLYL = #{yearsbklyl,jdbcType=DECIMAL},
  1171. </if>
  1172. <if test="daydxkyxs != null">
  1173. dayDXKYXS = #{daydxkyxs,jdbcType=DECIMAL},
  1174. </if>
  1175. <if test="monthdxkyxs != null">
  1176. monthDXKYXS = #{monthdxkyxs,jdbcType=DECIMAL},
  1177. </if>
  1178. <if test="yeardxkyxs != null">
  1179. yearDXKYXS = #{yeardxkyxs,jdbcType=DECIMAL},
  1180. </if>
  1181. <if test="dayyxfss != null">
  1182. dayyxfss = #{dayyxfss,jdbcType=DECIMAL},
  1183. </if>
  1184. <if test="monthyxfss != null">
  1185. monthyxfss = #{monthyxfss,jdbcType=DECIMAL},
  1186. </if>
  1187. <if test="yearyxfss != null">
  1188. yearyxfss = #{yearyxfss,jdbcType=DECIMAL},
  1189. </if>
  1190. <if test="dayxfqr != null">
  1191. dayxfqr = #{dayxfqr,jdbcType=DECIMAL},
  1192. </if>
  1193. <if test="monthxfqr != null">
  1194. monthxfqr = #{monthxfqr,jdbcType=DECIMAL},
  1195. </if>
  1196. <if test="yearxfqr != null">
  1197. yearxfqr = #{yearxfqr,jdbcType=DECIMAL},
  1198. </if>
  1199. <if test="dayjfpl != null">
  1200. dayjfpl = #{dayjfpl,jdbcType=DECIMAL},
  1201. </if>
  1202. <if test="monthjfpl != null">
  1203. monthjfpl = #{monthjfpl,jdbcType=DECIMAL},
  1204. </if>
  1205. <if test="yearjfpl != null">
  1206. yearjfpl = #{yearjfpl,jdbcType=DECIMAL},
  1207. </if>
  1208. <if test="dayglyzxxs != null">
  1209. dayglyzxxs = #{dayglyzxxs,jdbcType=DECIMAL},
  1210. </if>
  1211. <if test="monthglyzxxs != null">
  1212. monthglyzxxs = #{monthglyzxxs,jdbcType=DECIMAL},
  1213. </if>
  1214. <if test="yearglyzxxs != null">
  1215. yearglyzxxs = #{yearglyzxxs,jdbcType=DECIMAL},
  1216. </if>
  1217. <if test="type != null">
  1218. type = #{type,jdbcType=INTEGER},
  1219. </if>
  1220. <if test="rank != null">
  1221. Rank = #{rank,jdbcType=INTEGER},
  1222. </if>
  1223. <if test="level != null">
  1224. Level = #{level,jdbcType=VARCHAR},
  1225. </if>
  1226. <if test="year != null">
  1227. year = #{year,jdbcType=INTEGER},
  1228. </if>
  1229. <if test="month != null">
  1230. month = #{month,jdbcType=INTEGER},
  1231. </if>
  1232. </set>
  1233. where id = #{id,jdbcType=INTEGER}
  1234. </update>
  1235. <update id="updateByPrimaryKey" parameterType="com.gyee.frame.model.auto.Windturbineinfodaytop2">
  1236. <!--
  1237. WARNING - @mbg.generated
  1238. This element is automatically generated by MyBatis Generator, do not modify.
  1239. -->
  1240. update windturbineinfodaytop2
  1241. set windPowerStationId = #{windpowerstationid,jdbcType=VARCHAR},
  1242. projectId = #{projectid,jdbcType=VARCHAR},
  1243. lineId = #{lineid,jdbcType=VARCHAR},
  1244. windTurbineId = #{windturbineid,jdbcType=VARCHAR},
  1245. recordDate = #{recorddate,jdbcType=TIMESTAMP},
  1246. dayfdl = #{dayfdl,jdbcType=DECIMAL},
  1247. monthfdl = #{monthfdl,jdbcType=DECIMAL},
  1248. yearfdl = #{yearfdl,jdbcType=DECIMAL},
  1249. dayllfdl = #{dayllfdl,jdbcType=DECIMAL},
  1250. monthllfdl = #{monthllfdl,jdbcType=DECIMAL},
  1251. yearllfdl = #{yearllfdl,jdbcType=DECIMAL},
  1252. dayfs = #{dayfs,jdbcType=DECIMAL},
  1253. monthfs = #{monthfs,jdbcType=DECIMAL},
  1254. yearfs = #{yearfs,jdbcType=DECIMAL},
  1255. daygl = #{daygl,jdbcType=DECIMAL},
  1256. monthgl = #{monthgl,jdbcType=DECIMAL},
  1257. yeargl = #{yeargl,jdbcType=DECIMAL},
  1258. daygzssdl = #{daygzssdl,jdbcType=DECIMAL},
  1259. monthgzssdl = #{monthgzssdl,jdbcType=DECIMAL},
  1260. yeargzssdl = #{yeargzssdl,jdbcType=DECIMAL},
  1261. dayxdssdl = #{dayxdssdl,jdbcType=DECIMAL},
  1262. monthxdssdl = #{monthxdssdl,jdbcType=DECIMAL},
  1263. yearxdssdl = #{yearxdssdl,jdbcType=DECIMAL},
  1264. daywhssdl = #{daywhssdl,jdbcType=DECIMAL},
  1265. monthwhssdl = #{monthwhssdl,jdbcType=DECIMAL},
  1266. yearwhssdl = #{yearwhssdl,jdbcType=DECIMAL},
  1267. dayxnssdl = #{dayxnssdl,jdbcType=DECIMAL},
  1268. monthxnssdl = #{monthxnssdl,jdbcType=DECIMAL},
  1269. yearxnssdl = #{yearxnssdl,jdbcType=DECIMAL},
  1270. daygzsj = #{daygzsj,jdbcType=DECIMAL},
  1271. monthgzsj = #{monthgzsj,jdbcType=DECIMAL},
  1272. yeargzsj = #{yeargzsj,jdbcType=DECIMAL},
  1273. daywhsj = #{daywhsj,jdbcType=DECIMAL},
  1274. monthwhsj = #{monthwhsj,jdbcType=DECIMAL},
  1275. yearwhsj = #{yearwhsj,jdbcType=DECIMAL},
  1276. dayyxsj = #{dayyxsj,jdbcType=DECIMAL},
  1277. monthyxsj = #{monthyxsj,jdbcType=DECIMAL},
  1278. yearyxsj = #{yearyxsj,jdbcType=DECIMAL},
  1279. daytjsj = #{daytjsj,jdbcType=DECIMAL},
  1280. monthtjsj = #{monthtjsj,jdbcType=DECIMAL},
  1281. yeartjsj = #{yeartjsj,jdbcType=DECIMAL},
  1282. dayLYXS = #{daylyxs,jdbcType=DECIMAL},
  1283. monthLYXS = #{monthlyxs,jdbcType=DECIMAL},
  1284. yearLYXS = #{yearlyxs,jdbcType=DECIMAL},
  1285. dayNHYD = #{daynhyd,jdbcType=DECIMAL},
  1286. monthNHYD = #{monthnhyd,jdbcType=DECIMAL},
  1287. yearNHYD = #{yearnhyd,jdbcType=DECIMAL},
  1288. daySBKLYL = #{daysbklyl,jdbcType=DECIMAL},
  1289. monthSBKLYL = #{monthsbklyl,jdbcType=DECIMAL},
  1290. yearSBKLYL = #{yearsbklyl,jdbcType=DECIMAL},
  1291. dayDXKYXS = #{daydxkyxs,jdbcType=DECIMAL},
  1292. monthDXKYXS = #{monthdxkyxs,jdbcType=DECIMAL},
  1293. yearDXKYXS = #{yeardxkyxs,jdbcType=DECIMAL},
  1294. dayyxfss = #{dayyxfss,jdbcType=DECIMAL},
  1295. monthyxfss = #{monthyxfss,jdbcType=DECIMAL},
  1296. yearyxfss = #{yearyxfss,jdbcType=DECIMAL},
  1297. dayxfqr = #{dayxfqr,jdbcType=DECIMAL},
  1298. monthxfqr = #{monthxfqr,jdbcType=DECIMAL},
  1299. yearxfqr = #{yearxfqr,jdbcType=DECIMAL},
  1300. dayjfpl = #{dayjfpl,jdbcType=DECIMAL},
  1301. monthjfpl = #{monthjfpl,jdbcType=DECIMAL},
  1302. yearjfpl = #{yearjfpl,jdbcType=DECIMAL},
  1303. dayglyzxxs = #{dayglyzxxs,jdbcType=DECIMAL},
  1304. monthglyzxxs = #{monthglyzxxs,jdbcType=DECIMAL},
  1305. yearglyzxxs = #{yearglyzxxs,jdbcType=DECIMAL},
  1306. type = #{type,jdbcType=INTEGER},
  1307. Rank = #{rank,jdbcType=INTEGER},
  1308. Level = #{level,jdbcType=VARCHAR},
  1309. year = #{year,jdbcType=INTEGER},
  1310. month = #{month,jdbcType=INTEGER}
  1311. where id = #{id,jdbcType=INTEGER}
  1312. </update>
  1313. <select id="getWindturbineinfodaytop2List" resultMap="BaseResultMap">
  1314. select id, windPowerStationId, projectId, lineId, windTurbineId, recordDate, dayfdl, monthfdl,
  1315. yearfdl, dayllfdl, monthllfdl, yearllfdl, dayfs, monthfs, yearfs, daygl, monthgl,
  1316. yeargl, daygzssdl, monthgzssdl, yeargzssdl, dayxdssdl, monthxdssdl, yearxdssdl, daywhssdl,
  1317. monthwhssdl, yearwhssdl, dayxnssdl, monthxnssdl, yearxnssdl, daygzsj, monthgzsj,
  1318. yeargzsj, daywhsj, monthwhsj, yearwhsj, dayyxsj, monthyxsj, yearyxsj, daytjsj, monthtjsj,
  1319. yeartjsj, dayLYXS, monthLYXS, yearLYXS, dayNHYD, monthNHYD, yearNHYD, daySBKLYL,
  1320. monthSBKLYL, yearSBKLYL, dayDXKYXS, monthDXKYXS, yearDXKYXS, dayyxfss, monthyxfss,
  1321. yearyxfss, dayxfqr, monthxfqr, yearxfqr, dayjfpl, monthjfpl, yearjfpl, dayglyzxxs,
  1322. monthglyzxxs, yearglyzxxs, type, Rank, "LEVEL", year, month
  1323. from windturbineinfodaytop2 where type=2
  1324. <if test="wpId != null">
  1325. and windpowerstationid = #{wpId}
  1326. </if>
  1327. and year=#{year} and month=#{month} order by "LEVEL" desc
  1328. </select>
  1329. <select id="findXnfxDay" resultMap="BaseResultMap">
  1330. select id, windPowerStationId, projectId, lineId, windTurbineId, recordDate, dayfdl, monthfdl,
  1331. yearfdl, dayllfdl, monthllfdl, yearllfdl, dayfs, monthfs, yearfs, daygl, monthgl,
  1332. yeargl, daygzssdl, monthgzssdl, yeargzssdl, dayxdssdl, monthxdssdl, yearxdssdl, daywhssdl,
  1333. monthwhssdl, yearwhssdl, dayxnssdl, monthxnssdl, yearxnssdl, daygzsj, monthgzsj,
  1334. yeargzsj, daywhsj, monthwhsj, yearwhsj, dayyxsj, monthyxsj, yearyxsj, daytjsj, monthtjsj,
  1335. yeartjsj, dayLYXS, monthLYXS, yearLYXS, dayNHYD, monthNHYD, yearNHYD, daySBKLYL,
  1336. monthSBKLYL, yearSBKLYL, dayDXKYXS, monthDXKYXS, yearDXKYXS, dayyxfss, monthyxfss,
  1337. yearyxfss, dayxfqr, monthxfqr, yearxfqr, dayjfpl, monthjfpl, yearjfpl, dayglyzxxs,
  1338. monthglyzxxs, yearglyzxxs, type, Rank, "LEVEL", year, month
  1339. from windturbineinfodaytop2 where type=1
  1340. <if test="wtId != null">
  1341. and windTurbineId = #{wtId}
  1342. </if>
  1343. <if test="beginDate != null">
  1344. and recorddate >= #{beginDate}
  1345. </if>
  1346. <if test="endDate != null">
  1347. and recorddate &lt;= #{endDate}
  1348. </if>
  1349. order by Rank
  1350. </select>
  1351. <select id="findXnfxMonth" resultMap="BaseResultMap">
  1352. select id, windPowerStationId, projectId, lineId, windTurbineId, recordDate, dayfdl, monthfdl,
  1353. yearfdl, dayllfdl, monthllfdl, yearllfdl, dayfs, monthfs, yearfs, daygl, monthgl,
  1354. yeargl, daygzssdl, monthgzssdl, yeargzssdl, dayxdssdl, monthxdssdl, yearxdssdl, daywhssdl,
  1355. monthwhssdl, yearwhssdl, dayxnssdl, monthxnssdl, yearxnssdl, daygzsj, monthgzsj,
  1356. yeargzsj, daywhsj, monthwhsj, yearwhsj, dayyxsj, monthyxsj, yearyxsj, daytjsj, monthtjsj,
  1357. yeartjsj, dayLYXS, monthLYXS, yearLYXS, dayNHYD, monthNHYD, yearNHYD, daySBKLYL,
  1358. monthSBKLYL, yearSBKLYL, dayDXKYXS, monthDXKYXS, yearDXKYXS, dayyxfss, monthyxfss,
  1359. yearyxfss, dayxfqr, monthxfqr, yearxfqr, dayjfpl, monthjfpl, yearjfpl, dayglyzxxs,
  1360. monthglyzxxs, yearglyzxxs, type, Rank, "LEVEL", year, month
  1361. from windturbineinfodaytop2 where type=2
  1362. <if test="wtId != null">
  1363. and windTurbineId = #{wtId}
  1364. </if>
  1365. <if test="year != null">
  1366. and year >= #{year}
  1367. </if>
  1368. <if test="month != null">
  1369. and month &lt;= #{month}
  1370. </if>
  1371. order by Rank
  1372. </select>
  1373. </mapper>