LwLeaderteamMapper.xml 32 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771
  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.ghsc.partybuild.mapper.LwLeaderteamMapper">
  4. <resultMap id="BaseResultMap" type="com.ghsc.partybuild.model.LwLeaderteam">
  5. <id column="leaderTeamId" jdbcType="VARCHAR" property="leaderteamid" />
  6. <result column="name" jdbcType="VARCHAR" property="name" />
  7. <result column="no" jdbcType="VARCHAR" property="no" />
  8. <result column="leaderTeamType" jdbcType="INTEGER" property="leaderteamtype" />
  9. <result column="sex" jdbcType="INTEGER" property="sex" />
  10. <result column="birthDate" jdbcType="DATE" property="birthdate" />
  11. <result column="nativePlace" jdbcType="VARCHAR" property="nativeplace" />
  12. <result column="politicsStatus" jdbcType="INTEGER" property="politicsstatus" />
  13. <result column="departmentName" jdbcType="VARCHAR" property="departmentname" />
  14. <result column="position" jdbcType="VARCHAR" property="position" />
  15. <result column="positionLevel" jdbcType="INTEGER" property="positionlevel" />
  16. <result column="nowPositionDate" jdbcType="DATE" property="nowpositiondate" />
  17. <result column="samePositionDate" jdbcType="DATE" property="samepositiondate" />
  18. <result column="joinDate" jdbcType="DATE" property="joindate" />
  19. <result column="workDate" jdbcType="DATE" property="workdate" />
  20. <result column="educationType" jdbcType="INTEGER" property="educationtype" />
  21. <result column="qualificationType" jdbcType="INTEGER" property="qualificationtype" />
  22. <result column="professionalType" jdbcType="INTEGER" property="professionaltype" />
  23. <result column="undergraduateProfessional" jdbcType="VARCHAR" property="undergraduateprofessional" />
  24. <result column="masterProfessional" jdbcType="VARCHAR" property="masterprofessional" />
  25. <result column="remark" jdbcType="VARCHAR" property="remark" />
  26. <result column="createTime" jdbcType="TIMESTAMP" property="createtime" />
  27. <result column="createUserId" jdbcType="VARCHAR" property="createuserid" />
  28. <result column="updateTime" jdbcType="TIMESTAMP" property="updatetime" />
  29. <result column="updateUserId" jdbcType="VARCHAR" property="updateuserid" />
  30. <result column="jobTitle" jdbcType="VARCHAR" property="jobtitle" />
  31. <result column="birthplace" jdbcType="VARCHAR" property="birthplace" />
  32. <result column="graduationSchoolMajor" jdbcType="VARCHAR" property="graduationschoolmajor" />
  33. <result column="inJobEducationType" jdbcType="INTEGER" property="injobeducationtype" />
  34. <result column="inJobQualificationType" jdbcType="INTEGER" property="injobqualificationtype" />
  35. <result column="inJobGraduationSchoolMajor" jdbcType="VARCHAR" property="injobgraduationschoolmajor" />
  36. <result column="party" jdbcType="VARCHAR" property="party" />
  37. <result column="engageDate" jdbcType="DATE" property="engagedate" />
  38. </resultMap>
  39. <resultMap extends="BaseResultMap" id="ResultMapWithBLOBs" type="com.ghsc.partybuild.model.LwLeaderteam">
  40. <result column="workExperience" jdbcType="LONGVARCHAR" property="workexperience" />
  41. </resultMap>
  42. <sql id="Example_Where_Clause">
  43. <where>
  44. <foreach collection="oredCriteria" item="criteria" separator="or">
  45. <if test="criteria.valid">
  46. <trim prefix="(" prefixOverrides="and" suffix=")">
  47. <foreach collection="criteria.criteria" item="criterion">
  48. <choose>
  49. <when test="criterion.noValue">
  50. and ${criterion.condition}
  51. </when>
  52. <when test="criterion.singleValue">
  53. and ${criterion.condition} #{criterion.value}
  54. </when>
  55. <when test="criterion.betweenValue">
  56. and ${criterion.condition} #{criterion.value} and #{criterion.secondValue}
  57. </when>
  58. <when test="criterion.listValue">
  59. and ${criterion.condition}
  60. <foreach close=")" collection="criterion.value" item="listItem" open="(" separator=",">
  61. #{listItem}
  62. </foreach>
  63. </when>
  64. </choose>
  65. </foreach>
  66. </trim>
  67. </if>
  68. </foreach>
  69. </where>
  70. </sql>
  71. <sql id="Update_By_Example_Where_Clause">
  72. <where>
  73. <foreach collection="example.oredCriteria" item="criteria" separator="or">
  74. <if test="criteria.valid">
  75. <trim prefix="(" prefixOverrides="and" suffix=")">
  76. <foreach collection="criteria.criteria" item="criterion">
  77. <choose>
  78. <when test="criterion.noValue">
  79. and ${criterion.condition}
  80. </when>
  81. <when test="criterion.singleValue">
  82. and ${criterion.condition} #{criterion.value}
  83. </when>
  84. <when test="criterion.betweenValue">
  85. and ${criterion.condition} #{criterion.value} and #{criterion.secondValue}
  86. </when>
  87. <when test="criterion.listValue">
  88. and ${criterion.condition}
  89. <foreach close=")" collection="criterion.value" item="listItem" open="(" separator=",">
  90. #{listItem}
  91. </foreach>
  92. </when>
  93. </choose>
  94. </foreach>
  95. </trim>
  96. </if>
  97. </foreach>
  98. </where>
  99. </sql>
  100. <sql id="Base_Column_List">
  101. leaderTeamId, name, no, leaderTeamType, sex, birthDate, nativePlace, politicsStatus,
  102. departmentName, position, positionLevel, nowPositionDate, samePositionDate, joinDate,
  103. workDate, educationType, qualificationType, professionalType, undergraduateProfessional,
  104. masterProfessional, remark, createTime, createUserId, updateTime, updateUserId, jobTitle,
  105. birthplace, graduationSchoolMajor, inJobEducationType, inJobQualificationType, inJobGraduationSchoolMajor,
  106. party, engageDate
  107. </sql>
  108. <sql id="Blob_Column_List">
  109. workExperience
  110. </sql>
  111. <select id="selectByExampleWithBLOBs" parameterType="com.ghsc.partybuild.model.LwLeaderteamExample" resultMap="ResultMapWithBLOBs">
  112. select
  113. <if test="distinct">
  114. distinct
  115. </if>
  116. <include refid="Base_Column_List" />
  117. ,
  118. <include refid="Blob_Column_List" />
  119. from lw_leaderteam
  120. <if test="_parameter != null">
  121. <include refid="Example_Where_Clause" />
  122. </if>
  123. <if test="orderByClause != null">
  124. order by ${orderByClause}
  125. </if>
  126. </select>
  127. <select id="selectByExample" parameterType="com.ghsc.partybuild.model.LwLeaderteamExample" resultMap="BaseResultMap">
  128. select
  129. <if test="distinct">
  130. distinct
  131. </if>
  132. <include refid="Base_Column_List" />
  133. from lw_leaderteam
  134. <if test="_parameter != null">
  135. <include refid="Example_Where_Clause" />
  136. </if>
  137. <if test="orderByClause != null">
  138. order by ${orderByClause}
  139. </if>
  140. </select>
  141. <select id="selectByPrimaryKey" parameterType="java.lang.String" resultMap="ResultMapWithBLOBs">
  142. select
  143. <include refid="Base_Column_List" />
  144. ,
  145. <include refid="Blob_Column_List" />
  146. from lw_leaderteam
  147. where leaderTeamId = #{leaderteamid,jdbcType=VARCHAR}
  148. </select>
  149. <delete id="deleteByPrimaryKey" parameterType="java.lang.String">
  150. delete from lw_leaderteam
  151. where leaderTeamId = #{leaderteamid,jdbcType=VARCHAR}
  152. </delete>
  153. <delete id="deleteByExample" parameterType="com.ghsc.partybuild.model.LwLeaderteamExample">
  154. delete from lw_leaderteam
  155. <if test="_parameter != null">
  156. <include refid="Example_Where_Clause" />
  157. </if>
  158. </delete>
  159. <insert id="insert" parameterType="com.ghsc.partybuild.model.LwLeaderteam">
  160. insert into lw_leaderteam (leaderTeamId, name, no,
  161. leaderTeamType, sex, birthDate,
  162. nativePlace, politicsStatus, departmentName,
  163. position, positionLevel, nowPositionDate,
  164. samePositionDate, joinDate, workDate,
  165. educationType, qualificationType, professionalType,
  166. undergraduateProfessional, masterProfessional,
  167. remark, createTime, createUserId,
  168. updateTime, updateUserId, jobTitle,
  169. birthplace, graduationSchoolMajor, inJobEducationType,
  170. inJobQualificationType, inJobGraduationSchoolMajor,
  171. party, engageDate, workExperience
  172. )
  173. values (#{leaderteamid,jdbcType=VARCHAR}, #{name,jdbcType=VARCHAR}, #{no,jdbcType=VARCHAR},
  174. #{leaderteamtype,jdbcType=INTEGER}, #{sex,jdbcType=INTEGER}, #{birthdate,jdbcType=DATE},
  175. #{nativeplace,jdbcType=VARCHAR}, #{politicsstatus,jdbcType=INTEGER}, #{departmentname,jdbcType=VARCHAR},
  176. #{position,jdbcType=VARCHAR}, #{positionlevel,jdbcType=INTEGER}, #{nowpositiondate,jdbcType=DATE},
  177. #{samepositiondate,jdbcType=DATE}, #{joindate,jdbcType=DATE}, #{workdate,jdbcType=DATE},
  178. #{educationtype,jdbcType=INTEGER}, #{qualificationtype,jdbcType=INTEGER}, #{professionaltype,jdbcType=INTEGER},
  179. #{undergraduateprofessional,jdbcType=VARCHAR}, #{masterprofessional,jdbcType=VARCHAR},
  180. #{remark,jdbcType=VARCHAR}, #{createtime,jdbcType=TIMESTAMP}, #{createuserid,jdbcType=VARCHAR},
  181. #{updatetime,jdbcType=TIMESTAMP}, #{updateuserid,jdbcType=VARCHAR}, #{jobtitle,jdbcType=VARCHAR},
  182. #{birthplace,jdbcType=VARCHAR}, #{graduationschoolmajor,jdbcType=VARCHAR}, #{injobeducationtype,jdbcType=INTEGER},
  183. #{injobqualificationtype,jdbcType=INTEGER}, #{injobgraduationschoolmajor,jdbcType=VARCHAR},
  184. #{party,jdbcType=VARCHAR}, #{engagedate,jdbcType=DATE}, #{workexperience,jdbcType=LONGVARCHAR}
  185. )
  186. </insert>
  187. <insert id="insertSelective" parameterType="com.ghsc.partybuild.model.LwLeaderteam">
  188. insert into lw_leaderteam
  189. <trim prefix="(" suffix=")" suffixOverrides=",">
  190. <if test="leaderteamid != null">
  191. leaderTeamId,
  192. </if>
  193. <if test="name != null">
  194. name,
  195. </if>
  196. <if test="no != null">
  197. no,
  198. </if>
  199. <if test="leaderteamtype != null">
  200. leaderTeamType,
  201. </if>
  202. <if test="sex != null">
  203. sex,
  204. </if>
  205. <if test="birthdate != null">
  206. birthDate,
  207. </if>
  208. <if test="nativeplace != null">
  209. nativePlace,
  210. </if>
  211. <if test="politicsstatus != null">
  212. politicsStatus,
  213. </if>
  214. <if test="departmentname != null">
  215. departmentName,
  216. </if>
  217. <if test="position != null">
  218. position,
  219. </if>
  220. <if test="positionlevel != null">
  221. positionLevel,
  222. </if>
  223. <if test="nowpositiondate != null">
  224. nowPositionDate,
  225. </if>
  226. <if test="samepositiondate != null">
  227. samePositionDate,
  228. </if>
  229. <if test="joindate != null">
  230. joinDate,
  231. </if>
  232. <if test="workdate != null">
  233. workDate,
  234. </if>
  235. <if test="educationtype != null">
  236. educationType,
  237. </if>
  238. <if test="qualificationtype != null">
  239. qualificationType,
  240. </if>
  241. <if test="professionaltype != null">
  242. professionalType,
  243. </if>
  244. <if test="undergraduateprofessional != null">
  245. undergraduateProfessional,
  246. </if>
  247. <if test="masterprofessional != null">
  248. masterProfessional,
  249. </if>
  250. <if test="remark != null">
  251. remark,
  252. </if>
  253. <if test="createtime != null">
  254. createTime,
  255. </if>
  256. <if test="createuserid != null">
  257. createUserId,
  258. </if>
  259. <if test="updatetime != null">
  260. updateTime,
  261. </if>
  262. <if test="updateuserid != null">
  263. updateUserId,
  264. </if>
  265. <if test="jobtitle != null">
  266. jobTitle,
  267. </if>
  268. <if test="birthplace != null">
  269. birthplace,
  270. </if>
  271. <if test="graduationschoolmajor != null">
  272. graduationSchoolMajor,
  273. </if>
  274. <if test="injobeducationtype != null">
  275. inJobEducationType,
  276. </if>
  277. <if test="injobqualificationtype != null">
  278. inJobQualificationType,
  279. </if>
  280. <if test="injobgraduationschoolmajor != null">
  281. inJobGraduationSchoolMajor,
  282. </if>
  283. <if test="party != null">
  284. party,
  285. </if>
  286. <if test="engagedate != null">
  287. engageDate,
  288. </if>
  289. <if test="workexperience != null">
  290. workExperience,
  291. </if>
  292. </trim>
  293. <trim prefix="values (" suffix=")" suffixOverrides=",">
  294. <if test="leaderteamid != null">
  295. #{leaderteamid,jdbcType=VARCHAR},
  296. </if>
  297. <if test="name != null">
  298. #{name,jdbcType=VARCHAR},
  299. </if>
  300. <if test="no != null">
  301. #{no,jdbcType=VARCHAR},
  302. </if>
  303. <if test="leaderteamtype != null">
  304. #{leaderteamtype,jdbcType=INTEGER},
  305. </if>
  306. <if test="sex != null">
  307. #{sex,jdbcType=INTEGER},
  308. </if>
  309. <if test="birthdate != null">
  310. #{birthdate,jdbcType=DATE},
  311. </if>
  312. <if test="nativeplace != null">
  313. #{nativeplace,jdbcType=VARCHAR},
  314. </if>
  315. <if test="politicsstatus != null">
  316. #{politicsstatus,jdbcType=INTEGER},
  317. </if>
  318. <if test="departmentname != null">
  319. #{departmentname,jdbcType=VARCHAR},
  320. </if>
  321. <if test="position != null">
  322. #{position,jdbcType=VARCHAR},
  323. </if>
  324. <if test="positionlevel != null">
  325. #{positionlevel,jdbcType=INTEGER},
  326. </if>
  327. <if test="nowpositiondate != null">
  328. #{nowpositiondate,jdbcType=DATE},
  329. </if>
  330. <if test="samepositiondate != null">
  331. #{samepositiondate,jdbcType=DATE},
  332. </if>
  333. <if test="joindate != null">
  334. #{joindate,jdbcType=DATE},
  335. </if>
  336. <if test="workdate != null">
  337. #{workdate,jdbcType=DATE},
  338. </if>
  339. <if test="educationtype != null">
  340. #{educationtype,jdbcType=INTEGER},
  341. </if>
  342. <if test="qualificationtype != null">
  343. #{qualificationtype,jdbcType=INTEGER},
  344. </if>
  345. <if test="professionaltype != null">
  346. #{professionaltype,jdbcType=INTEGER},
  347. </if>
  348. <if test="undergraduateprofessional != null">
  349. #{undergraduateprofessional,jdbcType=VARCHAR},
  350. </if>
  351. <if test="masterprofessional != null">
  352. #{masterprofessional,jdbcType=VARCHAR},
  353. </if>
  354. <if test="remark != null">
  355. #{remark,jdbcType=VARCHAR},
  356. </if>
  357. <if test="createtime != null">
  358. #{createtime,jdbcType=TIMESTAMP},
  359. </if>
  360. <if test="createuserid != null">
  361. #{createuserid,jdbcType=VARCHAR},
  362. </if>
  363. <if test="updatetime != null">
  364. #{updatetime,jdbcType=TIMESTAMP},
  365. </if>
  366. <if test="updateuserid != null">
  367. #{updateuserid,jdbcType=VARCHAR},
  368. </if>
  369. <if test="jobtitle != null">
  370. #{jobtitle,jdbcType=VARCHAR},
  371. </if>
  372. <if test="birthplace != null">
  373. #{birthplace,jdbcType=VARCHAR},
  374. </if>
  375. <if test="graduationschoolmajor != null">
  376. #{graduationschoolmajor,jdbcType=VARCHAR},
  377. </if>
  378. <if test="injobeducationtype != null">
  379. #{injobeducationtype,jdbcType=INTEGER},
  380. </if>
  381. <if test="injobqualificationtype != null">
  382. #{injobqualificationtype,jdbcType=INTEGER},
  383. </if>
  384. <if test="injobgraduationschoolmajor != null">
  385. #{injobgraduationschoolmajor,jdbcType=VARCHAR},
  386. </if>
  387. <if test="party != null">
  388. #{party,jdbcType=VARCHAR},
  389. </if>
  390. <if test="engagedate != null">
  391. #{engagedate,jdbcType=DATE},
  392. </if>
  393. <if test="workexperience != null">
  394. #{workexperience,jdbcType=LONGVARCHAR},
  395. </if>
  396. </trim>
  397. </insert>
  398. <select id="countByExample" parameterType="com.ghsc.partybuild.model.LwLeaderteamExample" resultType="java.lang.Long">
  399. select count(*) from lw_leaderteam
  400. <if test="_parameter != null">
  401. <include refid="Example_Where_Clause" />
  402. </if>
  403. </select>
  404. <update id="updateByExampleSelective" parameterType="map">
  405. update lw_leaderteam
  406. <set>
  407. <if test="record.leaderteamid != null">
  408. leaderTeamId = #{record.leaderteamid,jdbcType=VARCHAR},
  409. </if>
  410. <if test="record.name != null">
  411. name = #{record.name,jdbcType=VARCHAR},
  412. </if>
  413. <if test="record.no != null">
  414. no = #{record.no,jdbcType=VARCHAR},
  415. </if>
  416. <if test="record.leaderteamtype != null">
  417. leaderTeamType = #{record.leaderteamtype,jdbcType=INTEGER},
  418. </if>
  419. <if test="record.sex != null">
  420. sex = #{record.sex,jdbcType=INTEGER},
  421. </if>
  422. <if test="record.birthdate != null">
  423. birthDate = #{record.birthdate,jdbcType=DATE},
  424. </if>
  425. <if test="record.nativeplace != null">
  426. nativePlace = #{record.nativeplace,jdbcType=VARCHAR},
  427. </if>
  428. <if test="record.politicsstatus != null">
  429. politicsStatus = #{record.politicsstatus,jdbcType=INTEGER},
  430. </if>
  431. <if test="record.departmentname != null">
  432. departmentName = #{record.departmentname,jdbcType=VARCHAR},
  433. </if>
  434. <if test="record.position != null">
  435. position = #{record.position,jdbcType=VARCHAR},
  436. </if>
  437. <if test="record.positionlevel != null">
  438. positionLevel = #{record.positionlevel,jdbcType=INTEGER},
  439. </if>
  440. <if test="record.nowpositiondate != null">
  441. nowPositionDate = #{record.nowpositiondate,jdbcType=DATE},
  442. </if>
  443. <if test="record.samepositiondate != null">
  444. samePositionDate = #{record.samepositiondate,jdbcType=DATE},
  445. </if>
  446. <if test="record.joindate != null">
  447. joinDate = #{record.joindate,jdbcType=DATE},
  448. </if>
  449. <if test="record.workdate != null">
  450. workDate = #{record.workdate,jdbcType=DATE},
  451. </if>
  452. <if test="record.educationtype != null">
  453. educationType = #{record.educationtype,jdbcType=INTEGER},
  454. </if>
  455. <if test="record.qualificationtype != null">
  456. qualificationType = #{record.qualificationtype,jdbcType=INTEGER},
  457. </if>
  458. <if test="record.professionaltype != null">
  459. professionalType = #{record.professionaltype,jdbcType=INTEGER},
  460. </if>
  461. <if test="record.undergraduateprofessional != null">
  462. undergraduateProfessional = #{record.undergraduateprofessional,jdbcType=VARCHAR},
  463. </if>
  464. <if test="record.masterprofessional != null">
  465. masterProfessional = #{record.masterprofessional,jdbcType=VARCHAR},
  466. </if>
  467. <if test="record.remark != null">
  468. remark = #{record.remark,jdbcType=VARCHAR},
  469. </if>
  470. <if test="record.createtime != null">
  471. createTime = #{record.createtime,jdbcType=TIMESTAMP},
  472. </if>
  473. <if test="record.createuserid != null">
  474. createUserId = #{record.createuserid,jdbcType=VARCHAR},
  475. </if>
  476. <if test="record.updatetime != null">
  477. updateTime = #{record.updatetime,jdbcType=TIMESTAMP},
  478. </if>
  479. <if test="record.updateuserid != null">
  480. updateUserId = #{record.updateuserid,jdbcType=VARCHAR},
  481. </if>
  482. <if test="record.jobtitle != null">
  483. jobTitle = #{record.jobtitle,jdbcType=VARCHAR},
  484. </if>
  485. <if test="record.birthplace != null">
  486. birthplace = #{record.birthplace,jdbcType=VARCHAR},
  487. </if>
  488. <if test="record.graduationschoolmajor != null">
  489. graduationSchoolMajor = #{record.graduationschoolmajor,jdbcType=VARCHAR},
  490. </if>
  491. <if test="record.injobeducationtype != null">
  492. inJobEducationType = #{record.injobeducationtype,jdbcType=INTEGER},
  493. </if>
  494. <if test="record.injobqualificationtype != null">
  495. inJobQualificationType = #{record.injobqualificationtype,jdbcType=INTEGER},
  496. </if>
  497. <if test="record.injobgraduationschoolmajor != null">
  498. inJobGraduationSchoolMajor = #{record.injobgraduationschoolmajor,jdbcType=VARCHAR},
  499. </if>
  500. <if test="record.party != null">
  501. party = #{record.party,jdbcType=VARCHAR},
  502. </if>
  503. <if test="record.engagedate != null">
  504. engageDate = #{record.engagedate,jdbcType=DATE},
  505. </if>
  506. <if test="record.workexperience != null">
  507. workExperience = #{record.workexperience,jdbcType=LONGVARCHAR},
  508. </if>
  509. </set>
  510. <if test="_parameter != null">
  511. <include refid="Update_By_Example_Where_Clause" />
  512. </if>
  513. </update>
  514. <update id="updateByExampleWithBLOBs" parameterType="map">
  515. update lw_leaderteam
  516. set leaderTeamId = #{record.leaderteamid,jdbcType=VARCHAR},
  517. name = #{record.name,jdbcType=VARCHAR},
  518. no = #{record.no,jdbcType=VARCHAR},
  519. leaderTeamType = #{record.leaderteamtype,jdbcType=INTEGER},
  520. sex = #{record.sex,jdbcType=INTEGER},
  521. birthDate = #{record.birthdate,jdbcType=DATE},
  522. nativePlace = #{record.nativeplace,jdbcType=VARCHAR},
  523. politicsStatus = #{record.politicsstatus,jdbcType=INTEGER},
  524. departmentName = #{record.departmentname,jdbcType=VARCHAR},
  525. position = #{record.position,jdbcType=VARCHAR},
  526. positionLevel = #{record.positionlevel,jdbcType=INTEGER},
  527. nowPositionDate = #{record.nowpositiondate,jdbcType=DATE},
  528. samePositionDate = #{record.samepositiondate,jdbcType=DATE},
  529. joinDate = #{record.joindate,jdbcType=DATE},
  530. workDate = #{record.workdate,jdbcType=DATE},
  531. educationType = #{record.educationtype,jdbcType=INTEGER},
  532. qualificationType = #{record.qualificationtype,jdbcType=INTEGER},
  533. professionalType = #{record.professionaltype,jdbcType=INTEGER},
  534. undergraduateProfessional = #{record.undergraduateprofessional,jdbcType=VARCHAR},
  535. masterProfessional = #{record.masterprofessional,jdbcType=VARCHAR},
  536. remark = #{record.remark,jdbcType=VARCHAR},
  537. createTime = #{record.createtime,jdbcType=TIMESTAMP},
  538. createUserId = #{record.createuserid,jdbcType=VARCHAR},
  539. updateTime = #{record.updatetime,jdbcType=TIMESTAMP},
  540. updateUserId = #{record.updateuserid,jdbcType=VARCHAR},
  541. jobTitle = #{record.jobtitle,jdbcType=VARCHAR},
  542. birthplace = #{record.birthplace,jdbcType=VARCHAR},
  543. graduationSchoolMajor = #{record.graduationschoolmajor,jdbcType=VARCHAR},
  544. inJobEducationType = #{record.injobeducationtype,jdbcType=INTEGER},
  545. inJobQualificationType = #{record.injobqualificationtype,jdbcType=INTEGER},
  546. inJobGraduationSchoolMajor = #{record.injobgraduationschoolmajor,jdbcType=VARCHAR},
  547. party = #{record.party,jdbcType=VARCHAR},
  548. engageDate = #{record.engagedate,jdbcType=DATE},
  549. workExperience = #{record.workexperience,jdbcType=LONGVARCHAR}
  550. <if test="_parameter != null">
  551. <include refid="Update_By_Example_Where_Clause" />
  552. </if>
  553. </update>
  554. <update id="updateByExample" parameterType="map">
  555. update lw_leaderteam
  556. set leaderTeamId = #{record.leaderteamid,jdbcType=VARCHAR},
  557. name = #{record.name,jdbcType=VARCHAR},
  558. no = #{record.no,jdbcType=VARCHAR},
  559. leaderTeamType = #{record.leaderteamtype,jdbcType=INTEGER},
  560. sex = #{record.sex,jdbcType=INTEGER},
  561. birthDate = #{record.birthdate,jdbcType=DATE},
  562. nativePlace = #{record.nativeplace,jdbcType=VARCHAR},
  563. politicsStatus = #{record.politicsstatus,jdbcType=INTEGER},
  564. departmentName = #{record.departmentname,jdbcType=VARCHAR},
  565. position = #{record.position,jdbcType=VARCHAR},
  566. positionLevel = #{record.positionlevel,jdbcType=INTEGER},
  567. nowPositionDate = #{record.nowpositiondate,jdbcType=DATE},
  568. samePositionDate = #{record.samepositiondate,jdbcType=DATE},
  569. joinDate = #{record.joindate,jdbcType=DATE},
  570. workDate = #{record.workdate,jdbcType=DATE},
  571. educationType = #{record.educationtype,jdbcType=INTEGER},
  572. qualificationType = #{record.qualificationtype,jdbcType=INTEGER},
  573. professionalType = #{record.professionaltype,jdbcType=INTEGER},
  574. undergraduateProfessional = #{record.undergraduateprofessional,jdbcType=VARCHAR},
  575. masterProfessional = #{record.masterprofessional,jdbcType=VARCHAR},
  576. remark = #{record.remark,jdbcType=VARCHAR},
  577. createTime = #{record.createtime,jdbcType=TIMESTAMP},
  578. createUserId = #{record.createuserid,jdbcType=VARCHAR},
  579. updateTime = #{record.updatetime,jdbcType=TIMESTAMP},
  580. updateUserId = #{record.updateuserid,jdbcType=VARCHAR},
  581. jobTitle = #{record.jobtitle,jdbcType=VARCHAR},
  582. birthplace = #{record.birthplace,jdbcType=VARCHAR},
  583. graduationSchoolMajor = #{record.graduationschoolmajor,jdbcType=VARCHAR},
  584. inJobEducationType = #{record.injobeducationtype,jdbcType=INTEGER},
  585. inJobQualificationType = #{record.injobqualificationtype,jdbcType=INTEGER},
  586. inJobGraduationSchoolMajor = #{record.injobgraduationschoolmajor,jdbcType=VARCHAR},
  587. party = #{record.party,jdbcType=VARCHAR},
  588. engageDate = #{record.engagedate,jdbcType=DATE}
  589. <if test="_parameter != null">
  590. <include refid="Update_By_Example_Where_Clause" />
  591. </if>
  592. </update>
  593. <update id="updateByPrimaryKeySelective" parameterType="com.ghsc.partybuild.model.LwLeaderteam">
  594. update lw_leaderteam
  595. <set>
  596. <if test="name != null">
  597. name = #{name,jdbcType=VARCHAR},
  598. </if>
  599. <if test="no != null">
  600. no = #{no,jdbcType=VARCHAR},
  601. </if>
  602. <if test="leaderteamtype != null">
  603. leaderTeamType = #{leaderteamtype,jdbcType=INTEGER},
  604. </if>
  605. <if test="sex != null">
  606. sex = #{sex,jdbcType=INTEGER},
  607. </if>
  608. <if test="birthdate != null">
  609. birthDate = #{birthdate,jdbcType=DATE},
  610. </if>
  611. <if test="nativeplace != null">
  612. nativePlace = #{nativeplace,jdbcType=VARCHAR},
  613. </if>
  614. <if test="politicsstatus != null">
  615. politicsStatus = #{politicsstatus,jdbcType=INTEGER},
  616. </if>
  617. <if test="departmentname != null">
  618. departmentName = #{departmentname,jdbcType=VARCHAR},
  619. </if>
  620. <if test="position != null">
  621. position = #{position,jdbcType=VARCHAR},
  622. </if>
  623. <if test="positionlevel != null">
  624. positionLevel = #{positionlevel,jdbcType=INTEGER},
  625. </if>
  626. <if test="nowpositiondate != null">
  627. nowPositionDate = #{nowpositiondate,jdbcType=DATE},
  628. </if>
  629. <if test="samepositiondate != null">
  630. samePositionDate = #{samepositiondate,jdbcType=DATE},
  631. </if>
  632. <if test="joindate != null">
  633. joinDate = #{joindate,jdbcType=DATE},
  634. </if>
  635. <if test="workdate != null">
  636. workDate = #{workdate,jdbcType=DATE},
  637. </if>
  638. <if test="educationtype != null">
  639. educationType = #{educationtype,jdbcType=INTEGER},
  640. </if>
  641. <if test="qualificationtype != null">
  642. qualificationType = #{qualificationtype,jdbcType=INTEGER},
  643. </if>
  644. <if test="professionaltype != null">
  645. professionalType = #{professionaltype,jdbcType=INTEGER},
  646. </if>
  647. <if test="undergraduateprofessional != null">
  648. undergraduateProfessional = #{undergraduateprofessional,jdbcType=VARCHAR},
  649. </if>
  650. <if test="masterprofessional != null">
  651. masterProfessional = #{masterprofessional,jdbcType=VARCHAR},
  652. </if>
  653. <if test="remark != null">
  654. remark = #{remark,jdbcType=VARCHAR},
  655. </if>
  656. <if test="createtime != null">
  657. createTime = #{createtime,jdbcType=TIMESTAMP},
  658. </if>
  659. <if test="createuserid != null">
  660. createUserId = #{createuserid,jdbcType=VARCHAR},
  661. </if>
  662. <if test="updatetime != null">
  663. updateTime = #{updatetime,jdbcType=TIMESTAMP},
  664. </if>
  665. <if test="updateuserid != null">
  666. updateUserId = #{updateuserid,jdbcType=VARCHAR},
  667. </if>
  668. <if test="jobtitle != null">
  669. jobTitle = #{jobtitle,jdbcType=VARCHAR},
  670. </if>
  671. <if test="birthplace != null">
  672. birthplace = #{birthplace,jdbcType=VARCHAR},
  673. </if>
  674. <if test="graduationschoolmajor != null">
  675. graduationSchoolMajor = #{graduationschoolmajor,jdbcType=VARCHAR},
  676. </if>
  677. <if test="injobeducationtype != null">
  678. inJobEducationType = #{injobeducationtype,jdbcType=INTEGER},
  679. </if>
  680. <if test="injobqualificationtype != null">
  681. inJobQualificationType = #{injobqualificationtype,jdbcType=INTEGER},
  682. </if>
  683. <if test="injobgraduationschoolmajor != null">
  684. inJobGraduationSchoolMajor = #{injobgraduationschoolmajor,jdbcType=VARCHAR},
  685. </if>
  686. <if test="party != null">
  687. party = #{party,jdbcType=VARCHAR},
  688. </if>
  689. <if test="engagedate != null">
  690. engageDate = #{engagedate,jdbcType=DATE},
  691. </if>
  692. <if test="workexperience != null">
  693. workExperience = #{workexperience,jdbcType=LONGVARCHAR},
  694. </if>
  695. </set>
  696. where leaderTeamId = #{leaderteamid,jdbcType=VARCHAR}
  697. </update>
  698. <update id="updateByPrimaryKeyWithBLOBs" parameterType="com.ghsc.partybuild.model.LwLeaderteam">
  699. update lw_leaderteam
  700. set name = #{name,jdbcType=VARCHAR},
  701. no = #{no,jdbcType=VARCHAR},
  702. leaderTeamType = #{leaderteamtype,jdbcType=INTEGER},
  703. sex = #{sex,jdbcType=INTEGER},
  704. birthDate = #{birthdate,jdbcType=DATE},
  705. nativePlace = #{nativeplace,jdbcType=VARCHAR},
  706. politicsStatus = #{politicsstatus,jdbcType=INTEGER},
  707. departmentName = #{departmentname,jdbcType=VARCHAR},
  708. position = #{position,jdbcType=VARCHAR},
  709. positionLevel = #{positionlevel,jdbcType=INTEGER},
  710. nowPositionDate = #{nowpositiondate,jdbcType=DATE},
  711. samePositionDate = #{samepositiondate,jdbcType=DATE},
  712. joinDate = #{joindate,jdbcType=DATE},
  713. workDate = #{workdate,jdbcType=DATE},
  714. educationType = #{educationtype,jdbcType=INTEGER},
  715. qualificationType = #{qualificationtype,jdbcType=INTEGER},
  716. professionalType = #{professionaltype,jdbcType=INTEGER},
  717. undergraduateProfessional = #{undergraduateprofessional,jdbcType=VARCHAR},
  718. masterProfessional = #{masterprofessional,jdbcType=VARCHAR},
  719. remark = #{remark,jdbcType=VARCHAR},
  720. createTime = #{createtime,jdbcType=TIMESTAMP},
  721. createUserId = #{createuserid,jdbcType=VARCHAR},
  722. updateTime = #{updatetime,jdbcType=TIMESTAMP},
  723. updateUserId = #{updateuserid,jdbcType=VARCHAR},
  724. jobTitle = #{jobtitle,jdbcType=VARCHAR},
  725. birthplace = #{birthplace,jdbcType=VARCHAR},
  726. graduationSchoolMajor = #{graduationschoolmajor,jdbcType=VARCHAR},
  727. inJobEducationType = #{injobeducationtype,jdbcType=INTEGER},
  728. inJobQualificationType = #{injobqualificationtype,jdbcType=INTEGER},
  729. inJobGraduationSchoolMajor = #{injobgraduationschoolmajor,jdbcType=VARCHAR},
  730. party = #{party,jdbcType=VARCHAR},
  731. engageDate = #{engagedate,jdbcType=DATE},
  732. workExperience = #{workexperience,jdbcType=LONGVARCHAR}
  733. where leaderTeamId = #{leaderteamid,jdbcType=VARCHAR}
  734. </update>
  735. <update id="updateByPrimaryKey" parameterType="com.ghsc.partybuild.model.LwLeaderteam">
  736. update lw_leaderteam
  737. set name = #{name,jdbcType=VARCHAR},
  738. no = #{no,jdbcType=VARCHAR},
  739. leaderTeamType = #{leaderteamtype,jdbcType=INTEGER},
  740. sex = #{sex,jdbcType=INTEGER},
  741. birthDate = #{birthdate,jdbcType=DATE},
  742. nativePlace = #{nativeplace,jdbcType=VARCHAR},
  743. politicsStatus = #{politicsstatus,jdbcType=INTEGER},
  744. departmentName = #{departmentname,jdbcType=VARCHAR},
  745. position = #{position,jdbcType=VARCHAR},
  746. positionLevel = #{positionlevel,jdbcType=INTEGER},
  747. nowPositionDate = #{nowpositiondate,jdbcType=DATE},
  748. samePositionDate = #{samepositiondate,jdbcType=DATE},
  749. joinDate = #{joindate,jdbcType=DATE},
  750. workDate = #{workdate,jdbcType=DATE},
  751. educationType = #{educationtype,jdbcType=INTEGER},
  752. qualificationType = #{qualificationtype,jdbcType=INTEGER},
  753. professionalType = #{professionaltype,jdbcType=INTEGER},
  754. undergraduateProfessional = #{undergraduateprofessional,jdbcType=VARCHAR},
  755. masterProfessional = #{masterprofessional,jdbcType=VARCHAR},
  756. remark = #{remark,jdbcType=VARCHAR},
  757. createTime = #{createtime,jdbcType=TIMESTAMP},
  758. createUserId = #{createuserid,jdbcType=VARCHAR},
  759. updateTime = #{updatetime,jdbcType=TIMESTAMP},
  760. updateUserId = #{updateuserid,jdbcType=VARCHAR},
  761. jobTitle = #{jobtitle,jdbcType=VARCHAR},
  762. birthplace = #{birthplace,jdbcType=VARCHAR},
  763. graduationSchoolMajor = #{graduationschoolmajor,jdbcType=VARCHAR},
  764. inJobEducationType = #{injobeducationtype,jdbcType=INTEGER},
  765. inJobQualificationType = #{injobqualificationtype,jdbcType=INTEGER},
  766. inJobGraduationSchoolMajor = #{injobgraduationschoolmajor,jdbcType=VARCHAR},
  767. party = #{party,jdbcType=VARCHAR},
  768. engageDate = #{engagedate,jdbcType=DATE}
  769. where leaderTeamId = #{leaderteamid,jdbcType=VARCHAR}
  770. </update>
  771. </mapper>