BasicStorehouseMapper.xml 41 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005
  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.chinaitop.depot.intelligent.basicdata.mapper.BasicStorehouseMapper" >
  4. <resultMap id="BaseResultMap" type="com.chinaitop.depot.intelligent.basicdata.model.BasicStorehouse" >
  5. <id column="storehouse_id" property="storehouseId" jdbcType="INTEGER" />
  6. <result column="uuid" property="uuid" jdbcType="VARCHAR" />
  7. <result column="depot_id" property="depotId" jdbcType="INTEGER" />
  8. <result column="depot_name" property="depotName" jdbcType="VARCHAR" />
  9. <result column="org_id" property="orgId" jdbcType="INTEGER" />
  10. <result column="org_name" property="orgName" jdbcType="VARCHAR" />
  11. <result column="storehouse_code" property="storehouseCode" jdbcType="VARCHAR" />
  12. <result column="storehouse_name" property="storehouseName" jdbcType="VARCHAR" />
  13. <result column="storehouse_type" property="storehouseType" jdbcType="INTEGER" />
  14. <result column="storehouse_type_mx" property="storehouseTypeMx" jdbcType="INTEGER" />
  15. <result column="architecture_type" property="architectureType" jdbcType="VARCHAR" />
  16. <result column="store_img" property="storeImg" jdbcType="VARCHAR" />
  17. <result column="ground" property="ground" jdbcType="VARCHAR" />
  18. <result column="wall" property="wall" jdbcType="INTEGER" />
  19. <result column="roof" property="roof" jdbcType="VARCHAR" />
  20. <result column="house" property="house" jdbcType="VARCHAR" />
  21. <result column="design_capacity" property="designCapacity" jdbcType="DECIMAL" />
  22. <result column="keeping_way" property="keepingWay" jdbcType="INTEGER" />
  23. <result column="grain_heigth" property="grainHeigth" jdbcType="DECIMAL" />
  24. <result column="store_outside_length" property="storeOutsideLength" jdbcType="DECIMAL" />
  25. <result column="store_outside_width" property="storeOutsideWidth" jdbcType="DECIMAL" />
  26. <result column="store_outside_heigth" property="storeOutsideHeigth" jdbcType="DECIMAL" />
  27. <result column="store_outside_top_heigth" property="storeOutsideTopHeigth" jdbcType="DECIMAL" />
  28. <result column="outside_silo_diameter" property="outsideSiloDiameter" jdbcType="DECIMAL" />
  29. <result column="outer_wall_area" property="outerWallArea" jdbcType="DECIMAL" />
  30. <result column="deduct_volume" property="deductVolume" jdbcType="DECIMAL" />
  31. <result column="length" property="length" jdbcType="DECIMAL" />
  32. <result column="width" property="width" jdbcType="DECIMAL" />
  33. <result column="heigth" property="heigth" jdbcType="DECIMAL" />
  34. <result column="grain_line_heigth" property="grainLineHeigth" jdbcType="DECIMAL" />
  35. <result column="silo_diameter" property="siloDiameter" jdbcType="DECIMAL" />
  36. <result column="bin_volume" property="binVolume" jdbcType="DECIMAL" />
  37. <result column="grain_pile_volume" property="grainPileVolume" jdbcType="DECIMAL" />
  38. <result column="house_door_num" property="houseDoorNum" jdbcType="INTEGER" />
  39. <result column="house_doot_position" property="houseDootPosition" jdbcType="VARCHAR" />
  40. <result column="house_door_width" property="houseDoorWidth" jdbcType="DECIMAL" />
  41. <result column="house_door_heigth" property="houseDoorHeigth" jdbcType="DECIMAL" />
  42. <result column="draftType" property="drafttype" jdbcType="INTEGER" />
  43. <result column="heatInsulationStep_roof" property="heatinsulationstepRoof" jdbcType="VARCHAR" />
  44. <result column="heatInsulationStep_window" property="heatinsulationstepWindow" jdbcType="VARCHAR" />
  45. <result column="actual_capacity" property="actualCapacity" jdbcType="DECIMAL" />
  46. <result column="completion_date" property="completionDate" jdbcType="TIMESTAMP" />
  47. <result column="useDate" property="usedate" jdbcType="TIMESTAMP" />
  48. <result column="storehouse_state" property="storehouseState" jdbcType="INTEGER" />
  49. <result column="store_way" property="storeWay" jdbcType="INTEGER" />
  50. <result column="currentType" property="currenttype" jdbcType="INTEGER" />
  51. <result column="dutyStoreman" property="dutystoreman" jdbcType="VARCHAR" />
  52. <result column="remark" property="remark" jdbcType="VARCHAR" />
  53. <result column="createName" property="createname" jdbcType="VARCHAR" />
  54. <result column="createDate" property="createdate" jdbcType="TIMESTAMP" />
  55. <result column="updateName" property="updatename" jdbcType="VARCHAR" />
  56. <result column="updateDate" property="updatedate" jdbcType="TIMESTAMP" />
  57. <result column="working_status" property="workingStatus" jdbcType="INTEGER" />
  58. <result column="del_flag" property="delFlag" jdbcType="INTEGER" />
  59. <result column="library_type" property="libraryType" jdbcType="VARCHAR" />
  60. </resultMap>
  61. <sql id="Example_Where_Clause" >
  62. <where >
  63. <foreach collection="oredCriteria" item="criteria" separator="or" >
  64. <if test="criteria.valid" >
  65. <trim prefix="(" suffix=")" prefixOverrides="and" >
  66. <foreach collection="criteria.criteria" item="criterion" >
  67. <choose >
  68. <when test="criterion.noValue" >
  69. and ${criterion.condition}
  70. </when>
  71. <when test="criterion.singleValue" >
  72. and ${criterion.condition} #{criterion.value}
  73. </when>
  74. <when test="criterion.betweenValue" >
  75. and ${criterion.condition} #{criterion.value} and #{criterion.secondValue}
  76. </when>
  77. <when test="criterion.listValue" >
  78. and ${criterion.condition}
  79. <foreach collection="criterion.value" item="listItem" open="(" close=")" separator="," >
  80. #{listItem}
  81. </foreach>
  82. </when>
  83. </choose>
  84. </foreach>
  85. </trim>
  86. </if>
  87. </foreach>
  88. </where>
  89. </sql>
  90. <sql id="Update_By_Example_Where_Clause" >
  91. <where >
  92. <foreach collection="example.oredCriteria" item="criteria" separator="or" >
  93. <if test="criteria.valid" >
  94. <trim prefix="(" suffix=")" prefixOverrides="and" >
  95. <foreach collection="criteria.criteria" item="criterion" >
  96. <choose >
  97. <when test="criterion.noValue" >
  98. and ${criterion.condition}
  99. </when>
  100. <when test="criterion.singleValue" >
  101. and ${criterion.condition} #{criterion.value}
  102. </when>
  103. <when test="criterion.betweenValue" >
  104. and ${criterion.condition} #{criterion.value} and #{criterion.secondValue}
  105. </when>
  106. <when test="criterion.listValue" >
  107. and ${criterion.condition}
  108. <foreach collection="criterion.value" item="listItem" open="(" close=")" separator="," >
  109. #{listItem}
  110. </foreach>
  111. </when>
  112. </choose>
  113. </foreach>
  114. </trim>
  115. </if>
  116. </foreach>
  117. </where>
  118. </sql>
  119. <sql id="Base_Column_List" >
  120. storehouse_id, uuid, depot_id, depot_name, org_id, org_name, storehouse_code, storehouse_name,
  121. storehouse_type, storehouse_type_mx, architecture_type, store_img, ground, wall,
  122. roof, house, design_capacity, keeping_way, grain_heigth, store_outside_length, store_outside_width,
  123. store_outside_heigth, store_outside_top_heigth, outside_silo_diameter, outer_wall_area,
  124. deduct_volume, length, width, heigth, grain_line_heigth, silo_diameter, bin_volume,
  125. grain_pile_volume, house_door_num, house_doot_position, house_door_width, house_door_heigth,
  126. draftType, heatInsulationStep_roof, heatInsulationStep_window, actual_capacity, completion_date,
  127. useDate, storehouse_state, store_way, currentType, dutyStoreman, remark, createName,
  128. createDate, updateName, updateDate, working_status, del_flag, library_type
  129. </sql>
  130. <select id="selectByExample" resultMap="BaseResultMap" parameterType="com.chinaitop.depot.intelligent.basicdata.model.BasicStorehouseExample" >
  131. select
  132. <if test="distinct" >
  133. distinct
  134. </if>
  135. <include refid="Base_Column_List" />
  136. from basic_storehouse
  137. <if test="_parameter != null" >
  138. <include refid="Example_Where_Clause" />
  139. </if>
  140. <if test="orderByClause != null" >
  141. order by ${orderByClause}
  142. </if>
  143. </select>
  144. <select id="selectByPrimaryKey" resultMap="BaseResultMap" parameterType="java.lang.Integer" >
  145. select
  146. <include refid="Base_Column_List" />
  147. from basic_storehouse
  148. where storehouse_id = #{storehouseId,jdbcType=INTEGER}
  149. </select>
  150. <delete id="deleteByPrimaryKey" parameterType="java.lang.Integer" >
  151. delete from basic_storehouse
  152. where storehouse_id = #{storehouseId,jdbcType=INTEGER}
  153. </delete>
  154. <delete id="deleteByExample" parameterType="com.chinaitop.depot.intelligent.basicdata.model.BasicStorehouseExample" >
  155. delete from basic_storehouse
  156. <if test="_parameter != null" >
  157. <include refid="Example_Where_Clause" />
  158. </if>
  159. </delete>
  160. <insert id="insert" parameterType="com.chinaitop.depot.intelligent.basicdata.model.BasicStorehouse" >
  161. insert into basic_storehouse (storehouse_id, uuid, depot_id,
  162. depot_name, org_id, org_name,
  163. storehouse_code, storehouse_name, storehouse_type,
  164. storehouse_type_mx, architecture_type, store_img,
  165. ground, wall, roof,
  166. house, design_capacity, keeping_way,
  167. grain_heigth, store_outside_length, store_outside_width,
  168. store_outside_heigth, store_outside_top_heigth,
  169. outside_silo_diameter, outer_wall_area, deduct_volume,
  170. length, width, heigth,
  171. grain_line_heigth, silo_diameter, bin_volume,
  172. grain_pile_volume, house_door_num, house_doot_position,
  173. house_door_width, house_door_heigth, draftType,
  174. heatInsulationStep_roof, heatInsulationStep_window,
  175. actual_capacity, completion_date, useDate,
  176. storehouse_state, store_way, currentType,
  177. dutyStoreman, remark, createName,
  178. createDate, updateName, updateDate,
  179. working_status, del_flag, library_type
  180. )
  181. values (#{storehouseId,jdbcType=INTEGER}, #{uuid,jdbcType=VARCHAR}, #{depotId,jdbcType=INTEGER},
  182. #{depotName,jdbcType=VARCHAR}, #{orgId,jdbcType=INTEGER}, #{orgName,jdbcType=VARCHAR},
  183. #{storehouseCode,jdbcType=VARCHAR}, #{storehouseName,jdbcType=VARCHAR}, #{storehouseType,jdbcType=INTEGER},
  184. #{storehouseTypeMx,jdbcType=INTEGER}, #{architectureType,jdbcType=VARCHAR}, #{storeImg,jdbcType=VARCHAR},
  185. #{ground,jdbcType=VARCHAR}, #{wall,jdbcType=INTEGER}, #{roof,jdbcType=VARCHAR},
  186. #{house,jdbcType=VARCHAR}, #{designCapacity,jdbcType=DECIMAL}, #{keepingWay,jdbcType=INTEGER},
  187. #{grainHeigth,jdbcType=DECIMAL}, #{storeOutsideLength,jdbcType=DECIMAL}, #{storeOutsideWidth,jdbcType=DECIMAL},
  188. #{storeOutsideHeigth,jdbcType=DECIMAL}, #{storeOutsideTopHeigth,jdbcType=DECIMAL},
  189. #{outsideSiloDiameter,jdbcType=DECIMAL}, #{outerWallArea,jdbcType=DECIMAL}, #{deductVolume,jdbcType=DECIMAL},
  190. #{length,jdbcType=DECIMAL}, #{width,jdbcType=DECIMAL}, #{heigth,jdbcType=DECIMAL},
  191. #{grainLineHeigth,jdbcType=DECIMAL}, #{siloDiameter,jdbcType=DECIMAL}, #{binVolume,jdbcType=DECIMAL},
  192. #{grainPileVolume,jdbcType=DECIMAL}, #{houseDoorNum,jdbcType=INTEGER}, #{houseDootPosition,jdbcType=VARCHAR},
  193. #{houseDoorWidth,jdbcType=DECIMAL}, #{houseDoorHeigth,jdbcType=DECIMAL}, #{drafttype,jdbcType=INTEGER},
  194. #{heatinsulationstepRoof,jdbcType=VARCHAR}, #{heatinsulationstepWindow,jdbcType=VARCHAR},
  195. #{actualCapacity,jdbcType=DECIMAL}, #{completionDate,jdbcType=TIMESTAMP}, #{usedate,jdbcType=TIMESTAMP},
  196. #{storehouseState,jdbcType=INTEGER}, #{storeWay,jdbcType=INTEGER}, #{currenttype,jdbcType=INTEGER},
  197. #{dutystoreman,jdbcType=VARCHAR}, #{remark,jdbcType=VARCHAR}, #{createname,jdbcType=VARCHAR},
  198. #{createdate,jdbcType=TIMESTAMP}, #{updatename,jdbcType=VARCHAR}, #{updatedate,jdbcType=TIMESTAMP},
  199. #{workingStatus,jdbcType=INTEGER}, #{delFlag,jdbcType=INTEGER}, #{libraryType,jdbcType=VARCHAR}
  200. )
  201. </insert>
  202. <insert id="insertSelective" parameterType="com.chinaitop.depot.intelligent.basicdata.model.BasicStorehouse" >
  203. insert into basic_storehouse
  204. <trim prefix="(" suffix=")" suffixOverrides="," >
  205. <if test="storehouseId != null" >
  206. storehouse_id,
  207. </if>
  208. <if test="uuid != null" >
  209. uuid,
  210. </if>
  211. <if test="depotId != null" >
  212. depot_id,
  213. </if>
  214. <if test="depotName != null" >
  215. depot_name,
  216. </if>
  217. <if test="orgId != null" >
  218. org_id,
  219. </if>
  220. <if test="orgName != null" >
  221. org_name,
  222. </if>
  223. <if test="storehouseCode != null" >
  224. storehouse_code,
  225. </if>
  226. <if test="storehouseName != null" >
  227. storehouse_name,
  228. </if>
  229. <if test="storehouseType != null" >
  230. storehouse_type,
  231. </if>
  232. <if test="storehouseTypeMx != null" >
  233. storehouse_type_mx,
  234. </if>
  235. <if test="architectureType != null" >
  236. architecture_type,
  237. </if>
  238. <if test="storeImg != null" >
  239. store_img,
  240. </if>
  241. <if test="ground != null" >
  242. ground,
  243. </if>
  244. <if test="wall != null" >
  245. wall,
  246. </if>
  247. <if test="roof != null" >
  248. roof,
  249. </if>
  250. <if test="house != null" >
  251. house,
  252. </if>
  253. <if test="designCapacity != null" >
  254. design_capacity,
  255. </if>
  256. <if test="keepingWay != null" >
  257. keeping_way,
  258. </if>
  259. <if test="grainHeigth != null" >
  260. grain_heigth,
  261. </if>
  262. <if test="storeOutsideLength != null" >
  263. store_outside_length,
  264. </if>
  265. <if test="storeOutsideWidth != null" >
  266. store_outside_width,
  267. </if>
  268. <if test="storeOutsideHeigth != null" >
  269. store_outside_heigth,
  270. </if>
  271. <if test="storeOutsideTopHeigth != null" >
  272. store_outside_top_heigth,
  273. </if>
  274. <if test="outsideSiloDiameter != null" >
  275. outside_silo_diameter,
  276. </if>
  277. <if test="outerWallArea != null" >
  278. outer_wall_area,
  279. </if>
  280. <if test="deductVolume != null" >
  281. deduct_volume,
  282. </if>
  283. <if test="length != null" >
  284. length,
  285. </if>
  286. <if test="width != null" >
  287. width,
  288. </if>
  289. <if test="heigth != null" >
  290. heigth,
  291. </if>
  292. <if test="grainLineHeigth != null" >
  293. grain_line_heigth,
  294. </if>
  295. <if test="siloDiameter != null" >
  296. silo_diameter,
  297. </if>
  298. <if test="binVolume != null" >
  299. bin_volume,
  300. </if>
  301. <if test="grainPileVolume != null" >
  302. grain_pile_volume,
  303. </if>
  304. <if test="houseDoorNum != null" >
  305. house_door_num,
  306. </if>
  307. <if test="houseDootPosition != null" >
  308. house_doot_position,
  309. </if>
  310. <if test="houseDoorWidth != null" >
  311. house_door_width,
  312. </if>
  313. <if test="houseDoorHeigth != null" >
  314. house_door_heigth,
  315. </if>
  316. <if test="drafttype != null" >
  317. draftType,
  318. </if>
  319. <if test="heatinsulationstepRoof != null" >
  320. heatInsulationStep_roof,
  321. </if>
  322. <if test="heatinsulationstepWindow != null" >
  323. heatInsulationStep_window,
  324. </if>
  325. <if test="actualCapacity != null" >
  326. actual_capacity,
  327. </if>
  328. <if test="completionDate != null" >
  329. completion_date,
  330. </if>
  331. <if test="usedate != null" >
  332. useDate,
  333. </if>
  334. <if test="storehouseState != null" >
  335. storehouse_state,
  336. </if>
  337. <if test="storeWay != null" >
  338. store_way,
  339. </if>
  340. <if test="currenttype != null" >
  341. currentType,
  342. </if>
  343. <if test="dutystoreman != null" >
  344. dutyStoreman,
  345. </if>
  346. <if test="remark != null" >
  347. remark,
  348. </if>
  349. <if test="createname != null" >
  350. createName,
  351. </if>
  352. <if test="createdate != null" >
  353. createDate,
  354. </if>
  355. <if test="updatename != null" >
  356. updateName,
  357. </if>
  358. <if test="updatedate != null" >
  359. updateDate,
  360. </if>
  361. <if test="workingStatus != null" >
  362. working_status,
  363. </if>
  364. <if test="delFlag != null" >
  365. del_flag,
  366. </if>
  367. <if test="libraryType != null" >
  368. library_type,
  369. </if>
  370. </trim>
  371. <trim prefix="values (" suffix=")" suffixOverrides="," >
  372. <if test="storehouseId != null" >
  373. #{storehouseId,jdbcType=INTEGER},
  374. </if>
  375. <if test="uuid != null" >
  376. #{uuid,jdbcType=VARCHAR},
  377. </if>
  378. <if test="depotId != null" >
  379. #{depotId,jdbcType=INTEGER},
  380. </if>
  381. <if test="depotName != null" >
  382. #{depotName,jdbcType=VARCHAR},
  383. </if>
  384. <if test="orgId != null" >
  385. #{orgId,jdbcType=INTEGER},
  386. </if>
  387. <if test="orgName != null" >
  388. #{orgName,jdbcType=VARCHAR},
  389. </if>
  390. <if test="storehouseCode != null" >
  391. #{storehouseCode,jdbcType=VARCHAR},
  392. </if>
  393. <if test="storehouseName != null" >
  394. #{storehouseName,jdbcType=VARCHAR},
  395. </if>
  396. <if test="storehouseType != null" >
  397. #{storehouseType,jdbcType=INTEGER},
  398. </if>
  399. <if test="storehouseTypeMx != null" >
  400. #{storehouseTypeMx,jdbcType=INTEGER},
  401. </if>
  402. <if test="architectureType != null" >
  403. #{architectureType,jdbcType=VARCHAR},
  404. </if>
  405. <if test="storeImg != null" >
  406. #{storeImg,jdbcType=VARCHAR},
  407. </if>
  408. <if test="ground != null" >
  409. #{ground,jdbcType=VARCHAR},
  410. </if>
  411. <if test="wall != null" >
  412. #{wall,jdbcType=INTEGER},
  413. </if>
  414. <if test="roof != null" >
  415. #{roof,jdbcType=VARCHAR},
  416. </if>
  417. <if test="house != null" >
  418. #{house,jdbcType=VARCHAR},
  419. </if>
  420. <if test="designCapacity != null" >
  421. #{designCapacity,jdbcType=DECIMAL},
  422. </if>
  423. <if test="keepingWay != null" >
  424. #{keepingWay,jdbcType=INTEGER},
  425. </if>
  426. <if test="grainHeigth != null" >
  427. #{grainHeigth,jdbcType=DECIMAL},
  428. </if>
  429. <if test="storeOutsideLength != null" >
  430. #{storeOutsideLength,jdbcType=DECIMAL},
  431. </if>
  432. <if test="storeOutsideWidth != null" >
  433. #{storeOutsideWidth,jdbcType=DECIMAL},
  434. </if>
  435. <if test="storeOutsideHeigth != null" >
  436. #{storeOutsideHeigth,jdbcType=DECIMAL},
  437. </if>
  438. <if test="storeOutsideTopHeigth != null" >
  439. #{storeOutsideTopHeigth,jdbcType=DECIMAL},
  440. </if>
  441. <if test="outsideSiloDiameter != null" >
  442. #{outsideSiloDiameter,jdbcType=DECIMAL},
  443. </if>
  444. <if test="outerWallArea != null" >
  445. #{outerWallArea,jdbcType=DECIMAL},
  446. </if>
  447. <if test="deductVolume != null" >
  448. #{deductVolume,jdbcType=DECIMAL},
  449. </if>
  450. <if test="length != null" >
  451. #{length,jdbcType=DECIMAL},
  452. </if>
  453. <if test="width != null" >
  454. #{width,jdbcType=DECIMAL},
  455. </if>
  456. <if test="heigth != null" >
  457. #{heigth,jdbcType=DECIMAL},
  458. </if>
  459. <if test="grainLineHeigth != null" >
  460. #{grainLineHeigth,jdbcType=DECIMAL},
  461. </if>
  462. <if test="siloDiameter != null" >
  463. #{siloDiameter,jdbcType=DECIMAL},
  464. </if>
  465. <if test="binVolume != null" >
  466. #{binVolume,jdbcType=DECIMAL},
  467. </if>
  468. <if test="grainPileVolume != null" >
  469. #{grainPileVolume,jdbcType=DECIMAL},
  470. </if>
  471. <if test="houseDoorNum != null" >
  472. #{houseDoorNum,jdbcType=INTEGER},
  473. </if>
  474. <if test="houseDootPosition != null" >
  475. #{houseDootPosition,jdbcType=VARCHAR},
  476. </if>
  477. <if test="houseDoorWidth != null" >
  478. #{houseDoorWidth,jdbcType=DECIMAL},
  479. </if>
  480. <if test="houseDoorHeigth != null" >
  481. #{houseDoorHeigth,jdbcType=DECIMAL},
  482. </if>
  483. <if test="drafttype != null" >
  484. #{drafttype,jdbcType=INTEGER},
  485. </if>
  486. <if test="heatinsulationstepRoof != null" >
  487. #{heatinsulationstepRoof,jdbcType=VARCHAR},
  488. </if>
  489. <if test="heatinsulationstepWindow != null" >
  490. #{heatinsulationstepWindow,jdbcType=VARCHAR},
  491. </if>
  492. <if test="actualCapacity != null" >
  493. #{actualCapacity,jdbcType=DECIMAL},
  494. </if>
  495. <if test="completionDate != null" >
  496. #{completionDate,jdbcType=TIMESTAMP},
  497. </if>
  498. <if test="usedate != null" >
  499. #{usedate,jdbcType=TIMESTAMP},
  500. </if>
  501. <if test="storehouseState != null" >
  502. #{storehouseState,jdbcType=INTEGER},
  503. </if>
  504. <if test="storeWay != null" >
  505. #{storeWay,jdbcType=INTEGER},
  506. </if>
  507. <if test="currenttype != null" >
  508. #{currenttype,jdbcType=INTEGER},
  509. </if>
  510. <if test="dutystoreman != null" >
  511. #{dutystoreman,jdbcType=VARCHAR},
  512. </if>
  513. <if test="remark != null" >
  514. #{remark,jdbcType=VARCHAR},
  515. </if>
  516. <if test="createname != null" >
  517. #{createname,jdbcType=VARCHAR},
  518. </if>
  519. <if test="createdate != null" >
  520. #{createdate,jdbcType=TIMESTAMP},
  521. </if>
  522. <if test="updatename != null" >
  523. #{updatename,jdbcType=VARCHAR},
  524. </if>
  525. <if test="updatedate != null" >
  526. #{updatedate,jdbcType=TIMESTAMP},
  527. </if>
  528. <if test="workingStatus != null" >
  529. #{workingStatus,jdbcType=INTEGER},
  530. </if>
  531. <if test="delFlag != null" >
  532. #{delFlag,jdbcType=INTEGER},
  533. </if>
  534. <if test="libraryType != null" >
  535. #{libraryType,jdbcType=VARCHAR},
  536. </if>
  537. </trim>
  538. </insert>
  539. <select id="countByExample" parameterType="com.chinaitop.depot.intelligent.basicdata.model.BasicStorehouseExample" resultType="java.lang.Integer" >
  540. select count(*) from basic_storehouse
  541. <if test="_parameter != null" >
  542. <include refid="Example_Where_Clause" />
  543. </if>
  544. </select>
  545. <update id="updateByExampleSelective" parameterType="map" >
  546. update basic_storehouse
  547. <set >
  548. <if test="record.storehouseId != null" >
  549. storehouse_id = #{record.storehouseId,jdbcType=INTEGER},
  550. </if>
  551. <if test="record.uuid != null" >
  552. uuid = #{record.uuid,jdbcType=VARCHAR},
  553. </if>
  554. <if test="record.depotId != null" >
  555. depot_id = #{record.depotId,jdbcType=INTEGER},
  556. </if>
  557. <if test="record.depotName != null" >
  558. depot_name = #{record.depotName,jdbcType=VARCHAR},
  559. </if>
  560. <if test="record.orgId != null" >
  561. org_id = #{record.orgId,jdbcType=INTEGER},
  562. </if>
  563. <if test="record.orgName != null" >
  564. org_name = #{record.orgName,jdbcType=VARCHAR},
  565. </if>
  566. <if test="record.storehouseCode != null" >
  567. storehouse_code = #{record.storehouseCode,jdbcType=VARCHAR},
  568. </if>
  569. <if test="record.storehouseName != null" >
  570. storehouse_name = #{record.storehouseName,jdbcType=VARCHAR},
  571. </if>
  572. <if test="record.storehouseType != null" >
  573. storehouse_type = #{record.storehouseType,jdbcType=INTEGER},
  574. </if>
  575. <if test="record.storehouseTypeMx != null" >
  576. storehouse_type_mx = #{record.storehouseTypeMx,jdbcType=INTEGER},
  577. </if>
  578. <if test="record.architectureType != null" >
  579. architecture_type = #{record.architectureType,jdbcType=VARCHAR},
  580. </if>
  581. <if test="record.storeImg != null" >
  582. store_img = #{record.storeImg,jdbcType=VARCHAR},
  583. </if>
  584. <if test="record.ground != null" >
  585. ground = #{record.ground,jdbcType=VARCHAR},
  586. </if>
  587. <if test="record.wall != null" >
  588. wall = #{record.wall,jdbcType=INTEGER},
  589. </if>
  590. <if test="record.roof != null" >
  591. roof = #{record.roof,jdbcType=VARCHAR},
  592. </if>
  593. <if test="record.house != null" >
  594. house = #{record.house,jdbcType=VARCHAR},
  595. </if>
  596. <if test="record.designCapacity != null" >
  597. design_capacity = #{record.designCapacity,jdbcType=DECIMAL},
  598. </if>
  599. <if test="record.keepingWay != null" >
  600. keeping_way = #{record.keepingWay,jdbcType=INTEGER},
  601. </if>
  602. <if test="record.grainHeigth != null" >
  603. grain_heigth = #{record.grainHeigth,jdbcType=DECIMAL},
  604. </if>
  605. <if test="record.storeOutsideLength != null" >
  606. store_outside_length = #{record.storeOutsideLength,jdbcType=DECIMAL},
  607. </if>
  608. <if test="record.storeOutsideWidth != null" >
  609. store_outside_width = #{record.storeOutsideWidth,jdbcType=DECIMAL},
  610. </if>
  611. <if test="record.storeOutsideHeigth != null" >
  612. store_outside_heigth = #{record.storeOutsideHeigth,jdbcType=DECIMAL},
  613. </if>
  614. <if test="record.storeOutsideTopHeigth != null" >
  615. store_outside_top_heigth = #{record.storeOutsideTopHeigth,jdbcType=DECIMAL},
  616. </if>
  617. <if test="record.outsideSiloDiameter != null" >
  618. outside_silo_diameter = #{record.outsideSiloDiameter,jdbcType=DECIMAL},
  619. </if>
  620. <if test="record.outerWallArea != null" >
  621. outer_wall_area = #{record.outerWallArea,jdbcType=DECIMAL},
  622. </if>
  623. <if test="record.deductVolume != null" >
  624. deduct_volume = #{record.deductVolume,jdbcType=DECIMAL},
  625. </if>
  626. <if test="record.length != null" >
  627. length = #{record.length,jdbcType=DECIMAL},
  628. </if>
  629. <if test="record.width != null" >
  630. width = #{record.width,jdbcType=DECIMAL},
  631. </if>
  632. <if test="record.heigth != null" >
  633. heigth = #{record.heigth,jdbcType=DECIMAL},
  634. </if>
  635. <if test="record.grainLineHeigth != null" >
  636. grain_line_heigth = #{record.grainLineHeigth,jdbcType=DECIMAL},
  637. </if>
  638. <if test="record.siloDiameter != null" >
  639. silo_diameter = #{record.siloDiameter,jdbcType=DECIMAL},
  640. </if>
  641. <if test="record.binVolume != null" >
  642. bin_volume = #{record.binVolume,jdbcType=DECIMAL},
  643. </if>
  644. <if test="record.grainPileVolume != null" >
  645. grain_pile_volume = #{record.grainPileVolume,jdbcType=DECIMAL},
  646. </if>
  647. <if test="record.houseDoorNum != null" >
  648. house_door_num = #{record.houseDoorNum,jdbcType=INTEGER},
  649. </if>
  650. <if test="record.houseDootPosition != null" >
  651. house_doot_position = #{record.houseDootPosition,jdbcType=VARCHAR},
  652. </if>
  653. <if test="record.houseDoorWidth != null" >
  654. house_door_width = #{record.houseDoorWidth,jdbcType=DECIMAL},
  655. </if>
  656. <if test="record.houseDoorHeigth != null" >
  657. house_door_heigth = #{record.houseDoorHeigth,jdbcType=DECIMAL},
  658. </if>
  659. <if test="record.drafttype != null" >
  660. draftType = #{record.drafttype,jdbcType=INTEGER},
  661. </if>
  662. <if test="record.heatinsulationstepRoof != null" >
  663. heatInsulationStep_roof = #{record.heatinsulationstepRoof,jdbcType=VARCHAR},
  664. </if>
  665. <if test="record.heatinsulationstepWindow != null" >
  666. heatInsulationStep_window = #{record.heatinsulationstepWindow,jdbcType=VARCHAR},
  667. </if>
  668. <if test="record.actualCapacity != null" >
  669. actual_capacity = #{record.actualCapacity,jdbcType=DECIMAL},
  670. </if>
  671. <if test="record.completionDate != null" >
  672. completion_date = #{record.completionDate,jdbcType=TIMESTAMP},
  673. </if>
  674. <if test="record.usedate != null" >
  675. useDate = #{record.usedate,jdbcType=TIMESTAMP},
  676. </if>
  677. <if test="record.storehouseState != null" >
  678. storehouse_state = #{record.storehouseState,jdbcType=INTEGER},
  679. </if>
  680. <if test="record.storeWay != null" >
  681. store_way = #{record.storeWay,jdbcType=INTEGER},
  682. </if>
  683. <if test="record.currenttype != null" >
  684. currentType = #{record.currenttype,jdbcType=INTEGER},
  685. </if>
  686. <if test="record.dutystoreman != null" >
  687. dutyStoreman = #{record.dutystoreman,jdbcType=VARCHAR},
  688. </if>
  689. <if test="record.remark != null" >
  690. remark = #{record.remark,jdbcType=VARCHAR},
  691. </if>
  692. <if test="record.createname != null" >
  693. createName = #{record.createname,jdbcType=VARCHAR},
  694. </if>
  695. <if test="record.createdate != null" >
  696. createDate = #{record.createdate,jdbcType=TIMESTAMP},
  697. </if>
  698. <if test="record.updatename != null" >
  699. updateName = #{record.updatename,jdbcType=VARCHAR},
  700. </if>
  701. <if test="record.updatedate != null" >
  702. updateDate = #{record.updatedate,jdbcType=TIMESTAMP},
  703. </if>
  704. <if test="record.workingStatus != null" >
  705. working_status = #{record.workingStatus,jdbcType=INTEGER},
  706. </if>
  707. <if test="record.delFlag != null" >
  708. del_flag = #{record.delFlag,jdbcType=INTEGER},
  709. </if>
  710. <if test="record.libraryType != null" >
  711. library_type = #{record.libraryType,jdbcType=VARCHAR},
  712. </if>
  713. </set>
  714. <if test="_parameter != null" >
  715. <include refid="Update_By_Example_Where_Clause" />
  716. </if>
  717. </update>
  718. <update id="updateByExample" parameterType="map" >
  719. update basic_storehouse
  720. set storehouse_id = #{record.storehouseId,jdbcType=INTEGER},
  721. uuid = #{record.uuid,jdbcType=VARCHAR},
  722. depot_id = #{record.depotId,jdbcType=INTEGER},
  723. depot_name = #{record.depotName,jdbcType=VARCHAR},
  724. org_id = #{record.orgId,jdbcType=INTEGER},
  725. org_name = #{record.orgName,jdbcType=VARCHAR},
  726. storehouse_code = #{record.storehouseCode,jdbcType=VARCHAR},
  727. storehouse_name = #{record.storehouseName,jdbcType=VARCHAR},
  728. storehouse_type = #{record.storehouseType,jdbcType=INTEGER},
  729. storehouse_type_mx = #{record.storehouseTypeMx,jdbcType=INTEGER},
  730. architecture_type = #{record.architectureType,jdbcType=VARCHAR},
  731. store_img = #{record.storeImg,jdbcType=VARCHAR},
  732. ground = #{record.ground,jdbcType=VARCHAR},
  733. wall = #{record.wall,jdbcType=INTEGER},
  734. roof = #{record.roof,jdbcType=VARCHAR},
  735. house = #{record.house,jdbcType=VARCHAR},
  736. design_capacity = #{record.designCapacity,jdbcType=DECIMAL},
  737. keeping_way = #{record.keepingWay,jdbcType=INTEGER},
  738. grain_heigth = #{record.grainHeigth,jdbcType=DECIMAL},
  739. store_outside_length = #{record.storeOutsideLength,jdbcType=DECIMAL},
  740. store_outside_width = #{record.storeOutsideWidth,jdbcType=DECIMAL},
  741. store_outside_heigth = #{record.storeOutsideHeigth,jdbcType=DECIMAL},
  742. store_outside_top_heigth = #{record.storeOutsideTopHeigth,jdbcType=DECIMAL},
  743. outside_silo_diameter = #{record.outsideSiloDiameter,jdbcType=DECIMAL},
  744. outer_wall_area = #{record.outerWallArea,jdbcType=DECIMAL},
  745. deduct_volume = #{record.deductVolume,jdbcType=DECIMAL},
  746. length = #{record.length,jdbcType=DECIMAL},
  747. width = #{record.width,jdbcType=DECIMAL},
  748. heigth = #{record.heigth,jdbcType=DECIMAL},
  749. grain_line_heigth = #{record.grainLineHeigth,jdbcType=DECIMAL},
  750. silo_diameter = #{record.siloDiameter,jdbcType=DECIMAL},
  751. bin_volume = #{record.binVolume,jdbcType=DECIMAL},
  752. grain_pile_volume = #{record.grainPileVolume,jdbcType=DECIMAL},
  753. house_door_num = #{record.houseDoorNum,jdbcType=INTEGER},
  754. house_doot_position = #{record.houseDootPosition,jdbcType=VARCHAR},
  755. house_door_width = #{record.houseDoorWidth,jdbcType=DECIMAL},
  756. house_door_heigth = #{record.houseDoorHeigth,jdbcType=DECIMAL},
  757. draftType = #{record.drafttype,jdbcType=INTEGER},
  758. heatInsulationStep_roof = #{record.heatinsulationstepRoof,jdbcType=VARCHAR},
  759. heatInsulationStep_window = #{record.heatinsulationstepWindow,jdbcType=VARCHAR},
  760. actual_capacity = #{record.actualCapacity,jdbcType=DECIMAL},
  761. completion_date = #{record.completionDate,jdbcType=TIMESTAMP},
  762. useDate = #{record.usedate,jdbcType=TIMESTAMP},
  763. storehouse_state = #{record.storehouseState,jdbcType=INTEGER},
  764. store_way = #{record.storeWay,jdbcType=INTEGER},
  765. currentType = #{record.currenttype,jdbcType=INTEGER},
  766. dutyStoreman = #{record.dutystoreman,jdbcType=VARCHAR},
  767. remark = #{record.remark,jdbcType=VARCHAR},
  768. createName = #{record.createname,jdbcType=VARCHAR},
  769. createDate = #{record.createdate,jdbcType=TIMESTAMP},
  770. updateName = #{record.updatename,jdbcType=VARCHAR},
  771. updateDate = #{record.updatedate,jdbcType=TIMESTAMP},
  772. working_status = #{record.workingStatus,jdbcType=INTEGER},
  773. del_flag = #{record.delFlag,jdbcType=INTEGER},
  774. library_type = #{record.libraryType,jdbcType=VARCHAR}
  775. <if test="_parameter != null" >
  776. <include refid="Update_By_Example_Where_Clause" />
  777. </if>
  778. </update>
  779. <update id="updateByPrimaryKeySelective" parameterType="com.chinaitop.depot.intelligent.basicdata.model.BasicStorehouse" >
  780. update basic_storehouse
  781. <set >
  782. <if test="uuid != null" >
  783. uuid = #{uuid,jdbcType=VARCHAR},
  784. </if>
  785. <if test="depotId != null" >
  786. depot_id = #{depotId,jdbcType=INTEGER},
  787. </if>
  788. <if test="depotName != null" >
  789. depot_name = #{depotName,jdbcType=VARCHAR},
  790. </if>
  791. <if test="orgId != null" >
  792. org_id = #{orgId,jdbcType=INTEGER},
  793. </if>
  794. <if test="orgName != null" >
  795. org_name = #{orgName,jdbcType=VARCHAR},
  796. </if>
  797. <if test="storehouseCode != null" >
  798. storehouse_code = #{storehouseCode,jdbcType=VARCHAR},
  799. </if>
  800. <if test="storehouseName != null" >
  801. storehouse_name = #{storehouseName,jdbcType=VARCHAR},
  802. </if>
  803. <if test="storehouseType != null" >
  804. storehouse_type = #{storehouseType,jdbcType=INTEGER},
  805. </if>
  806. <if test="storehouseTypeMx != null" >
  807. storehouse_type_mx = #{storehouseTypeMx,jdbcType=INTEGER},
  808. </if>
  809. <if test="architectureType != null" >
  810. architecture_type = #{architectureType,jdbcType=VARCHAR},
  811. </if>
  812. <if test="storeImg != null" >
  813. store_img = #{storeImg,jdbcType=VARCHAR},
  814. </if>
  815. <if test="ground != null" >
  816. ground = #{ground,jdbcType=VARCHAR},
  817. </if>
  818. <if test="wall != null" >
  819. wall = #{wall,jdbcType=INTEGER},
  820. </if>
  821. <if test="roof != null" >
  822. roof = #{roof,jdbcType=VARCHAR},
  823. </if>
  824. <if test="house != null" >
  825. house = #{house,jdbcType=VARCHAR},
  826. </if>
  827. <if test="designCapacity != null" >
  828. design_capacity = #{designCapacity,jdbcType=DECIMAL},
  829. </if>
  830. <if test="keepingWay != null" >
  831. keeping_way = #{keepingWay,jdbcType=INTEGER},
  832. </if>
  833. <if test="grainHeigth != null" >
  834. grain_heigth = #{grainHeigth,jdbcType=DECIMAL},
  835. </if>
  836. <if test="storeOutsideLength != null" >
  837. store_outside_length = #{storeOutsideLength,jdbcType=DECIMAL},
  838. </if>
  839. <if test="storeOutsideWidth != null" >
  840. store_outside_width = #{storeOutsideWidth,jdbcType=DECIMAL},
  841. </if>
  842. <if test="storeOutsideHeigth != null" >
  843. store_outside_heigth = #{storeOutsideHeigth,jdbcType=DECIMAL},
  844. </if>
  845. <if test="storeOutsideTopHeigth != null" >
  846. store_outside_top_heigth = #{storeOutsideTopHeigth,jdbcType=DECIMAL},
  847. </if>
  848. <if test="outsideSiloDiameter != null" >
  849. outside_silo_diameter = #{outsideSiloDiameter,jdbcType=DECIMAL},
  850. </if>
  851. <if test="outerWallArea != null" >
  852. outer_wall_area = #{outerWallArea,jdbcType=DECIMAL},
  853. </if>
  854. <if test="deductVolume != null" >
  855. deduct_volume = #{deductVolume,jdbcType=DECIMAL},
  856. </if>
  857. <if test="length != null" >
  858. length = #{length,jdbcType=DECIMAL},
  859. </if>
  860. <if test="width != null" >
  861. width = #{width,jdbcType=DECIMAL},
  862. </if>
  863. <if test="heigth != null" >
  864. heigth = #{heigth,jdbcType=DECIMAL},
  865. </if>
  866. <if test="grainLineHeigth != null" >
  867. grain_line_heigth = #{grainLineHeigth,jdbcType=DECIMAL},
  868. </if>
  869. <if test="siloDiameter != null" >
  870. silo_diameter = #{siloDiameter,jdbcType=DECIMAL},
  871. </if>
  872. <if test="binVolume != null" >
  873. bin_volume = #{binVolume,jdbcType=DECIMAL},
  874. </if>
  875. <if test="grainPileVolume != null" >
  876. grain_pile_volume = #{grainPileVolume,jdbcType=DECIMAL},
  877. </if>
  878. <if test="houseDoorNum != null" >
  879. house_door_num = #{houseDoorNum,jdbcType=INTEGER},
  880. </if>
  881. <if test="houseDootPosition != null" >
  882. house_doot_position = #{houseDootPosition,jdbcType=VARCHAR},
  883. </if>
  884. <if test="houseDoorWidth != null" >
  885. house_door_width = #{houseDoorWidth,jdbcType=DECIMAL},
  886. </if>
  887. <if test="houseDoorHeigth != null" >
  888. house_door_heigth = #{houseDoorHeigth,jdbcType=DECIMAL},
  889. </if>
  890. <if test="drafttype != null" >
  891. draftType = #{drafttype,jdbcType=INTEGER},
  892. </if>
  893. <if test="heatinsulationstepRoof != null" >
  894. heatInsulationStep_roof = #{heatinsulationstepRoof,jdbcType=VARCHAR},
  895. </if>
  896. <if test="heatinsulationstepWindow != null" >
  897. heatInsulationStep_window = #{heatinsulationstepWindow,jdbcType=VARCHAR},
  898. </if>
  899. <if test="actualCapacity != null" >
  900. actual_capacity = #{actualCapacity,jdbcType=DECIMAL},
  901. </if>
  902. <if test="completionDate != null" >
  903. completion_date = #{completionDate,jdbcType=TIMESTAMP},
  904. </if>
  905. <if test="usedate != null" >
  906. useDate = #{usedate,jdbcType=TIMESTAMP},
  907. </if>
  908. <if test="storehouseState != null" >
  909. storehouse_state = #{storehouseState,jdbcType=INTEGER},
  910. </if>
  911. <if test="storeWay != null" >
  912. store_way = #{storeWay,jdbcType=INTEGER},
  913. </if>
  914. <if test="currenttype != null" >
  915. currentType = #{currenttype,jdbcType=INTEGER},
  916. </if>
  917. <if test="dutystoreman != null" >
  918. dutyStoreman = #{dutystoreman,jdbcType=VARCHAR},
  919. </if>
  920. <if test="remark != null" >
  921. remark = #{remark,jdbcType=VARCHAR},
  922. </if>
  923. <if test="createname != null" >
  924. createName = #{createname,jdbcType=VARCHAR},
  925. </if>
  926. <if test="createdate != null" >
  927. createDate = #{createdate,jdbcType=TIMESTAMP},
  928. </if>
  929. <if test="updatename != null" >
  930. updateName = #{updatename,jdbcType=VARCHAR},
  931. </if>
  932. <if test="updatedate != null" >
  933. updateDate = #{updatedate,jdbcType=TIMESTAMP},
  934. </if>
  935. <if test="workingStatus != null" >
  936. working_status = #{workingStatus,jdbcType=INTEGER},
  937. </if>
  938. <if test="delFlag != null" >
  939. del_flag = #{delFlag,jdbcType=INTEGER},
  940. </if>
  941. <if test="libraryType != null" >
  942. library_type = #{libraryType,jdbcType=VARCHAR},
  943. </if>
  944. </set>
  945. where storehouse_id = #{storehouseId,jdbcType=INTEGER}
  946. </update>
  947. <update id="updateByPrimaryKey" parameterType="com.chinaitop.depot.intelligent.basicdata.model.BasicStorehouse" >
  948. update basic_storehouse
  949. set uuid = #{uuid,jdbcType=VARCHAR},
  950. depot_id = #{depotId,jdbcType=INTEGER},
  951. depot_name = #{depotName,jdbcType=VARCHAR},
  952. org_id = #{orgId,jdbcType=INTEGER},
  953. org_name = #{orgName,jdbcType=VARCHAR},
  954. storehouse_code = #{storehouseCode,jdbcType=VARCHAR},
  955. storehouse_name = #{storehouseName,jdbcType=VARCHAR},
  956. storehouse_type = #{storehouseType,jdbcType=INTEGER},
  957. storehouse_type_mx = #{storehouseTypeMx,jdbcType=INTEGER},
  958. architecture_type = #{architectureType,jdbcType=VARCHAR},
  959. store_img = #{storeImg,jdbcType=VARCHAR},
  960. ground = #{ground,jdbcType=VARCHAR},
  961. wall = #{wall,jdbcType=INTEGER},
  962. roof = #{roof,jdbcType=VARCHAR},
  963. house = #{house,jdbcType=VARCHAR},
  964. design_capacity = #{designCapacity,jdbcType=DECIMAL},
  965. keeping_way = #{keepingWay,jdbcType=INTEGER},
  966. grain_heigth = #{grainHeigth,jdbcType=DECIMAL},
  967. store_outside_length = #{storeOutsideLength,jdbcType=DECIMAL},
  968. store_outside_width = #{storeOutsideWidth,jdbcType=DECIMAL},
  969. store_outside_heigth = #{storeOutsideHeigth,jdbcType=DECIMAL},
  970. store_outside_top_heigth = #{storeOutsideTopHeigth,jdbcType=DECIMAL},
  971. outside_silo_diameter = #{outsideSiloDiameter,jdbcType=DECIMAL},
  972. outer_wall_area = #{outerWallArea,jdbcType=DECIMAL},
  973. deduct_volume = #{deductVolume,jdbcType=DECIMAL},
  974. length = #{length,jdbcType=DECIMAL},
  975. width = #{width,jdbcType=DECIMAL},
  976. heigth = #{heigth,jdbcType=DECIMAL},
  977. grain_line_heigth = #{grainLineHeigth,jdbcType=DECIMAL},
  978. silo_diameter = #{siloDiameter,jdbcType=DECIMAL},
  979. bin_volume = #{binVolume,jdbcType=DECIMAL},
  980. grain_pile_volume = #{grainPileVolume,jdbcType=DECIMAL},
  981. house_door_num = #{houseDoorNum,jdbcType=INTEGER},
  982. house_doot_position = #{houseDootPosition,jdbcType=VARCHAR},
  983. house_door_width = #{houseDoorWidth,jdbcType=DECIMAL},
  984. house_door_heigth = #{houseDoorHeigth,jdbcType=DECIMAL},
  985. draftType = #{drafttype,jdbcType=INTEGER},
  986. heatInsulationStep_roof = #{heatinsulationstepRoof,jdbcType=VARCHAR},
  987. heatInsulationStep_window = #{heatinsulationstepWindow,jdbcType=VARCHAR},
  988. actual_capacity = #{actualCapacity,jdbcType=DECIMAL},
  989. completion_date = #{completionDate,jdbcType=TIMESTAMP},
  990. useDate = #{usedate,jdbcType=TIMESTAMP},
  991. storehouse_state = #{storehouseState,jdbcType=INTEGER},
  992. store_way = #{storeWay,jdbcType=INTEGER},
  993. currentType = #{currenttype,jdbcType=INTEGER},
  994. dutyStoreman = #{dutystoreman,jdbcType=VARCHAR},
  995. remark = #{remark,jdbcType=VARCHAR},
  996. createName = #{createname,jdbcType=VARCHAR},
  997. createDate = #{createdate,jdbcType=TIMESTAMP},
  998. updateName = #{updatename,jdbcType=VARCHAR},
  999. updateDate = #{updatedate,jdbcType=TIMESTAMP},
  1000. working_status = #{workingStatus,jdbcType=INTEGER},
  1001. del_flag = #{delFlag,jdbcType=INTEGER},
  1002. library_type = #{libraryType,jdbcType=VARCHAR}
  1003. where storehouse_id = #{storehouseId,jdbcType=INTEGER}
  1004. </update>
  1005. </mapper>