BisInspFundUseDao.xml 33 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563
  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="cn.com.goldenwater.dcproj.dao.BisInspFundUseDao">
  4. <resultMap type="cn.com.goldenwater.dcproj.model.BisInspFundUse" id="bisInspFundUseResultMap">
  5. <result property="isTuroStip" column="IS_TURO_STIP"/>
  6. <result property="isFinalApproval" column="IS_FINAL_APPROVAL"/>
  7. <result property="isCompileStip" column="IS_COMPILE_STIP"/>
  8. <result property="isOverReasonable" column="IS_OVER_REASONABLE"/>
  9. <result property="isHideFund" column="IS_HIDE_FUND"/>
  10. <result property="isSzuseFund" column="IS_SZUSE_FUND"/>
  11. <result property="isDealAssent" column="IS_DEAL_ASSENT"/>
  12. <result property="isDealInvest" column="IS_DEAL_INVEST"/>
  13. <result property="isTurnSstip" column="IS_TURN_SSTIP"/>
  14. <result property="isEvaluateStip" column="IS_EVALUATE_STIP"/>
  15. <result property="state" column="STATE"/>
  16. <result property="persId" column="PERS_ID"/>
  17. <result property="intm" column="INTM"/>
  18. <result property="uptm" column="UPTM"/>
  19. <result property="dataStat" column="DATA_STAT"/>
  20. <result property="id" column="ID"/>
  21. <result property="rgstrId" column="RGSTR_ID"/>
  22. <result property="isXbFund" column="IS_XB_FUND"/>
  23. <result property="isXzProarea" column="IS_XZ_PROAREA"/>
  24. <result property="isTqFund" column="IS_TQ_FUND"/>
  25. <result property="isRepeatSb" column="IS_REPEAT_SB"/>
  26. <result property="isMisSb" column="IS_MIS_SB"/>
  27. <result property="isOrderBp" column="IS_ORDER_BP"/>
  28. <result property="isMissdeedTz" column="IS_MISSDEED_TZ"/>
  29. <result property="isBzBudget" column="IS_BZ_BUDGET"/>
  30. <result property="isYsbzztStip" column="IS_YSBZZT_STIP"/>
  31. <result property="isYstzStip" column="IS_YSTZ_STIP"/>
  32. <result property="isCxePay" column="IS_CXE_PAY"/>
  33. <result property="isZjcjStip" column="IS_ZJCJ_STIP"/>
  34. <result property="isRaiseDw" column="IS_RAISE_DW"/>
  35. <result property="isSystemDw" column="IS_SYSTEM_DW"/>
  36. <result property="isCsFinance" column="IS_CS_FINANCE"/>
  37. <result property="isCtFund" column="IS_CT_FUND"/>
  38. <result property="isProgStipulate" column="IS_PROG_STIPULATE"/>
  39. <result property="isJlnyjzFund" column="IS_JLNYJZ_FUND"/>
  40. <result property="isIllegalProfit" column="IS_ILLEGAL_PROFIT"/>
  41. <result property="isMisZycj" column="IS_MIS_ZYCJ"/>
  42. <result property="isMisDb" column="IS_MIS_DB"/>
  43. <result property="isKdslProarea" column="IS_KDSL_PROAREA"/>
  44. <result property="isScFund" column="IS_SC_FUND"/>
  45. <result property="isBfTimely" column="IS_BF_TIMELY"/>
  46. <result property="isSpecialFund" column="IS_SPECIAL_FUND"/>
  47. <result property="isAllPay" column="IS_ALL_PAY"/>
  48. <result property="isTimelyFf" column="IS_TIMELY_FF"/>
  49. <result property="isMisUse" column="IS_MIS_USE"/>
  50. <result property="isMisTquse" column="IS_MIS_TQUSE"/>
  51. <result property="isSamewayReturn" column="IS_SAMEWAY_RETURN"/>
  52. <result property="isMisFpuse" column="IS_MIS_FPUSE"/>
  53. <result property="isMisBuy" column="IS_MIS_BUY"/>
  54. <result property="isPayFine" column="IS_PAY_FINE"/>
  55. <result property="isExpendStip" column="IS_EXPEND_STIP"/>
  56. <result property="isOverStandard" column="IS_OVER_STANDARD"/>
  57. <result property="isStipBp" column="IS_STIP_BP"/>
  58. <result property="isPayStipp" column="IS_PAY_STIPP"/>
  59. <result property="isOverstandardPrft" column="IS_OVERSTANDARD_PRFT"/>
  60. <result property="isBpPrft" column="IS_BP_PRFT"/>
  61. <result property="isDivertFund" column="IS_DIVERT_FUND"/>
  62. <result property="isCentManage" column="IS_CENT_MANAGE"/>
  63. <result property="isXlFund" column="IS_XL_FUND"/>
  64. <result property="isStipUse" column="IS_STIP_USE"/>
  65. <result property="isCheatFund" column="IS_CHEAT_FUND"/>
  66. <result property="isBudgetManage" column="IS_BUDGET_MANAGE"/>
  67. <result property="isCtrtSettle" column="IS_CTRT_SETTLE"/>
  68. <result property="isCtrtPay" column="IS_CTRT_PAY"/>
  69. <result property="isNoctrtPay" column="IS_NOCTRT_PAY"/>
  70. <result property="isCtrtPayfund" column="IS_CTRT_PAYFUND"/>
  71. <result property="isCtrtNeed" column="IS_CTRT_NEED"/>
  72. <result property="isValuReasonable" column="IS_VALU_REASONABLE"/>
  73. <result property="isRepeatSettle" column="IS_REPEAT_SETTLE"/>
  74. <result property="isSetLatter" column="IS_SET_LATTER"/>
  75. <result property="isSetStipuliate" column="IS_SET_STIPULIATE"/>
  76. <result property="isCtrtLatter" column="IS_CTRT_LATTER"/>
  77. <result property="isManageStip" column="IS_MANAGE_STIP"/>
  78. <result property="isCreateWaste" column="IS_CREATE_WASTE"/>
  79. <result property="isFarmerPay" column="IS_FARMER_PAY"/>
  80. <result property="isDealStipuliate" column="IS_DEAL_STIPULIATE"/>
  81. <result property="isCleanFund" column="IS_CLEAN_FUND"/>
  82. <result property="isAlctCosts" column="IS_ALCT_COSTS"/>
  83. <result property="isPayStip" column="IS_PAY_STIP"/>
  84. <result property="isTrsoStip" column="IS_TRSO_STIP"/>
  85. <result property="isSstiFinal" column="IS_SSTI_FINAL"/>
  86. </resultMap>
  87. <sql id="table_columns">
  88. IS_TURO_STIP,
  89. IS_FINAL_APPROVAL,
  90. IS_COMPILE_STIP,
  91. IS_OVER_REASONABLE,
  92. IS_HIDE_FUND,
  93. IS_SZUSE_FUND,
  94. IS_DEAL_ASSENT,
  95. IS_DEAL_INVEST,
  96. IS_TURN_SSTIP,
  97. IS_EVALUATE_STIP,
  98. STATE,
  99. PERS_ID,
  100. INTM,
  101. UPTM,
  102. DATA_STAT,
  103. ID,
  104. RGSTR_ID,
  105. IS_XB_FUND,
  106. IS_XZ_PROAREA,
  107. IS_TQ_FUND,
  108. IS_REPEAT_SB,
  109. IS_MIS_SB,
  110. IS_ORDER_BP,
  111. IS_MISSDEED_TZ,
  112. IS_BZ_BUDGET,
  113. IS_YSBZZT_STIP,
  114. IS_YSTZ_STIP,
  115. IS_CXE_PAY,
  116. IS_ZJCJ_STIP,
  117. IS_RAISE_DW,
  118. IS_SYSTEM_DW,
  119. IS_CS_FINANCE,
  120. IS_CT_FUND,
  121. IS_PROG_STIPULATE,
  122. IS_JLNYJZ_FUND,
  123. IS_ILLEGAL_PROFIT,
  124. IS_MIS_ZYCJ,
  125. IS_MIS_DB,
  126. IS_KDSL_PROAREA,
  127. IS_SC_FUND,
  128. IS_BF_TIMELY,
  129. IS_SPECIAL_FUND,
  130. IS_ALL_PAY,
  131. IS_TIMELY_FF,
  132. IS_MIS_USE,
  133. IS_MIS_TQUSE,
  134. IS_SAMEWAY_RETURN,
  135. IS_MIS_FPUSE,
  136. IS_MIS_BUY,
  137. IS_PAY_FINE,
  138. IS_EXPEND_STIP,
  139. IS_OVER_STANDARD,
  140. IS_STIP_BP,
  141. IS_PAY_STIPP,
  142. IS_OVERSTANDARD_PRFT,
  143. IS_BP_PRFT,
  144. IS_DIVERT_FUND,
  145. IS_CENT_MANAGE,
  146. IS_XL_FUND,
  147. IS_STIP_USE,
  148. IS_CHEAT_FUND,
  149. IS_BUDGET_MANAGE,
  150. IS_CTRT_SETTLE,
  151. IS_CTRT_PAY,
  152. IS_NOCTRT_PAY,
  153. IS_CTRT_PAYFUND,
  154. IS_CTRT_NEED,
  155. IS_VALU_REASONABLE,
  156. IS_REPEAT_SETTLE,
  157. IS_SET_LATTER,
  158. IS_SET_STIPULIATE,
  159. IS_CTRT_LATTER,
  160. IS_MANAGE_STIP,
  161. IS_CREATE_WASTE,
  162. IS_FARMER_PAY,
  163. IS_DEAL_STIPULIATE,
  164. IS_CLEAN_FUND,
  165. IS_ALCT_COSTS,
  166. IS_PAY_STIP,
  167. IS_TRSO_STIP,
  168. IS_SSTI_FINAL
  169. </sql>
  170. <sql id="entity_properties">
  171. #{isTuroStip},
  172. #{isFinalApproval},
  173. #{isCompileStip},
  174. #{isOverReasonable},
  175. #{isHideFund},
  176. #{isSzuseFund},
  177. #{isDealAssent},
  178. #{isDealInvest},
  179. #{isTurnSstip},
  180. #{isEvaluateStip},
  181. #{state},
  182. #{persId},
  183. #{intm},
  184. #{uptm},
  185. #{dataStat},
  186. #{id},
  187. #{rgstrId},
  188. #{isXbFund},
  189. #{isXzProarea},
  190. #{isTqFund},
  191. #{isRepeatSb},
  192. #{isMisSb},
  193. #{isOrderBp},
  194. #{isMissdeedTz},
  195. #{isBzBudget},
  196. #{isYsbzztStip},
  197. #{isYstzStip},
  198. #{isCxePay},
  199. #{isZjcjStip},
  200. #{isRaiseDw},
  201. #{isSystemDw},
  202. #{isCsFinance},
  203. #{isCtFund},
  204. #{isProgStipulate},
  205. #{isJlnyjzFund},
  206. #{isIllegalProfit},
  207. #{isMisZycj},
  208. #{isMisDb},
  209. #{isKdslProarea},
  210. #{isScFund},
  211. #{isBfTimely},
  212. #{isSpecialFund},
  213. #{isAllPay},
  214. #{isTimelyFf},
  215. #{isMisUse},
  216. #{isMisTquse},
  217. #{isSamewayReturn},
  218. #{isMisFpuse},
  219. #{isMisBuy},
  220. #{isPayFine},
  221. #{isExpendStip},
  222. #{isOverStandard},
  223. #{isStipBp},
  224. #{isPayStipp},
  225. #{isOverstandardPrft},
  226. #{isBpPrft},
  227. #{isDivertFund},
  228. #{isCentManage},
  229. #{isXlFund},
  230. #{isStipUse},
  231. #{isCheatFund},
  232. #{isBudgetManage},
  233. #{isCtrtSettle},
  234. #{isCtrtPay},
  235. #{isNoctrtPay},
  236. #{isCtrtPayfund},
  237. #{isCtrtNeed},
  238. #{isValuReasonable},
  239. #{isRepeatSettle},
  240. #{isSetLatter},
  241. #{isSetStipuliate},
  242. #{isCtrtLatter},
  243. #{isManageStip},
  244. #{isCreateWaste},
  245. #{isFarmerPay},
  246. #{isDealStipuliate},
  247. #{isCleanFund},
  248. #{isAlctCosts},
  249. #{isPayStip},
  250. #{isTrsoStip},
  251. #{isSstiFinal}
  252. </sql>
  253. <!-- 使用like用法:columnName like concat('%',#columnName#,'%') -->
  254. <sql id="page_where">
  255. <trim prefix="where" prefixOverrides="and | or ">
  256. <if test="isFinalApproval != null and isFinalApproval != ''">and IS_FINAL_APPROVAL = #{isFinalApproval}</if>
  257. <if test="isCompileStip != null and isCompileStip != ''">and IS_COMPILE_STIP = #{isCompileStip}</if>
  258. <if test="isOverReasonable != null and isOverReasonable != ''">and IS_OVER_REASONABLE = #{isOverReasonable}</if>
  259. <if test="isHideFund != null and isHideFund != ''">and IS_HIDE_FUND = #{isHideFund}</if>
  260. <if test="isSzuseFund != null and isSzuseFund != ''">and IS_SZUSE_FUND = #{isSzuseFund}</if>
  261. <if test="isDealAssent != null and isDealAssent != ''">and IS_DEAL_ASSENT = #{isDealAssent}</if>
  262. <if test="isDealInvest != null and isDealInvest != ''">and IS_DEAL_INVEST = #{isDealInvest}</if>
  263. <if test="isTurnSstip != null and isTurnSstip != ''">and IS_TURN_SSTIP = #{isTurnSstip}</if>
  264. <if test="isEvaluateStip != null and isEvaluateStip != ''">and IS_EVALUATE_STIP = #{isEvaluateStip}</if>
  265. <if test="state != null and state != ''">and STATE = #{state}</if>
  266. <if test="persId != null and persId != ''">and PERS_ID = #{persId}</if>
  267. <if test="intm != null">and INTM = #{intm}</if>
  268. <if test="uptm != null">and UPTM = #{uptm}</if>
  269. <if test="dataStat != null and dataStat != ''">and DATA_STAT = #{dataStat}</if>
  270. <if test="id != null and id != ''">and ID = #{id}</if>
  271. <if test="rgstrId != null and rgstrId != ''">and RGSTR_ID = #{rgstrId}</if>
  272. <if test="isXbFund != null and isXbFund != ''">and IS_XB_FUND = #{isXbFund}</if>
  273. <if test="isXzProarea != null and isXzProarea != ''">and IS_XZ_PROAREA = #{isXzProarea}</if>
  274. <if test="isTqFund != null and isTqFund != ''">and IS_TQ_FUND = #{isTqFund}</if>
  275. <if test="isRepeatSb != null and isRepeatSb != ''">and IS_REPEAT_SB = #{isRepeatSb}</if>
  276. <if test="isMisSb != null and isMisSb != ''">and IS_MIS_SB = #{isMisSb}</if>
  277. <if test="isOrderBp != null and isOrderBp != ''">and IS_ORDER_BP = #{isOrderBp}</if>
  278. <if test="isMissdeedTz != null and isMissdeedTz != ''">and IS_MISSDEED_TZ = #{isMissdeedTz}</if>
  279. <if test="isBzBudget != null and isBzBudget != ''">and IS_BZ_BUDGET = #{isBzBudget}</if>
  280. <if test="isYsbzztStip != null and isYsbzztStip != ''">and IS_YSBZZT_STIP = #{isYsbzztStip}</if>
  281. <if test="isYstzStip != null and isYstzStip != ''">and IS_YSTZ_STIP = #{isYstzStip}</if>
  282. <if test="isCxePay != null and isCxePay != ''">and IS_CXE_PAY = #{isCxePay}</if>
  283. <if test="isZjcjStip != null and isZjcjStip != ''">and IS_ZJCJ_STIP = #{isZjcjStip}</if>
  284. <if test="isRaiseDw != null and isRaiseDw != ''">and IS_RAISE_DW = #{isRaiseDw}</if>
  285. <if test="isSystemDw != null and isSystemDw != ''">and IS_SYSTEM_DW = #{isSystemDw}</if>
  286. <if test="isCsFinance != null and isCsFinance != ''">and IS_CS_FINANCE = #{isCsFinance}</if>
  287. <if test="isCtFund != null and isCtFund != ''">and IS_CT_FUND = #{isCtFund}</if>
  288. <if test="isProgStipulate != null and isProgStipulate != ''">and IS_PROG_STIPULATE = #{isProgStipulate}</if>
  289. <if test="isJlnyjzFund != null and isJlnyjzFund != ''">and IS_JLNYJZ_FUND = #{isJlnyjzFund}</if>
  290. <if test="isIllegalProfit != null and isIllegalProfit != ''">and IS_ILLEGAL_PROFIT = #{isIllegalProfit}</if>
  291. <if test="isMisZycj != null and isMisZycj != ''">and IS_MIS_ZYCJ = #{isMisZycj}</if>
  292. <if test="isMisDb != null and isMisDb != ''">and IS_MIS_DB = #{isMisDb}</if>
  293. <if test="isKdslProarea != null and isKdslProarea != ''">and IS_KDSL_PROAREA = #{isKdslProarea}</if>
  294. <if test="isScFund != null and isScFund != ''">and IS_SC_FUND = #{isScFund}</if>
  295. <if test="isBfTimely != null and isBfTimely != ''">and IS_BF_TIMELY = #{isBfTimely}</if>
  296. <if test="isSpecialFund != null and isSpecialFund != ''">and IS_SPECIAL_FUND = #{isSpecialFund}</if>
  297. <if test="isAllPay != null and isAllPay != ''">and IS_ALL_PAY = #{isAllPay}</if>
  298. <if test="isTimelyFf != null and isTimelyFf != ''">and IS_TIMELY_FF = #{isTimelyFf}</if>
  299. <if test="isMisUse != null and isMisUse != ''">and IS_MIS_USE = #{isMisUse}</if>
  300. <if test="isMisTquse != null and isMisTquse != ''">and IS_MIS_TQUSE = #{isMisTquse}</if>
  301. <if test="isSamewayReturn != null and isSamewayReturn != ''">and IS_SAMEWAY_RETURN = #{isSamewayReturn}</if>
  302. <if test="isMisFpuse != null and isMisFpuse != ''">and IS_MIS_FPUSE = #{isMisFpuse}</if>
  303. <if test="isMisBuy != null and isMisBuy != ''">and IS_MIS_BUY = #{isMisBuy}</if>
  304. <if test="isPayFine != null and isPayFine != ''">and IS_PAY_FINE = #{isPayFine}</if>
  305. <if test="isExpendStip != null and isExpendStip != ''">and IS_EXPEND_STIP = #{isExpendStip}</if>
  306. <if test="isOverStandard != null and isOverStandard != ''">and IS_OVER_STANDARD = #{isOverStandard}</if>
  307. <if test="isStipBp != null and isStipBp != ''">and IS_STIP_BP = #{isStipBp}</if>
  308. <if test="isPayStipp != null and isPayStipp != ''">and IS_PAY_STIPP = #{isPayStipp}</if>
  309. <if test="isOverstandardPrft != null and isOverstandardPrft != ''">and IS_OVERSTANDARD_PRFT = #{isOverstandardPrft}</if>
  310. <if test="isBpPrft != null and isBpPrft != ''">and IS_BP_PRFT = #{isBpPrft}</if>
  311. <if test="isDivertFund != null and isDivertFund != ''">and IS_DIVERT_FUND = #{isDivertFund}</if>
  312. <if test="isCentManage != null and isCentManage != ''">and IS_CENT_MANAGE = #{isCentManage}</if>
  313. <if test="isXlFund != null and isXlFund != ''">and IS_XL_FUND = #{isXlFund}</if>
  314. <if test="isStipUse != null and isStipUse != ''">and IS_STIP_USE = #{isStipUse}</if>
  315. <if test="isCheatFund != null and isCheatFund != ''">and IS_CHEAT_FUND = #{isCheatFund}</if>
  316. <if test="isBudgetManage != null and isBudgetManage != ''">and IS_BUDGET_MANAGE = #{isBudgetManage}</if>
  317. <if test="isCtrtSettle != null and isCtrtSettle != ''">and IS_CTRT_SETTLE = #{isCtrtSettle}</if>
  318. <if test="isCtrtPay != null and isCtrtPay != ''">and IS_CTRT_PAY = #{isCtrtPay}</if>
  319. <if test="isNoctrtPay != null and isNoctrtPay != ''">and IS_NOCTRT_PAY = #{isNoctrtPay}</if>
  320. <if test="isCtrtPayfund != null and isCtrtPayfund != ''">and IS_CTRT_PAYFUND = #{isCtrtPayfund}</if>
  321. <if test="isCtrtNeed != null and isCtrtNeed != ''">and IS_CTRT_NEED = #{isCtrtNeed}</if>
  322. <if test="isValuReasonable != null and isValuReasonable != ''">and IS_VALU_REASONABLE = #{isValuReasonable}</if>
  323. <if test="isRepeatSettle != null and isRepeatSettle != ''">and IS_REPEAT_SETTLE = #{isRepeatSettle}</if>
  324. <if test="isSetLatter != null and isSetLatter != ''">and IS_SET_LATTER = #{isSetLatter}</if>
  325. <if test="isSetStipuliate != null and isSetStipuliate != ''">and IS_SET_STIPULIATE = #{isSetStipuliate}</if>
  326. <if test="isCtrtLatter != null and isCtrtLatter != ''">and IS_CTRT_LATTER = #{isCtrtLatter}</if>
  327. <if test="isManageStip != null and isManageStip != ''">and IS_MANAGE_STIP = #{isManageStip}</if>
  328. <if test="isCreateWaste != null and isCreateWaste != ''">and IS_CREATE_WASTE = #{isCreateWaste}</if>
  329. <if test="isFarmerPay != null and isFarmerPay != ''">and IS_FARMER_PAY = #{isFarmerPay}</if>
  330. <if test="isDealStipuliate != null and isDealStipuliate != ''">and IS_DEAL_STIPULIATE = #{isDealStipuliate}</if>
  331. <if test="isCleanFund != null and isCleanFund != ''">and IS_CLEAN_FUND = #{isCleanFund}</if>
  332. <if test="isAlctCosts != null and isAlctCosts != ''">and IS_ALCT_COSTS = #{isAlctCosts}</if>
  333. <if test="isPayStip != null and isPayStip != ''">and IS_PAY_STIP = #{isPayStip}</if>
  334. <if test="isTrsoStip != null and isTrsoStip != ''">and IS_TRSO_STIP = #{isTrsoStip}</if>
  335. <if test="isSstiFinal != null and isSstiFinal != ''">and IS_SSTI_FINAL = #{isSstiFinal}</if>
  336. <if test="isTuroStip != null and isTuroStip != ''">and IS_TURO_STIP = #{isTuroStip}</if>
  337. </trim>
  338. </sql>
  339. <select id="get" resultMap="bisInspFundUseResultMap" parameterType="String" >
  340. select <include refid="table_columns" /> from BIS_INSP_FUND_USE where RGSTR_ID = #{id}
  341. </select>
  342. <select id="getBy" resultMap="bisInspFundUseResultMap">
  343. select <include refid="table_columns" /> from BIS_INSP_FUND_USE <include refid="page_where" />
  344. </select>
  345. <select id="findAll" resultMap="bisInspFundUseResultMap">
  346. select <include refid="table_columns" /> from BIS_INSP_FUND_USE
  347. </select>
  348. <select id="findList" resultMap="bisInspFundUseResultMap">
  349. select <include refid="table_columns" /> from BIS_INSP_FUND_USE <include refid="page_where" />
  350. </select>
  351. <select id="selectCount" resultType="int" >
  352. select count(ID) from BIS_INSP_FUND_USE <include refid="page_where" />
  353. </select>
  354. <insert id="insert" parameterType="cn.com.goldenwater.dcproj.model.BisInspFundUse">
  355. insert into BIS_INSP_FUND_USE( <include refid="table_columns" /> )
  356. values ( <include refid="entity_properties" /> )
  357. </insert>
  358. <delete id="delete" parameterType="java.lang.String">
  359. update BIS_INSP_FUND_USE set DATA_STAT='9' where ID = #{id}
  360. </delete>
  361. <delete id="deleteBy" parameterType="cn.com.goldenwater.dcproj.model.BisInspFundUse">
  362. delete from BIS_INSP_FUND_USE <include refid="page_where" />
  363. </delete>
  364. <update id="deleteInFlag" parameterType="java.lang.String">
  365. update BIS_INSP_FUND_USE set flag_valid = 0 where ID = #{id}
  366. </update>
  367. <update id="update" parameterType="cn.com.goldenwater.dcproj.model.BisInspFundUse">
  368. update BIS_INSP_FUND_USE
  369. <trim prefix="set" suffixOverrides=",">
  370. <if test="isFinalApproval != null and isFinalApproval != ''">IS_FINAL_APPROVAL = #{isFinalApproval},</if>
  371. <if test="isCompileStip != null and isCompileStip != ''">IS_COMPILE_STIP = #{isCompileStip},</if>
  372. <if test="isOverReasonable != null and isOverReasonable != ''">IS_OVER_REASONABLE = #{isOverReasonable},</if>
  373. <if test="isHideFund != null and isHideFund != ''">IS_HIDE_FUND = #{isHideFund},</if>
  374. <if test="isSzuseFund != null and isSzuseFund != ''">IS_SZUSE_FUND = #{isSzuseFund},</if>
  375. <if test="isDealAssent != null and isDealAssent != ''">IS_DEAL_ASSENT = #{isDealAssent},</if>
  376. <if test="isDealInvest != null and isDealInvest != ''">IS_DEAL_INVEST = #{isDealInvest},</if>
  377. <if test="isTurnSstip != null and isTurnSstip != ''">IS_TURN_SSTIP = #{isTurnSstip},</if>
  378. <if test="isEvaluateStip != null and isEvaluateStip != ''">IS_EVALUATE_STIP = #{isEvaluateStip},</if>
  379. <if test="state != null and state != ''">STATE = #{state},</if>
  380. <if test="persId != null and persId != ''">PERS_ID = #{persId},</if>
  381. <if test="intm != null">INTM = #{intm},</if>
  382. <if test="uptm != null">UPTM = #{uptm},</if>
  383. <if test="dataStat != null and dataStat != ''">DATA_STAT = #{dataStat},</if>
  384. <if test="id != null and id != ''">ID = #{id},</if>
  385. <if test="rgstrId != null and rgstrId != ''">RGSTR_ID = #{rgstrId},</if>
  386. <if test="isXbFund != null and isXbFund != ''">IS_XB_FUND = #{isXbFund},</if>
  387. <if test="isXzProarea != null and isXzProarea != ''">IS_XZ_PROAREA = #{isXzProarea},</if>
  388. <if test="isTqFund != null and isTqFund != ''">IS_TQ_FUND = #{isTqFund},</if>
  389. <if test="isRepeatSb != null and isRepeatSb != ''">IS_REPEAT_SB = #{isRepeatSb},</if>
  390. <if test="isMisSb != null and isMisSb != ''">IS_MIS_SB = #{isMisSb},</if>
  391. <if test="isOrderBp != null and isOrderBp != ''">IS_ORDER_BP = #{isOrderBp},</if>
  392. <if test="isMissdeedTz != null and isMissdeedTz != ''">IS_MISSDEED_TZ = #{isMissdeedTz},</if>
  393. <if test="isBzBudget != null and isBzBudget != ''">IS_BZ_BUDGET = #{isBzBudget},</if>
  394. <if test="isYsbzztStip != null and isYsbzztStip != ''">IS_YSBZZT_STIP = #{isYsbzztStip},</if>
  395. <if test="isYstzStip != null and isYstzStip != ''">IS_YSTZ_STIP = #{isYstzStip},</if>
  396. <if test="isCxePay != null and isCxePay != ''">IS_CXE_PAY = #{isCxePay},</if>
  397. <if test="isZjcjStip != null and isZjcjStip != ''">IS_ZJCJ_STIP = #{isZjcjStip},</if>
  398. <if test="isRaiseDw != null and isRaiseDw != ''">IS_RAISE_DW = #{isRaiseDw},</if>
  399. <if test="isSystemDw != null and isSystemDw != ''">IS_SYSTEM_DW = #{isSystemDw},</if>
  400. <if test="isCsFinance != null and isCsFinance != ''">IS_CS_FINANCE = #{isCsFinance},</if>
  401. <if test="isCtFund != null and isCtFund != ''">IS_CT_FUND = #{isCtFund},</if>
  402. <if test="isProgStipulate != null and isProgStipulate != ''">IS_PROG_STIPULATE = #{isProgStipulate},</if>
  403. <if test="isJlnyjzFund != null and isJlnyjzFund != ''">IS_JLNYJZ_FUND = #{isJlnyjzFund},</if>
  404. <if test="isIllegalProfit != null and isIllegalProfit != ''">IS_ILLEGAL_PROFIT = #{isIllegalProfit},</if>
  405. <if test="isMisZycj != null and isMisZycj != ''">IS_MIS_ZYCJ = #{isMisZycj},</if>
  406. <if test="isMisDb != null and isMisDb != ''">IS_MIS_DB = #{isMisDb},</if>
  407. <if test="isKdslProarea != null and isKdslProarea != ''">IS_KDSL_PROAREA = #{isKdslProarea},</if>
  408. <if test="isScFund != null and isScFund != ''">IS_SC_FUND = #{isScFund},</if>
  409. <if test="isBfTimely != null and isBfTimely != ''">IS_BF_TIMELY = #{isBfTimely},</if>
  410. <if test="isSpecialFund != null and isSpecialFund != ''">IS_SPECIAL_FUND = #{isSpecialFund},</if>
  411. <if test="isAllPay != null and isAllPay != ''">IS_ALL_PAY = #{isAllPay},</if>
  412. <if test="isTimelyFf != null and isTimelyFf != ''">IS_TIMELY_FF = #{isTimelyFf},</if>
  413. <if test="isMisUse != null and isMisUse != ''">IS_MIS_USE = #{isMisUse},</if>
  414. <if test="isMisTquse != null and isMisTquse != ''">IS_MIS_TQUSE = #{isMisTquse},</if>
  415. <if test="isSamewayReturn != null and isSamewayReturn != ''">IS_SAMEWAY_RETURN = #{isSamewayReturn},</if>
  416. <if test="isMisFpuse != null and isMisFpuse != ''">IS_MIS_FPUSE = #{isMisFpuse},</if>
  417. <if test="isMisBuy != null and isMisBuy != ''">IS_MIS_BUY = #{isMisBuy},</if>
  418. <if test="isPayFine != null and isPayFine != ''">IS_PAY_FINE = #{isPayFine},</if>
  419. <if test="isExpendStip != null and isExpendStip != ''">IS_EXPEND_STIP = #{isExpendStip},</if>
  420. <if test="isOverStandard != null and isOverStandard != ''">IS_OVER_STANDARD = #{isOverStandard},</if>
  421. <if test="isStipBp != null and isStipBp != ''">IS_STIP_BP = #{isStipBp},</if>
  422. <if test="isPayStipp != null and isPayStipp != ''">IS_PAY_STIPP = #{isPayStipp},</if>
  423. <if test="isOverstandardPrft != null and isOverstandardPrft != ''">IS_OVERSTANDARD_PRFT = #{isOverstandardPrft},</if>
  424. <if test="isBpPrft != null and isBpPrft != ''">IS_BP_PRFT = #{isBpPrft},</if>
  425. <if test="isDivertFund != null and isDivertFund != ''">IS_DIVERT_FUND = #{isDivertFund},</if>
  426. <if test="isCentManage != null and isCentManage != ''">IS_CENT_MANAGE = #{isCentManage},</if>
  427. <if test="isXlFund != null and isXlFund != ''">IS_XL_FUND = #{isXlFund},</if>
  428. <if test="isStipUse != null and isStipUse != ''">IS_STIP_USE = #{isStipUse},</if>
  429. <if test="isCheatFund != null and isCheatFund != ''">IS_CHEAT_FUND = #{isCheatFund},</if>
  430. <if test="isBudgetManage != null and isBudgetManage != ''">IS_BUDGET_MANAGE = #{isBudgetManage},</if>
  431. <if test="isCtrtSettle != null and isCtrtSettle != ''">IS_CTRT_SETTLE = #{isCtrtSettle},</if>
  432. <if test="isCtrtPay != null and isCtrtPay != ''">IS_CTRT_PAY = #{isCtrtPay},</if>
  433. <if test="isNoctrtPay != null and isNoctrtPay != ''">IS_NOCTRT_PAY = #{isNoctrtPay},</if>
  434. <if test="isCtrtPayfund != null and isCtrtPayfund != ''">IS_CTRT_PAYFUND = #{isCtrtPayfund},</if>
  435. <if test="isCtrtNeed != null and isCtrtNeed != ''">IS_CTRT_NEED = #{isCtrtNeed},</if>
  436. <if test="isValuReasonable != null and isValuReasonable != ''">IS_VALU_REASONABLE = #{isValuReasonable},</if>
  437. <if test="isRepeatSettle != null and isRepeatSettle != ''">IS_REPEAT_SETTLE = #{isRepeatSettle},</if>
  438. <if test="isSetLatter != null and isSetLatter != ''">IS_SET_LATTER = #{isSetLatter},</if>
  439. <if test="isSetStipuliate != null and isSetStipuliate != ''">IS_SET_STIPULIATE = #{isSetStipuliate},</if>
  440. <if test="isCtrtLatter != null and isCtrtLatter != ''">IS_CTRT_LATTER = #{isCtrtLatter},</if>
  441. <if test="isManageStip != null and isManageStip != ''">IS_MANAGE_STIP = #{isManageStip},</if>
  442. <if test="isCreateWaste != null and isCreateWaste != ''">IS_CREATE_WASTE = #{isCreateWaste},</if>
  443. <if test="isFarmerPay != null and isFarmerPay != ''">IS_FARMER_PAY = #{isFarmerPay},</if>
  444. <if test="isDealStipuliate != null and isDealStipuliate != ''">IS_DEAL_STIPULIATE = #{isDealStipuliate},</if>
  445. <if test="isCleanFund != null and isCleanFund != ''">IS_CLEAN_FUND = #{isCleanFund},</if>
  446. <if test="isAlctCosts != null and isAlctCosts != ''">IS_ALCT_COSTS = #{isAlctCosts},</if>
  447. <if test="isPayStip != null and isPayStip != ''">IS_PAY_STIP = #{isPayStip},</if>
  448. <if test="isTrsoStip != null and isTrsoStip != ''">IS_TRSO_STIP = #{isTrsoStip},</if>
  449. <if test="isSstiFinal != null and isSstiFinal != ''">IS_SSTI_FINAL = #{isSstiFinal},</if>
  450. <if test="isTuroStip != null and isTuroStip != ''">IS_TURO_STIP = #{isTuroStip},</if>
  451. </trim>
  452. <where>ID = #{id}</where>
  453. </update>
  454. <update id="updateBy" parameterType="cn.com.goldenwater.dcproj.model.BisInspFundUse">
  455. update BIS_INSP_FUND_USE
  456. <trim prefix="set" suffixOverrides=",">
  457. <if test="isFinalApproval != null and isFinalApproval != ''">IS_FINAL_APPROVAL = #{isFinalApproval},</if>
  458. <if test="isCompileStip != null and isCompileStip != ''">IS_COMPILE_STIP = #{isCompileStip},</if>
  459. <if test="isOverReasonable != null and isOverReasonable != ''">IS_OVER_REASONABLE = #{isOverReasonable},</if>
  460. <if test="isHideFund != null and isHideFund != ''">IS_HIDE_FUND = #{isHideFund},</if>
  461. <if test="isSzuseFund != null and isSzuseFund != ''">IS_SZUSE_FUND = #{isSzuseFund},</if>
  462. <if test="isDealAssent != null and isDealAssent != ''">IS_DEAL_ASSENT = #{isDealAssent},</if>
  463. <if test="isDealInvest != null and isDealInvest != ''">IS_DEAL_INVEST = #{isDealInvest},</if>
  464. <if test="isTurnSstip != null and isTurnSstip != ''">IS_TURN_SSTIP = #{isTurnSstip},</if>
  465. <if test="isEvaluateStip != null and isEvaluateStip != ''">IS_EVALUATE_STIP = #{isEvaluateStip},</if>
  466. <if test="state != null and state != ''">STATE = #{state},</if>
  467. <if test="persId != null and persId != ''">PERS_ID = #{persId},</if>
  468. <if test="intm != null">INTM = #{intm},</if>
  469. <if test="uptm != null">UPTM = #{uptm},</if>
  470. <if test="dataStat != null and dataStat != ''">DATA_STAT = #{dataStat},</if>
  471. <if test="id != null and id != ''">ID = #{id},</if>
  472. <if test="rgstrId != null and rgstrId != ''">RGSTR_ID = #{rgstrId},</if>
  473. <if test="isXbFund != null and isXbFund != ''">IS_XB_FUND = #{isXbFund},</if>
  474. <if test="isXzProarea != null and isXzProarea != ''">IS_XZ_PROAREA = #{isXzProarea},</if>
  475. <if test="isTqFund != null and isTqFund != ''">IS_TQ_FUND = #{isTqFund},</if>
  476. <if test="isRepeatSb != null and isRepeatSb != ''">IS_REPEAT_SB = #{isRepeatSb},</if>
  477. <if test="isMisSb != null and isMisSb != ''">IS_MIS_SB = #{isMisSb},</if>
  478. <if test="isOrderBp != null and isOrderBp != ''">IS_ORDER_BP = #{isOrderBp},</if>
  479. <if test="isMissdeedTz != null and isMissdeedTz != ''">IS_MISSDEED_TZ = #{isMissdeedTz},</if>
  480. <if test="isBzBudget != null and isBzBudget != ''">IS_BZ_BUDGET = #{isBzBudget},</if>
  481. <if test="isYsbzztStip != null and isYsbzztStip != ''">IS_YSBZZT_STIP = #{isYsbzztStip},</if>
  482. <if test="isYstzStip != null and isYstzStip != ''">IS_YSTZ_STIP = #{isYstzStip},</if>
  483. <if test="isCxePay != null and isCxePay != ''">IS_CXE_PAY = #{isCxePay},</if>
  484. <if test="isZjcjStip != null and isZjcjStip != ''">IS_ZJCJ_STIP = #{isZjcjStip},</if>
  485. <if test="isRaiseDw != null and isRaiseDw != ''">IS_RAISE_DW = #{isRaiseDw},</if>
  486. <if test="isSystemDw != null and isSystemDw != ''">IS_SYSTEM_DW = #{isSystemDw},</if>
  487. <if test="isCsFinance != null and isCsFinance != ''">IS_CS_FINANCE = #{isCsFinance},</if>
  488. <if test="isCtFund != null and isCtFund != ''">IS_CT_FUND = #{isCtFund},</if>
  489. <if test="isProgStipulate != null and isProgStipulate != ''">IS_PROG_STIPULATE = #{isProgStipulate},</if>
  490. <if test="isJlnyjzFund != null and isJlnyjzFund != ''">IS_JLNYJZ_FUND = #{isJlnyjzFund},</if>
  491. <if test="isIllegalProfit != null and isIllegalProfit != ''">IS_ILLEGAL_PROFIT = #{isIllegalProfit},</if>
  492. <if test="isMisZycj != null and isMisZycj != ''">IS_MIS_ZYCJ = #{isMisZycj},</if>
  493. <if test="isMisDb != null and isMisDb != ''">IS_MIS_DB = #{isMisDb},</if>
  494. <if test="isKdslProarea != null and isKdslProarea != ''">IS_KDSL_PROAREA = #{isKdslProarea},</if>
  495. <if test="isScFund != null and isScFund != ''">IS_SC_FUND = #{isScFund},</if>
  496. <if test="isBfTimely != null and isBfTimely != ''">IS_BF_TIMELY = #{isBfTimely},</if>
  497. <if test="isSpecialFund != null and isSpecialFund != ''">IS_SPECIAL_FUND = #{isSpecialFund},</if>
  498. <if test="isAllPay != null and isAllPay != ''">IS_ALL_PAY = #{isAllPay},</if>
  499. <if test="isTimelyFf != null and isTimelyFf != ''">IS_TIMELY_FF = #{isTimelyFf},</if>
  500. <if test="isMisUse != null and isMisUse != ''">IS_MIS_USE = #{isMisUse},</if>
  501. <if test="isMisTquse != null and isMisTquse != ''">IS_MIS_TQUSE = #{isMisTquse},</if>
  502. <if test="isSamewayReturn != null and isSamewayReturn != ''">IS_SAMEWAY_RETURN = #{isSamewayReturn},</if>
  503. <if test="isMisFpuse != null and isMisFpuse != ''">IS_MIS_FPUSE = #{isMisFpuse},</if>
  504. <if test="isMisBuy != null and isMisBuy != ''">IS_MIS_BUY = #{isMisBuy},</if>
  505. <if test="isPayFine != null and isPayFine != ''">IS_PAY_FINE = #{isPayFine},</if>
  506. <if test="isExpendStip != null and isExpendStip != ''">IS_EXPEND_STIP = #{isExpendStip},</if>
  507. <if test="isOverStandard != null and isOverStandard != ''">IS_OVER_STANDARD = #{isOverStandard},</if>
  508. <if test="isStipBp != null and isStipBp != ''">IS_STIP_BP = #{isStipBp},</if>
  509. <if test="isPayStipp != null and isPayStipp != ''">IS_PAY_STIPP = #{isPayStipp},</if>
  510. <if test="isOverstandardPrft != null and isOverstandardPrft != ''">IS_OVERSTANDARD_PRFT = #{isOverstandardPrft},</if>
  511. <if test="isBpPrft != null and isBpPrft != ''">IS_BP_PRFT = #{isBpPrft},</if>
  512. <if test="isDivertFund != null and isDivertFund != ''">IS_DIVERT_FUND = #{isDivertFund},</if>
  513. <if test="isCentManage != null and isCentManage != ''">IS_CENT_MANAGE = #{isCentManage},</if>
  514. <if test="isXlFund != null and isXlFund != ''">IS_XL_FUND = #{isXlFund},</if>
  515. <if test="isStipUse != null and isStipUse != ''">IS_STIP_USE = #{isStipUse},</if>
  516. <if test="isCheatFund != null and isCheatFund != ''">IS_CHEAT_FUND = #{isCheatFund},</if>
  517. <if test="isBudgetManage != null and isBudgetManage != ''">IS_BUDGET_MANAGE = #{isBudgetManage},</if>
  518. <if test="isCtrtSettle != null and isCtrtSettle != ''">IS_CTRT_SETTLE = #{isCtrtSettle},</if>
  519. <if test="isCtrtPay != null and isCtrtPay != ''">IS_CTRT_PAY = #{isCtrtPay},</if>
  520. <if test="isNoctrtPay != null and isNoctrtPay != ''">IS_NOCTRT_PAY = #{isNoctrtPay},</if>
  521. <if test="isCtrtPayfund != null and isCtrtPayfund != ''">IS_CTRT_PAYFUND = #{isCtrtPayfund},</if>
  522. <if test="isCtrtNeed != null and isCtrtNeed != ''">IS_CTRT_NEED = #{isCtrtNeed},</if>
  523. <if test="isValuReasonable != null and isValuReasonable != ''">IS_VALU_REASONABLE = #{isValuReasonable},</if>
  524. <if test="isRepeatSettle != null and isRepeatSettle != ''">IS_REPEAT_SETTLE = #{isRepeatSettle},</if>
  525. <if test="isSetLatter != null and isSetLatter != ''">IS_SET_LATTER = #{isSetLatter},</if>
  526. <if test="isSetStipuliate != null and isSetStipuliate != ''">IS_SET_STIPULIATE = #{isSetStipuliate},</if>
  527. <if test="isCtrtLatter != null and isCtrtLatter != ''">IS_CTRT_LATTER = #{isCtrtLatter},</if>
  528. <if test="isManageStip != null and isManageStip != ''">IS_MANAGE_STIP = #{isManageStip},</if>
  529. <if test="isCreateWaste != null and isCreateWaste != ''">IS_CREATE_WASTE = #{isCreateWaste},</if>
  530. <if test="isFarmerPay != null and isFarmerPay != ''">IS_FARMER_PAY = #{isFarmerPay},</if>
  531. <if test="isDealStipuliate != null and isDealStipuliate != ''">IS_DEAL_STIPULIATE = #{isDealStipuliate},</if>
  532. <if test="isCleanFund != null and isCleanFund != ''">IS_CLEAN_FUND = #{isCleanFund},</if>
  533. <if test="isAlctCosts != null and isAlctCosts != ''">IS_ALCT_COSTS = #{isAlctCosts},</if>
  534. <if test="isPayStip != null and isPayStip != ''">IS_PAY_STIP = #{isPayStip},</if>
  535. <if test="isTrsoStip != null and isTrsoStip != ''">IS_TRSO_STIP = #{isTrsoStip},</if>
  536. <if test="isSstiFinal != null and isSstiFinal != ''">IS_SSTI_FINAL = #{isSstiFinal},</if>
  537. <if test="isTuroStip != null and isTuroStip != ''">IS_TURO_STIP = #{isTuroStip},</if>
  538. </trim>
  539. <include refid="page_where" />
  540. </update>
  541. <!-- 其他自定义SQL -->
  542. </mapper>