SystemConfigMapper.xml 21 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499
  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.jsh.erp.datasource.mappers.SystemConfigMapper">
  4. <resultMap id="BaseResultMap" type="com.jsh.erp.datasource.entities.SystemConfig">
  5. <id column="id" jdbcType="BIGINT" property="id" />
  6. <result column="company_name" jdbcType="VARCHAR" property="companyName" />
  7. <result column="company_contacts" jdbcType="VARCHAR" property="companyContacts" />
  8. <result column="company_address" jdbcType="VARCHAR" property="companyAddress" />
  9. <result column="company_tel" jdbcType="VARCHAR" property="companyTel" />
  10. <result column="company_fax" jdbcType="VARCHAR" property="companyFax" />
  11. <result column="company_post_code" jdbcType="VARCHAR" property="companyPostCode" />
  12. <result column="sale_agreement" jdbcType="VARCHAR" property="saleAgreement" />
  13. <result column="depot_flag" jdbcType="VARCHAR" property="depotFlag" />
  14. <result column="customer_flag" jdbcType="VARCHAR" property="customerFlag" />
  15. <result column="minus_stock_flag" jdbcType="VARCHAR" property="minusStockFlag" />
  16. <result column="purchase_by_sale_flag" jdbcType="VARCHAR" property="purchaseBySaleFlag" />
  17. <result column="multi_level_approval_flag" jdbcType="VARCHAR" property="multiLevelApprovalFlag" />
  18. <result column="multi_bill_type" jdbcType="VARCHAR" property="multiBillType" />
  19. <result column="force_approval_flag" jdbcType="VARCHAR" property="forceApprovalFlag" />
  20. <result column="update_unit_price_flag" jdbcType="VARCHAR" property="updateUnitPriceFlag" />
  21. <result column="over_link_bill_flag" jdbcType="VARCHAR" property="overLinkBillFlag" />
  22. <result column="in_out_manage_flag" jdbcType="VARCHAR" property="inOutManageFlag" />
  23. <result column="multi_account_flag" jdbcType="VARCHAR" property="multiAccountFlag" />
  24. <result column="move_avg_price_flag" jdbcType="VARCHAR" property="moveAvgPriceFlag" />
  25. <result column="audit_print_flag" jdbcType="VARCHAR" property="auditPrintFlag" />
  26. <result column="tenant_id" jdbcType="BIGINT" property="tenantId" />
  27. <result column="delete_flag" jdbcType="VARCHAR" property="deleteFlag" />
  28. </resultMap>
  29. <sql id="Example_Where_Clause">
  30. <where>
  31. <foreach collection="oredCriteria" item="criteria" separator="or">
  32. <if test="criteria.valid">
  33. <trim prefix="(" prefixOverrides="and" suffix=")">
  34. <foreach collection="criteria.criteria" item="criterion">
  35. <choose>
  36. <when test="criterion.noValue">
  37. and ${criterion.condition}
  38. </when>
  39. <when test="criterion.singleValue">
  40. and ${criterion.condition} #{criterion.value}
  41. </when>
  42. <when test="criterion.betweenValue">
  43. and ${criterion.condition} #{criterion.value} and #{criterion.secondValue}
  44. </when>
  45. <when test="criterion.listValue">
  46. and ${criterion.condition}
  47. <foreach close=")" collection="criterion.value" item="listItem" open="(" separator=",">
  48. #{listItem}
  49. </foreach>
  50. </when>
  51. </choose>
  52. </foreach>
  53. </trim>
  54. </if>
  55. </foreach>
  56. </where>
  57. </sql>
  58. <sql id="Update_By_Example_Where_Clause">
  59. <where>
  60. <foreach collection="example.oredCriteria" item="criteria" separator="or">
  61. <if test="criteria.valid">
  62. <trim prefix="(" prefixOverrides="and" suffix=")">
  63. <foreach collection="criteria.criteria" item="criterion">
  64. <choose>
  65. <when test="criterion.noValue">
  66. and ${criterion.condition}
  67. </when>
  68. <when test="criterion.singleValue">
  69. and ${criterion.condition} #{criterion.value}
  70. </when>
  71. <when test="criterion.betweenValue">
  72. and ${criterion.condition} #{criterion.value} and #{criterion.secondValue}
  73. </when>
  74. <when test="criterion.listValue">
  75. and ${criterion.condition}
  76. <foreach close=")" collection="criterion.value" item="listItem" open="(" separator=",">
  77. #{listItem}
  78. </foreach>
  79. </when>
  80. </choose>
  81. </foreach>
  82. </trim>
  83. </if>
  84. </foreach>
  85. </where>
  86. </sql>
  87. <sql id="Base_Column_List">
  88. id, company_name, company_contacts, company_address, company_tel, company_fax, company_post_code,
  89. sale_agreement, depot_flag, customer_flag, minus_stock_flag, purchase_by_sale_flag,
  90. multi_level_approval_flag, multi_bill_type, force_approval_flag, update_unit_price_flag,
  91. over_link_bill_flag, in_out_manage_flag, multi_account_flag, move_avg_price_flag,
  92. audit_print_flag, tenant_id, delete_flag
  93. </sql>
  94. <select id="selectByExample" parameterType="com.jsh.erp.datasource.entities.SystemConfigExample" resultMap="BaseResultMap">
  95. select
  96. <if test="distinct">
  97. distinct
  98. </if>
  99. <include refid="Base_Column_List" />
  100. from jsh_system_config
  101. <if test="_parameter != null">
  102. <include refid="Example_Where_Clause" />
  103. </if>
  104. <if test="orderByClause != null">
  105. order by ${orderByClause}
  106. </if>
  107. </select>
  108. <select id="selectByPrimaryKey" parameterType="java.lang.Long" resultMap="BaseResultMap">
  109. select
  110. <include refid="Base_Column_List" />
  111. from jsh_system_config
  112. where id = #{id,jdbcType=BIGINT}
  113. </select>
  114. <delete id="deleteByPrimaryKey" parameterType="java.lang.Long">
  115. delete from jsh_system_config
  116. where id = #{id,jdbcType=BIGINT}
  117. </delete>
  118. <delete id="deleteByExample" parameterType="com.jsh.erp.datasource.entities.SystemConfigExample">
  119. delete from jsh_system_config
  120. <if test="_parameter != null">
  121. <include refid="Example_Where_Clause" />
  122. </if>
  123. </delete>
  124. <insert id="insert" parameterType="com.jsh.erp.datasource.entities.SystemConfig">
  125. insert into jsh_system_config (id, company_name, company_contacts,
  126. company_address, company_tel, company_fax,
  127. company_post_code, sale_agreement, depot_flag,
  128. customer_flag, minus_stock_flag, purchase_by_sale_flag,
  129. multi_level_approval_flag, multi_bill_type,
  130. force_approval_flag, update_unit_price_flag,
  131. over_link_bill_flag, in_out_manage_flag, multi_account_flag,
  132. move_avg_price_flag, audit_print_flag, tenant_id,
  133. delete_flag)
  134. values (#{id,jdbcType=BIGINT}, #{companyName,jdbcType=VARCHAR}, #{companyContacts,jdbcType=VARCHAR},
  135. #{companyAddress,jdbcType=VARCHAR}, #{companyTel,jdbcType=VARCHAR}, #{companyFax,jdbcType=VARCHAR},
  136. #{companyPostCode,jdbcType=VARCHAR}, #{saleAgreement,jdbcType=VARCHAR}, #{depotFlag,jdbcType=VARCHAR},
  137. #{customerFlag,jdbcType=VARCHAR}, #{minusStockFlag,jdbcType=VARCHAR}, #{purchaseBySaleFlag,jdbcType=VARCHAR},
  138. #{multiLevelApprovalFlag,jdbcType=VARCHAR}, #{multiBillType,jdbcType=VARCHAR},
  139. #{forceApprovalFlag,jdbcType=VARCHAR}, #{updateUnitPriceFlag,jdbcType=VARCHAR},
  140. #{overLinkBillFlag,jdbcType=VARCHAR}, #{inOutManageFlag,jdbcType=VARCHAR}, #{multiAccountFlag,jdbcType=VARCHAR},
  141. #{moveAvgPriceFlag,jdbcType=VARCHAR}, #{auditPrintFlag,jdbcType=VARCHAR}, #{tenantId,jdbcType=BIGINT},
  142. #{deleteFlag,jdbcType=VARCHAR})
  143. </insert>
  144. <insert id="insertSelective" parameterType="com.jsh.erp.datasource.entities.SystemConfig">
  145. insert into jsh_system_config
  146. <trim prefix="(" suffix=")" suffixOverrides=",">
  147. <if test="id != null">
  148. id,
  149. </if>
  150. <if test="companyName != null">
  151. company_name,
  152. </if>
  153. <if test="companyContacts != null">
  154. company_contacts,
  155. </if>
  156. <if test="companyAddress != null">
  157. company_address,
  158. </if>
  159. <if test="companyTel != null">
  160. company_tel,
  161. </if>
  162. <if test="companyFax != null">
  163. company_fax,
  164. </if>
  165. <if test="companyPostCode != null">
  166. company_post_code,
  167. </if>
  168. <if test="saleAgreement != null">
  169. sale_agreement,
  170. </if>
  171. <if test="depotFlag != null">
  172. depot_flag,
  173. </if>
  174. <if test="customerFlag != null">
  175. customer_flag,
  176. </if>
  177. <if test="minusStockFlag != null">
  178. minus_stock_flag,
  179. </if>
  180. <if test="purchaseBySaleFlag != null">
  181. purchase_by_sale_flag,
  182. </if>
  183. <if test="multiLevelApprovalFlag != null">
  184. multi_level_approval_flag,
  185. </if>
  186. <if test="multiBillType != null">
  187. multi_bill_type,
  188. </if>
  189. <if test="forceApprovalFlag != null">
  190. force_approval_flag,
  191. </if>
  192. <if test="updateUnitPriceFlag != null">
  193. update_unit_price_flag,
  194. </if>
  195. <if test="overLinkBillFlag != null">
  196. over_link_bill_flag,
  197. </if>
  198. <if test="inOutManageFlag != null">
  199. in_out_manage_flag,
  200. </if>
  201. <if test="multiAccountFlag != null">
  202. multi_account_flag,
  203. </if>
  204. <if test="moveAvgPriceFlag != null">
  205. move_avg_price_flag,
  206. </if>
  207. <if test="auditPrintFlag != null">
  208. audit_print_flag,
  209. </if>
  210. <if test="tenantId != null">
  211. tenant_id,
  212. </if>
  213. <if test="deleteFlag != null">
  214. delete_flag,
  215. </if>
  216. </trim>
  217. <trim prefix="values (" suffix=")" suffixOverrides=",">
  218. <if test="id != null">
  219. #{id,jdbcType=BIGINT},
  220. </if>
  221. <if test="companyName != null">
  222. #{companyName,jdbcType=VARCHAR},
  223. </if>
  224. <if test="companyContacts != null">
  225. #{companyContacts,jdbcType=VARCHAR},
  226. </if>
  227. <if test="companyAddress != null">
  228. #{companyAddress,jdbcType=VARCHAR},
  229. </if>
  230. <if test="companyTel != null">
  231. #{companyTel,jdbcType=VARCHAR},
  232. </if>
  233. <if test="companyFax != null">
  234. #{companyFax,jdbcType=VARCHAR},
  235. </if>
  236. <if test="companyPostCode != null">
  237. #{companyPostCode,jdbcType=VARCHAR},
  238. </if>
  239. <if test="saleAgreement != null">
  240. #{saleAgreement,jdbcType=VARCHAR},
  241. </if>
  242. <if test="depotFlag != null">
  243. #{depotFlag,jdbcType=VARCHAR},
  244. </if>
  245. <if test="customerFlag != null">
  246. #{customerFlag,jdbcType=VARCHAR},
  247. </if>
  248. <if test="minusStockFlag != null">
  249. #{minusStockFlag,jdbcType=VARCHAR},
  250. </if>
  251. <if test="purchaseBySaleFlag != null">
  252. #{purchaseBySaleFlag,jdbcType=VARCHAR},
  253. </if>
  254. <if test="multiLevelApprovalFlag != null">
  255. #{multiLevelApprovalFlag,jdbcType=VARCHAR},
  256. </if>
  257. <if test="multiBillType != null">
  258. #{multiBillType,jdbcType=VARCHAR},
  259. </if>
  260. <if test="forceApprovalFlag != null">
  261. #{forceApprovalFlag,jdbcType=VARCHAR},
  262. </if>
  263. <if test="updateUnitPriceFlag != null">
  264. #{updateUnitPriceFlag,jdbcType=VARCHAR},
  265. </if>
  266. <if test="overLinkBillFlag != null">
  267. #{overLinkBillFlag,jdbcType=VARCHAR},
  268. </if>
  269. <if test="inOutManageFlag != null">
  270. #{inOutManageFlag,jdbcType=VARCHAR},
  271. </if>
  272. <if test="multiAccountFlag != null">
  273. #{multiAccountFlag,jdbcType=VARCHAR},
  274. </if>
  275. <if test="moveAvgPriceFlag != null">
  276. #{moveAvgPriceFlag,jdbcType=VARCHAR},
  277. </if>
  278. <if test="auditPrintFlag != null">
  279. #{auditPrintFlag,jdbcType=VARCHAR},
  280. </if>
  281. <if test="tenantId != null">
  282. #{tenantId,jdbcType=BIGINT},
  283. </if>
  284. <if test="deleteFlag != null">
  285. #{deleteFlag,jdbcType=VARCHAR},
  286. </if>
  287. </trim>
  288. </insert>
  289. <select id="countByExample" parameterType="com.jsh.erp.datasource.entities.SystemConfigExample" resultType="java.lang.Long">
  290. select count(*) from jsh_system_config
  291. <if test="_parameter != null">
  292. <include refid="Example_Where_Clause" />
  293. </if>
  294. </select>
  295. <update id="updateByExampleSelective" parameterType="map">
  296. update jsh_system_config
  297. <set>
  298. <if test="record.id != null">
  299. id = #{record.id,jdbcType=BIGINT},
  300. </if>
  301. <if test="record.companyName != null">
  302. company_name = #{record.companyName,jdbcType=VARCHAR},
  303. </if>
  304. <if test="record.companyContacts != null">
  305. company_contacts = #{record.companyContacts,jdbcType=VARCHAR},
  306. </if>
  307. <if test="record.companyAddress != null">
  308. company_address = #{record.companyAddress,jdbcType=VARCHAR},
  309. </if>
  310. <if test="record.companyTel != null">
  311. company_tel = #{record.companyTel,jdbcType=VARCHAR},
  312. </if>
  313. <if test="record.companyFax != null">
  314. company_fax = #{record.companyFax,jdbcType=VARCHAR},
  315. </if>
  316. <if test="record.companyPostCode != null">
  317. company_post_code = #{record.companyPostCode,jdbcType=VARCHAR},
  318. </if>
  319. <if test="record.saleAgreement != null">
  320. sale_agreement = #{record.saleAgreement,jdbcType=VARCHAR},
  321. </if>
  322. <if test="record.depotFlag != null">
  323. depot_flag = #{record.depotFlag,jdbcType=VARCHAR},
  324. </if>
  325. <if test="record.customerFlag != null">
  326. customer_flag = #{record.customerFlag,jdbcType=VARCHAR},
  327. </if>
  328. <if test="record.minusStockFlag != null">
  329. minus_stock_flag = #{record.minusStockFlag,jdbcType=VARCHAR},
  330. </if>
  331. <if test="record.purchaseBySaleFlag != null">
  332. purchase_by_sale_flag = #{record.purchaseBySaleFlag,jdbcType=VARCHAR},
  333. </if>
  334. <if test="record.multiLevelApprovalFlag != null">
  335. multi_level_approval_flag = #{record.multiLevelApprovalFlag,jdbcType=VARCHAR},
  336. </if>
  337. <if test="record.multiBillType != null">
  338. multi_bill_type = #{record.multiBillType,jdbcType=VARCHAR},
  339. </if>
  340. <if test="record.forceApprovalFlag != null">
  341. force_approval_flag = #{record.forceApprovalFlag,jdbcType=VARCHAR},
  342. </if>
  343. <if test="record.updateUnitPriceFlag != null">
  344. update_unit_price_flag = #{record.updateUnitPriceFlag,jdbcType=VARCHAR},
  345. </if>
  346. <if test="record.overLinkBillFlag != null">
  347. over_link_bill_flag = #{record.overLinkBillFlag,jdbcType=VARCHAR},
  348. </if>
  349. <if test="record.inOutManageFlag != null">
  350. in_out_manage_flag = #{record.inOutManageFlag,jdbcType=VARCHAR},
  351. </if>
  352. <if test="record.multiAccountFlag != null">
  353. multi_account_flag = #{record.multiAccountFlag,jdbcType=VARCHAR},
  354. </if>
  355. <if test="record.moveAvgPriceFlag != null">
  356. move_avg_price_flag = #{record.moveAvgPriceFlag,jdbcType=VARCHAR},
  357. </if>
  358. <if test="record.auditPrintFlag != null">
  359. audit_print_flag = #{record.auditPrintFlag,jdbcType=VARCHAR},
  360. </if>
  361. <if test="record.tenantId != null">
  362. tenant_id = #{record.tenantId,jdbcType=BIGINT},
  363. </if>
  364. <if test="record.deleteFlag != null">
  365. delete_flag = #{record.deleteFlag,jdbcType=VARCHAR},
  366. </if>
  367. </set>
  368. <if test="_parameter != null">
  369. <include refid="Update_By_Example_Where_Clause" />
  370. </if>
  371. </update>
  372. <update id="updateByExample" parameterType="map">
  373. update jsh_system_config
  374. set id = #{record.id,jdbcType=BIGINT},
  375. company_name = #{record.companyName,jdbcType=VARCHAR},
  376. company_contacts = #{record.companyContacts,jdbcType=VARCHAR},
  377. company_address = #{record.companyAddress,jdbcType=VARCHAR},
  378. company_tel = #{record.companyTel,jdbcType=VARCHAR},
  379. company_fax = #{record.companyFax,jdbcType=VARCHAR},
  380. company_post_code = #{record.companyPostCode,jdbcType=VARCHAR},
  381. sale_agreement = #{record.saleAgreement,jdbcType=VARCHAR},
  382. depot_flag = #{record.depotFlag,jdbcType=VARCHAR},
  383. customer_flag = #{record.customerFlag,jdbcType=VARCHAR},
  384. minus_stock_flag = #{record.minusStockFlag,jdbcType=VARCHAR},
  385. purchase_by_sale_flag = #{record.purchaseBySaleFlag,jdbcType=VARCHAR},
  386. multi_level_approval_flag = #{record.multiLevelApprovalFlag,jdbcType=VARCHAR},
  387. multi_bill_type = #{record.multiBillType,jdbcType=VARCHAR},
  388. force_approval_flag = #{record.forceApprovalFlag,jdbcType=VARCHAR},
  389. update_unit_price_flag = #{record.updateUnitPriceFlag,jdbcType=VARCHAR},
  390. over_link_bill_flag = #{record.overLinkBillFlag,jdbcType=VARCHAR},
  391. in_out_manage_flag = #{record.inOutManageFlag,jdbcType=VARCHAR},
  392. multi_account_flag = #{record.multiAccountFlag,jdbcType=VARCHAR},
  393. move_avg_price_flag = #{record.moveAvgPriceFlag,jdbcType=VARCHAR},
  394. audit_print_flag = #{record.auditPrintFlag,jdbcType=VARCHAR},
  395. tenant_id = #{record.tenantId,jdbcType=BIGINT},
  396. delete_flag = #{record.deleteFlag,jdbcType=VARCHAR}
  397. <if test="_parameter != null">
  398. <include refid="Update_By_Example_Where_Clause" />
  399. </if>
  400. </update>
  401. <update id="updateByPrimaryKeySelective" parameterType="com.jsh.erp.datasource.entities.SystemConfig">
  402. update jsh_system_config
  403. <set>
  404. <if test="companyName != null">
  405. company_name = #{companyName,jdbcType=VARCHAR},
  406. </if>
  407. <if test="companyContacts != null">
  408. company_contacts = #{companyContacts,jdbcType=VARCHAR},
  409. </if>
  410. <if test="companyAddress != null">
  411. company_address = #{companyAddress,jdbcType=VARCHAR},
  412. </if>
  413. <if test="companyTel != null">
  414. company_tel = #{companyTel,jdbcType=VARCHAR},
  415. </if>
  416. <if test="companyFax != null">
  417. company_fax = #{companyFax,jdbcType=VARCHAR},
  418. </if>
  419. <if test="companyPostCode != null">
  420. company_post_code = #{companyPostCode,jdbcType=VARCHAR},
  421. </if>
  422. <if test="saleAgreement != null">
  423. sale_agreement = #{saleAgreement,jdbcType=VARCHAR},
  424. </if>
  425. <if test="depotFlag != null">
  426. depot_flag = #{depotFlag,jdbcType=VARCHAR},
  427. </if>
  428. <if test="customerFlag != null">
  429. customer_flag = #{customerFlag,jdbcType=VARCHAR},
  430. </if>
  431. <if test="minusStockFlag != null">
  432. minus_stock_flag = #{minusStockFlag,jdbcType=VARCHAR},
  433. </if>
  434. <if test="purchaseBySaleFlag != null">
  435. purchase_by_sale_flag = #{purchaseBySaleFlag,jdbcType=VARCHAR},
  436. </if>
  437. <if test="multiLevelApprovalFlag != null">
  438. multi_level_approval_flag = #{multiLevelApprovalFlag,jdbcType=VARCHAR},
  439. </if>
  440. <if test="multiBillType != null">
  441. multi_bill_type = #{multiBillType,jdbcType=VARCHAR},
  442. </if>
  443. <if test="forceApprovalFlag != null">
  444. force_approval_flag = #{forceApprovalFlag,jdbcType=VARCHAR},
  445. </if>
  446. <if test="updateUnitPriceFlag != null">
  447. update_unit_price_flag = #{updateUnitPriceFlag,jdbcType=VARCHAR},
  448. </if>
  449. <if test="overLinkBillFlag != null">
  450. over_link_bill_flag = #{overLinkBillFlag,jdbcType=VARCHAR},
  451. </if>
  452. <if test="inOutManageFlag != null">
  453. in_out_manage_flag = #{inOutManageFlag,jdbcType=VARCHAR},
  454. </if>
  455. <if test="multiAccountFlag != null">
  456. multi_account_flag = #{multiAccountFlag,jdbcType=VARCHAR},
  457. </if>
  458. <if test="moveAvgPriceFlag != null">
  459. move_avg_price_flag = #{moveAvgPriceFlag,jdbcType=VARCHAR},
  460. </if>
  461. <if test="auditPrintFlag != null">
  462. audit_print_flag = #{auditPrintFlag,jdbcType=VARCHAR},
  463. </if>
  464. <if test="tenantId != null">
  465. tenant_id = #{tenantId,jdbcType=BIGINT},
  466. </if>
  467. <if test="deleteFlag != null">
  468. delete_flag = #{deleteFlag,jdbcType=VARCHAR},
  469. </if>
  470. </set>
  471. where id = #{id,jdbcType=BIGINT}
  472. </update>
  473. <update id="updateByPrimaryKey" parameterType="com.jsh.erp.datasource.entities.SystemConfig">
  474. update jsh_system_config
  475. set company_name = #{companyName,jdbcType=VARCHAR},
  476. company_contacts = #{companyContacts,jdbcType=VARCHAR},
  477. company_address = #{companyAddress,jdbcType=VARCHAR},
  478. company_tel = #{companyTel,jdbcType=VARCHAR},
  479. company_fax = #{companyFax,jdbcType=VARCHAR},
  480. company_post_code = #{companyPostCode,jdbcType=VARCHAR},
  481. sale_agreement = #{saleAgreement,jdbcType=VARCHAR},
  482. depot_flag = #{depotFlag,jdbcType=VARCHAR},
  483. customer_flag = #{customerFlag,jdbcType=VARCHAR},
  484. minus_stock_flag = #{minusStockFlag,jdbcType=VARCHAR},
  485. purchase_by_sale_flag = #{purchaseBySaleFlag,jdbcType=VARCHAR},
  486. multi_level_approval_flag = #{multiLevelApprovalFlag,jdbcType=VARCHAR},
  487. multi_bill_type = #{multiBillType,jdbcType=VARCHAR},
  488. force_approval_flag = #{forceApprovalFlag,jdbcType=VARCHAR},
  489. update_unit_price_flag = #{updateUnitPriceFlag,jdbcType=VARCHAR},
  490. over_link_bill_flag = #{overLinkBillFlag,jdbcType=VARCHAR},
  491. in_out_manage_flag = #{inOutManageFlag,jdbcType=VARCHAR},
  492. multi_account_flag = #{multiAccountFlag,jdbcType=VARCHAR},
  493. move_avg_price_flag = #{moveAvgPriceFlag,jdbcType=VARCHAR},
  494. audit_print_flag = #{auditPrintFlag,jdbcType=VARCHAR},
  495. tenant_id = #{tenantId,jdbcType=BIGINT},
  496. delete_flag = #{deleteFlag,jdbcType=VARCHAR}
  497. where id = #{id,jdbcType=BIGINT}
  498. </update>
  499. </mapper>