RsRyjbxxfbMapper.xml 22 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590
  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.RsRyjbxxfbMapper">
  4. <resultMap id="BaseResultMap" type="com.ghsc.partybuild.model.RsRyjbxxfb">
  5. <id column="RYBM" jdbcType="VARCHAR" property="rybm" />
  6. <result column="SFZG" jdbcType="DECIMAL" property="sfzg" />
  7. <result column="BZGYY" jdbcType="VARCHAR" property="bzgyy" />
  8. <result column="SFSLDRY" jdbcType="DECIMAL" property="sfsldry" />
  9. <result column="LDRYLXDBM" jdbcType="VARCHAR" property="ldrylxdbm" />
  10. <result column="LDRYLXDMC" jdbcType="VARCHAR" property="ldrylxdmc" />
  11. <result column="NL" jdbcType="DECIMAL" property="nl" />
  12. <result column="LEADTYPE" jdbcType="DECIMAL" property="leadtype" />
  13. <result column="APPLYDATE" jdbcType="DATE" property="applydate" />
  14. <result column="ACTIVEDATE" jdbcType="DATE" property="activedate" />
  15. <result column="PASSDATE" jdbcType="DATE" property="passdate" />
  16. <result column="ISARCHIVE" jdbcType="DECIMAL" property="isarchive" />
  17. <result column="gradeName" jdbcType="VARCHAR" property="gradename" />
  18. <result column="className" jdbcType="VARCHAR" property="classname" />
  19. <result column="enrollmentDate" jdbcType="DATE" property="enrollmentdate" />
  20. <result column="graduateDate" jdbcType="DATE" property="graduatedate" />
  21. <result column="workDate" jdbcType="DATE" property="workdate" />
  22. <result column="mobile" jdbcType="VARCHAR" property="mobile" />
  23. <result column="technologyPosition" jdbcType="VARCHAR" property="technologyposition" />
  24. <result column="trainUser1" jdbcType="VARCHAR" property="trainuser1" />
  25. <result column="trainUser2" jdbcType="VARCHAR" property="trainuser2" />
  26. <result column="isStudent" jdbcType="BIT" property="isstudent" />
  27. <result column="exportDate" jdbcType="DATE" property="exportdate" />
  28. <result column="exportPartyName" jdbcType="VARCHAR" property="exportpartyname" />
  29. <result column="applyApproveStatus" jdbcType="INTEGER" property="applyapprovestatus" />
  30. <result column="password" jdbcType="VARCHAR" property="password" />
  31. <result column="applyFileReId" jdbcType="VARCHAR" property="applyfilereid" />
  32. <result column="partyDuesStartMonth" jdbcType="INTEGER" property="partyduesstartmonth" />
  33. <result column="archiveDate" jdbcType="DATE" property="archivedate" />
  34. </resultMap>
  35. <sql id="Example_Where_Clause">
  36. <where>
  37. <foreach collection="oredCriteria" item="criteria" separator="or">
  38. <if test="criteria.valid">
  39. <trim prefix="(" prefixOverrides="and" suffix=")">
  40. <foreach collection="criteria.criteria" item="criterion">
  41. <choose>
  42. <when test="criterion.noValue">
  43. and ${criterion.condition}
  44. </when>
  45. <when test="criterion.singleValue">
  46. and ${criterion.condition} #{criterion.value}
  47. </when>
  48. <when test="criterion.betweenValue">
  49. and ${criterion.condition} #{criterion.value} and #{criterion.secondValue}
  50. </when>
  51. <when test="criterion.listValue">
  52. and ${criterion.condition}
  53. <foreach close=")" collection="criterion.value" item="listItem" open="(" separator=",">
  54. #{listItem}
  55. </foreach>
  56. </when>
  57. </choose>
  58. </foreach>
  59. </trim>
  60. </if>
  61. </foreach>
  62. </where>
  63. </sql>
  64. <sql id="Update_By_Example_Where_Clause">
  65. <where>
  66. <foreach collection="example.oredCriteria" item="criteria" separator="or">
  67. <if test="criteria.valid">
  68. <trim prefix="(" prefixOverrides="and" suffix=")">
  69. <foreach collection="criteria.criteria" item="criterion">
  70. <choose>
  71. <when test="criterion.noValue">
  72. and ${criterion.condition}
  73. </when>
  74. <when test="criterion.singleValue">
  75. and ${criterion.condition} #{criterion.value}
  76. </when>
  77. <when test="criterion.betweenValue">
  78. and ${criterion.condition} #{criterion.value} and #{criterion.secondValue}
  79. </when>
  80. <when test="criterion.listValue">
  81. and ${criterion.condition}
  82. <foreach close=")" collection="criterion.value" item="listItem" open="(" separator=",">
  83. #{listItem}
  84. </foreach>
  85. </when>
  86. </choose>
  87. </foreach>
  88. </trim>
  89. </if>
  90. </foreach>
  91. </where>
  92. </sql>
  93. <sql id="Base_Column_List">
  94. RYBM, SFZG, BZGYY, SFSLDRY, LDRYLXDBM, LDRYLXDMC, NL, LEADTYPE, APPLYDATE, ACTIVEDATE,
  95. PASSDATE, ISARCHIVE, gradeName, className, enrollmentDate, graduateDate, workDate,
  96. mobile, technologyPosition, trainUser1, trainUser2, isStudent, exportDate, exportPartyName,
  97. applyApproveStatus, password, applyFileReId, partyDuesStartMonth, archiveDate
  98. </sql>
  99. <select id="selectByExample" parameterType="com.ghsc.partybuild.model.RsRyjbxxfbExample" resultMap="BaseResultMap">
  100. select
  101. <if test="distinct">
  102. distinct
  103. </if>
  104. <include refid="Base_Column_List" />
  105. from rs_ryjbxxfb
  106. <if test="_parameter != null">
  107. <include refid="Example_Where_Clause" />
  108. </if>
  109. <if test="orderByClause != null">
  110. order by ${orderByClause}
  111. </if>
  112. </select>
  113. <select id="selectByPrimaryKey" parameterType="java.lang.String" resultMap="BaseResultMap">
  114. select
  115. <include refid="Base_Column_List" />
  116. from rs_ryjbxxfb
  117. where RYBM = #{rybm,jdbcType=VARCHAR}
  118. </select>
  119. <delete id="deleteByPrimaryKey" parameterType="java.lang.String">
  120. delete from rs_ryjbxxfb
  121. where RYBM = #{rybm,jdbcType=VARCHAR}
  122. </delete>
  123. <delete id="deleteByExample" parameterType="com.ghsc.partybuild.model.RsRyjbxxfbExample">
  124. delete from rs_ryjbxxfb
  125. <if test="_parameter != null">
  126. <include refid="Example_Where_Clause" />
  127. </if>
  128. </delete>
  129. <insert id="insert" parameterType="com.ghsc.partybuild.model.RsRyjbxxfb">
  130. insert into rs_ryjbxxfb (RYBM, SFZG, BZGYY,
  131. SFSLDRY, LDRYLXDBM, LDRYLXDMC,
  132. NL, LEADTYPE, APPLYDATE,
  133. ACTIVEDATE, PASSDATE, ISARCHIVE,
  134. gradeName, className, enrollmentDate,
  135. graduateDate, workDate, mobile,
  136. technologyPosition, trainUser1, trainUser2,
  137. isStudent, exportDate, exportPartyName,
  138. applyApproveStatus, password, applyFileReId,
  139. partyDuesStartMonth, archiveDate)
  140. values (#{rybm,jdbcType=VARCHAR}, #{sfzg,jdbcType=DECIMAL}, #{bzgyy,jdbcType=VARCHAR},
  141. #{sfsldry,jdbcType=DECIMAL}, #{ldrylxdbm,jdbcType=VARCHAR}, #{ldrylxdmc,jdbcType=VARCHAR},
  142. #{nl,jdbcType=DECIMAL}, #{leadtype,jdbcType=DECIMAL}, #{applydate,jdbcType=DATE},
  143. #{activedate,jdbcType=DATE}, #{passdate,jdbcType=DATE}, #{isarchive,jdbcType=DECIMAL},
  144. #{gradename,jdbcType=VARCHAR}, #{classname,jdbcType=VARCHAR}, #{enrollmentdate,jdbcType=DATE},
  145. #{graduatedate,jdbcType=DATE}, #{workdate,jdbcType=DATE}, #{mobile,jdbcType=VARCHAR},
  146. #{technologyposition,jdbcType=VARCHAR}, #{trainuser1,jdbcType=VARCHAR}, #{trainuser2,jdbcType=VARCHAR},
  147. #{isstudent,jdbcType=BIT}, #{exportdate,jdbcType=DATE}, #{exportpartyname,jdbcType=VARCHAR},
  148. #{applyapprovestatus,jdbcType=INTEGER}, #{password,jdbcType=VARCHAR}, #{applyfilereid,jdbcType=VARCHAR},
  149. #{partyduesstartmonth,jdbcType=INTEGER}, #{archivedate,jdbcType=DATE})
  150. </insert>
  151. <insert id="insertSelective" parameterType="com.ghsc.partybuild.model.RsRyjbxxfb">
  152. insert into rs_ryjbxxfb
  153. <trim prefix="(" suffix=")" suffixOverrides=",">
  154. <if test="rybm != null">
  155. RYBM,
  156. </if>
  157. <if test="sfzg != null">
  158. SFZG,
  159. </if>
  160. <if test="bzgyy != null">
  161. BZGYY,
  162. </if>
  163. <if test="sfsldry != null">
  164. SFSLDRY,
  165. </if>
  166. <if test="ldrylxdbm != null">
  167. LDRYLXDBM,
  168. </if>
  169. <if test="ldrylxdmc != null">
  170. LDRYLXDMC,
  171. </if>
  172. <if test="nl != null">
  173. NL,
  174. </if>
  175. <if test="leadtype != null">
  176. LEADTYPE,
  177. </if>
  178. <if test="applydate != null">
  179. APPLYDATE,
  180. </if>
  181. <if test="activedate != null">
  182. ACTIVEDATE,
  183. </if>
  184. <if test="passdate != null">
  185. PASSDATE,
  186. </if>
  187. <if test="isarchive != null">
  188. ISARCHIVE,
  189. </if>
  190. <if test="gradename != null">
  191. gradeName,
  192. </if>
  193. <if test="classname != null">
  194. className,
  195. </if>
  196. <if test="enrollmentdate != null">
  197. enrollmentDate,
  198. </if>
  199. <if test="graduatedate != null">
  200. graduateDate,
  201. </if>
  202. <if test="workdate != null">
  203. workDate,
  204. </if>
  205. <if test="mobile != null">
  206. mobile,
  207. </if>
  208. <if test="technologyposition != null">
  209. technologyPosition,
  210. </if>
  211. <if test="trainuser1 != null">
  212. trainUser1,
  213. </if>
  214. <if test="trainuser2 != null">
  215. trainUser2,
  216. </if>
  217. <if test="isstudent != null">
  218. isStudent,
  219. </if>
  220. <if test="exportdate != null">
  221. exportDate,
  222. </if>
  223. <if test="exportpartyname != null">
  224. exportPartyName,
  225. </if>
  226. <if test="applyapprovestatus != null">
  227. applyApproveStatus,
  228. </if>
  229. <if test="password != null">
  230. password,
  231. </if>
  232. <if test="applyfilereid != null">
  233. applyFileReId,
  234. </if>
  235. <if test="partyduesstartmonth != null">
  236. partyDuesStartMonth,
  237. </if>
  238. <if test="archivedate != null">
  239. archiveDate,
  240. </if>
  241. </trim>
  242. <trim prefix="values (" suffix=")" suffixOverrides=",">
  243. <if test="rybm != null">
  244. #{rybm,jdbcType=VARCHAR},
  245. </if>
  246. <if test="sfzg != null">
  247. #{sfzg,jdbcType=DECIMAL},
  248. </if>
  249. <if test="bzgyy != null">
  250. #{bzgyy,jdbcType=VARCHAR},
  251. </if>
  252. <if test="sfsldry != null">
  253. #{sfsldry,jdbcType=DECIMAL},
  254. </if>
  255. <if test="ldrylxdbm != null">
  256. #{ldrylxdbm,jdbcType=VARCHAR},
  257. </if>
  258. <if test="ldrylxdmc != null">
  259. #{ldrylxdmc,jdbcType=VARCHAR},
  260. </if>
  261. <if test="nl != null">
  262. #{nl,jdbcType=DECIMAL},
  263. </if>
  264. <if test="leadtype != null">
  265. #{leadtype,jdbcType=DECIMAL},
  266. </if>
  267. <if test="applydate != null">
  268. #{applydate,jdbcType=DATE},
  269. </if>
  270. <if test="activedate != null">
  271. #{activedate,jdbcType=DATE},
  272. </if>
  273. <if test="passdate != null">
  274. #{passdate,jdbcType=DATE},
  275. </if>
  276. <if test="isarchive != null">
  277. #{isarchive,jdbcType=DECIMAL},
  278. </if>
  279. <if test="gradename != null">
  280. #{gradename,jdbcType=VARCHAR},
  281. </if>
  282. <if test="classname != null">
  283. #{classname,jdbcType=VARCHAR},
  284. </if>
  285. <if test="enrollmentdate != null">
  286. #{enrollmentdate,jdbcType=DATE},
  287. </if>
  288. <if test="graduatedate != null">
  289. #{graduatedate,jdbcType=DATE},
  290. </if>
  291. <if test="workdate != null">
  292. #{workdate,jdbcType=DATE},
  293. </if>
  294. <if test="mobile != null">
  295. #{mobile,jdbcType=VARCHAR},
  296. </if>
  297. <if test="technologyposition != null">
  298. #{technologyposition,jdbcType=VARCHAR},
  299. </if>
  300. <if test="trainuser1 != null">
  301. #{trainuser1,jdbcType=VARCHAR},
  302. </if>
  303. <if test="trainuser2 != null">
  304. #{trainuser2,jdbcType=VARCHAR},
  305. </if>
  306. <if test="isstudent != null">
  307. #{isstudent,jdbcType=BIT},
  308. </if>
  309. <if test="exportdate != null">
  310. #{exportdate,jdbcType=DATE},
  311. </if>
  312. <if test="exportpartyname != null">
  313. #{exportpartyname,jdbcType=VARCHAR},
  314. </if>
  315. <if test="applyapprovestatus != null">
  316. #{applyapprovestatus,jdbcType=INTEGER},
  317. </if>
  318. <if test="password != null">
  319. #{password,jdbcType=VARCHAR},
  320. </if>
  321. <if test="applyfilereid != null">
  322. #{applyfilereid,jdbcType=VARCHAR},
  323. </if>
  324. <if test="partyduesstartmonth != null">
  325. #{partyduesstartmonth,jdbcType=INTEGER},
  326. </if>
  327. <if test="archivedate != null">
  328. #{archivedate,jdbcType=DATE},
  329. </if>
  330. </trim>
  331. </insert>
  332. <select id="countByExample" parameterType="com.ghsc.partybuild.model.RsRyjbxxfbExample" resultType="java.lang.Long">
  333. select count(*) from rs_ryjbxxfb
  334. <if test="_parameter != null">
  335. <include refid="Example_Where_Clause" />
  336. </if>
  337. </select>
  338. <update id="updateByExampleSelective" parameterType="map">
  339. update rs_ryjbxxfb
  340. <set>
  341. <if test="record.rybm != null">
  342. RYBM = #{record.rybm,jdbcType=VARCHAR},
  343. </if>
  344. <if test="record.sfzg != null">
  345. SFZG = #{record.sfzg,jdbcType=DECIMAL},
  346. </if>
  347. <if test="record.bzgyy != null">
  348. BZGYY = #{record.bzgyy,jdbcType=VARCHAR},
  349. </if>
  350. <if test="record.sfsldry != null">
  351. SFSLDRY = #{record.sfsldry,jdbcType=DECIMAL},
  352. </if>
  353. <if test="record.ldrylxdbm != null">
  354. LDRYLXDBM = #{record.ldrylxdbm,jdbcType=VARCHAR},
  355. </if>
  356. <if test="record.ldrylxdmc != null">
  357. LDRYLXDMC = #{record.ldrylxdmc,jdbcType=VARCHAR},
  358. </if>
  359. <if test="record.nl != null">
  360. NL = #{record.nl,jdbcType=DECIMAL},
  361. </if>
  362. <if test="record.leadtype != null">
  363. LEADTYPE = #{record.leadtype,jdbcType=DECIMAL},
  364. </if>
  365. <if test="record.applydate != null">
  366. APPLYDATE = #{record.applydate,jdbcType=DATE},
  367. </if>
  368. <if test="record.activedate != null">
  369. ACTIVEDATE = #{record.activedate,jdbcType=DATE},
  370. </if>
  371. <if test="record.passdate != null">
  372. PASSDATE = #{record.passdate,jdbcType=DATE},
  373. </if>
  374. <if test="record.isarchive != null">
  375. ISARCHIVE = #{record.isarchive,jdbcType=DECIMAL},
  376. </if>
  377. <if test="record.gradename != null">
  378. gradeName = #{record.gradename,jdbcType=VARCHAR},
  379. </if>
  380. <if test="record.classname != null">
  381. className = #{record.classname,jdbcType=VARCHAR},
  382. </if>
  383. <if test="record.enrollmentdate != null">
  384. enrollmentDate = #{record.enrollmentdate,jdbcType=DATE},
  385. </if>
  386. <if test="record.graduatedate != null">
  387. graduateDate = #{record.graduatedate,jdbcType=DATE},
  388. </if>
  389. <if test="record.workdate != null">
  390. workDate = #{record.workdate,jdbcType=DATE},
  391. </if>
  392. <if test="record.mobile != null">
  393. mobile = #{record.mobile,jdbcType=VARCHAR},
  394. </if>
  395. <if test="record.technologyposition != null">
  396. technologyPosition = #{record.technologyposition,jdbcType=VARCHAR},
  397. </if>
  398. <if test="record.trainuser1 != null">
  399. trainUser1 = #{record.trainuser1,jdbcType=VARCHAR},
  400. </if>
  401. <if test="record.trainuser2 != null">
  402. trainUser2 = #{record.trainuser2,jdbcType=VARCHAR},
  403. </if>
  404. <if test="record.isstudent != null">
  405. isStudent = #{record.isstudent,jdbcType=BIT},
  406. </if>
  407. <if test="record.exportdate != null">
  408. exportDate = #{record.exportdate,jdbcType=DATE},
  409. </if>
  410. <if test="record.exportpartyname != null">
  411. exportPartyName = #{record.exportpartyname,jdbcType=VARCHAR},
  412. </if>
  413. <if test="record.applyapprovestatus != null">
  414. applyApproveStatus = #{record.applyapprovestatus,jdbcType=INTEGER},
  415. </if>
  416. <if test="record.password != null">
  417. password = #{record.password,jdbcType=VARCHAR},
  418. </if>
  419. <if test="record.applyfilereid != null">
  420. applyFileReId = #{record.applyfilereid,jdbcType=VARCHAR},
  421. </if>
  422. <if test="record.partyduesstartmonth != null">
  423. partyDuesStartMonth = #{record.partyduesstartmonth,jdbcType=INTEGER},
  424. </if>
  425. <if test="record.archivedate != null">
  426. archiveDate = #{record.archivedate,jdbcType=DATE},
  427. </if>
  428. </set>
  429. <if test="_parameter != null">
  430. <include refid="Update_By_Example_Where_Clause" />
  431. </if>
  432. </update>
  433. <update id="updateByExample" parameterType="map">
  434. update rs_ryjbxxfb
  435. set RYBM = #{record.rybm,jdbcType=VARCHAR},
  436. SFZG = #{record.sfzg,jdbcType=DECIMAL},
  437. BZGYY = #{record.bzgyy,jdbcType=VARCHAR},
  438. SFSLDRY = #{record.sfsldry,jdbcType=DECIMAL},
  439. LDRYLXDBM = #{record.ldrylxdbm,jdbcType=VARCHAR},
  440. LDRYLXDMC = #{record.ldrylxdmc,jdbcType=VARCHAR},
  441. NL = #{record.nl,jdbcType=DECIMAL},
  442. LEADTYPE = #{record.leadtype,jdbcType=DECIMAL},
  443. APPLYDATE = #{record.applydate,jdbcType=DATE},
  444. ACTIVEDATE = #{record.activedate,jdbcType=DATE},
  445. PASSDATE = #{record.passdate,jdbcType=DATE},
  446. ISARCHIVE = #{record.isarchive,jdbcType=DECIMAL},
  447. gradeName = #{record.gradename,jdbcType=VARCHAR},
  448. className = #{record.classname,jdbcType=VARCHAR},
  449. enrollmentDate = #{record.enrollmentdate,jdbcType=DATE},
  450. graduateDate = #{record.graduatedate,jdbcType=DATE},
  451. workDate = #{record.workdate,jdbcType=DATE},
  452. mobile = #{record.mobile,jdbcType=VARCHAR},
  453. technologyPosition = #{record.technologyposition,jdbcType=VARCHAR},
  454. trainUser1 = #{record.trainuser1,jdbcType=VARCHAR},
  455. trainUser2 = #{record.trainuser2,jdbcType=VARCHAR},
  456. isStudent = #{record.isstudent,jdbcType=BIT},
  457. exportDate = #{record.exportdate,jdbcType=DATE},
  458. exportPartyName = #{record.exportpartyname,jdbcType=VARCHAR},
  459. applyApproveStatus = #{record.applyapprovestatus,jdbcType=INTEGER},
  460. password = #{record.password,jdbcType=VARCHAR},
  461. applyFileReId = #{record.applyfilereid,jdbcType=VARCHAR},
  462. partyDuesStartMonth = #{record.partyduesstartmonth,jdbcType=INTEGER},
  463. archiveDate = #{record.archivedate,jdbcType=DATE}
  464. <if test="_parameter != null">
  465. <include refid="Update_By_Example_Where_Clause" />
  466. </if>
  467. </update>
  468. <update id="updateByPrimaryKeySelective" parameterType="com.ghsc.partybuild.model.RsRyjbxxfb">
  469. update rs_ryjbxxfb
  470. <set>
  471. <if test="sfzg != null">
  472. SFZG = #{sfzg,jdbcType=DECIMAL},
  473. </if>
  474. <if test="bzgyy != null">
  475. BZGYY = #{bzgyy,jdbcType=VARCHAR},
  476. </if>
  477. <if test="sfsldry != null">
  478. SFSLDRY = #{sfsldry,jdbcType=DECIMAL},
  479. </if>
  480. <if test="ldrylxdbm != null">
  481. LDRYLXDBM = #{ldrylxdbm,jdbcType=VARCHAR},
  482. </if>
  483. <if test="ldrylxdmc != null">
  484. LDRYLXDMC = #{ldrylxdmc,jdbcType=VARCHAR},
  485. </if>
  486. <if test="nl != null">
  487. NL = #{nl,jdbcType=DECIMAL},
  488. </if>
  489. <if test="leadtype != null">
  490. LEADTYPE = #{leadtype,jdbcType=DECIMAL},
  491. </if>
  492. <if test="applydate != null">
  493. APPLYDATE = #{applydate,jdbcType=DATE},
  494. </if>
  495. <if test="activedate != null">
  496. ACTIVEDATE = #{activedate,jdbcType=DATE},
  497. </if>
  498. <if test="passdate != null">
  499. PASSDATE = #{passdate,jdbcType=DATE},
  500. </if>
  501. <if test="isarchive != null">
  502. ISARCHIVE = #{isarchive,jdbcType=DECIMAL},
  503. </if>
  504. <if test="gradename != null">
  505. gradeName = #{gradename,jdbcType=VARCHAR},
  506. </if>
  507. <if test="classname != null">
  508. className = #{classname,jdbcType=VARCHAR},
  509. </if>
  510. <if test="enrollmentdate != null">
  511. enrollmentDate = #{enrollmentdate,jdbcType=DATE},
  512. </if>
  513. <if test="graduatedate != null">
  514. graduateDate = #{graduatedate,jdbcType=DATE},
  515. </if>
  516. <if test="workdate != null">
  517. workDate = #{workdate,jdbcType=DATE},
  518. </if>
  519. <if test="mobile != null">
  520. mobile = #{mobile,jdbcType=VARCHAR},
  521. </if>
  522. <if test="technologyposition != null">
  523. technologyPosition = #{technologyposition,jdbcType=VARCHAR},
  524. </if>
  525. <if test="trainuser1 != null">
  526. trainUser1 = #{trainuser1,jdbcType=VARCHAR},
  527. </if>
  528. <if test="trainuser2 != null">
  529. trainUser2 = #{trainuser2,jdbcType=VARCHAR},
  530. </if>
  531. <if test="isstudent != null">
  532. isStudent = #{isstudent,jdbcType=BIT},
  533. </if>
  534. <if test="exportdate != null">
  535. exportDate = #{exportdate,jdbcType=DATE},
  536. </if>
  537. <if test="exportpartyname != null">
  538. exportPartyName = #{exportpartyname,jdbcType=VARCHAR},
  539. </if>
  540. <if test="applyapprovestatus != null">
  541. applyApproveStatus = #{applyapprovestatus,jdbcType=INTEGER},
  542. </if>
  543. <if test="password != null">
  544. password = #{password,jdbcType=VARCHAR},
  545. </if>
  546. <if test="applyfilereid != null">
  547. applyFileReId = #{applyfilereid,jdbcType=VARCHAR},
  548. </if>
  549. <if test="partyduesstartmonth != null">
  550. partyDuesStartMonth = #{partyduesstartmonth,jdbcType=INTEGER},
  551. </if>
  552. <if test="archivedate != null">
  553. archiveDate = #{archivedate,jdbcType=DATE},
  554. </if>
  555. </set>
  556. where RYBM = #{rybm,jdbcType=VARCHAR}
  557. </update>
  558. <update id="updateByPrimaryKey" parameterType="com.ghsc.partybuild.model.RsRyjbxxfb">
  559. update rs_ryjbxxfb
  560. set SFZG = #{sfzg,jdbcType=DECIMAL},
  561. BZGYY = #{bzgyy,jdbcType=VARCHAR},
  562. SFSLDRY = #{sfsldry,jdbcType=DECIMAL},
  563. LDRYLXDBM = #{ldrylxdbm,jdbcType=VARCHAR},
  564. LDRYLXDMC = #{ldrylxdmc,jdbcType=VARCHAR},
  565. NL = #{nl,jdbcType=DECIMAL},
  566. LEADTYPE = #{leadtype,jdbcType=DECIMAL},
  567. APPLYDATE = #{applydate,jdbcType=DATE},
  568. ACTIVEDATE = #{activedate,jdbcType=DATE},
  569. PASSDATE = #{passdate,jdbcType=DATE},
  570. ISARCHIVE = #{isarchive,jdbcType=DECIMAL},
  571. gradeName = #{gradename,jdbcType=VARCHAR},
  572. className = #{classname,jdbcType=VARCHAR},
  573. enrollmentDate = #{enrollmentdate,jdbcType=DATE},
  574. graduateDate = #{graduatedate,jdbcType=DATE},
  575. workDate = #{workdate,jdbcType=DATE},
  576. mobile = #{mobile,jdbcType=VARCHAR},
  577. technologyPosition = #{technologyposition,jdbcType=VARCHAR},
  578. trainUser1 = #{trainuser1,jdbcType=VARCHAR},
  579. trainUser2 = #{trainuser2,jdbcType=VARCHAR},
  580. isStudent = #{isstudent,jdbcType=BIT},
  581. exportDate = #{exportdate,jdbcType=DATE},
  582. exportPartyName = #{exportpartyname,jdbcType=VARCHAR},
  583. applyApproveStatus = #{applyapprovestatus,jdbcType=INTEGER},
  584. password = #{password,jdbcType=VARCHAR},
  585. applyFileReId = #{applyfilereid,jdbcType=VARCHAR},
  586. partyDuesStartMonth = #{partyduesstartmonth,jdbcType=INTEGER},
  587. archiveDate = #{archivedate,jdbcType=DATE}
  588. where RYBM = #{rybm,jdbcType=VARCHAR}
  589. </update>
  590. </mapper>