BmDbhysyhMapper.xml 1.5 KB

12345678910111213141516171819202122232425262728293031323334353637383940
  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.tofly.feesapi.bmgl.mapper.BmDbhysyhMapper">
  4. <resultMap id="bmDbhysyhMap" type="com.tofly.feesapi.bmgl.entity.BmDbhysyh">
  5. <id property="id" column="ID"/>
  6. <result property="year" column="YEAR"/>
  7. <result property="mc" column="MC"/>
  8. <result property="sdys" column="SDYS"/>
  9. <result property="sdsl" column="SDSL"/>
  10. <result property="kssj" column="KSSJ"/>
  11. <result property="jssj" column="JSSJ"/>
  12. <result property="czrybm" column="CZRYBM"/>
  13. <result property="czryxm" column="CZRYXM"/>
  14. <result property="czsj" column="CZSJ"/>
  15. <result property="isdisabled" column="ISDISABLED"/>
  16. <result property="isby" column="ISBY"/>
  17. <result property="wccjlfs" column="WCCJLFS"/>
  18. <result property="ccjlfs" column="CCJLFS"/>
  19. </resultMap>
  20. <insert id="insertBmDbh">
  21. insert into BM_DBHYSYH
  22. select sys_guid(), #{yhyear}, '低保用水'||#{yhyear}||'年',
  23. SDYS,
  24. SDSL,
  25. to_date(#{yhyear}||'-01-01','yyyy-mm-dd'),
  26. JSSJ,
  27. CZRYBM,
  28. CZRYXM,
  29. sysdate,
  30. ISDISABLED,
  31. ISBY,
  32. WCCJLFS,
  33. CCJLFS
  34. from BM_DBHYSYH
  35. where YEAR = #{year}
  36. </insert>
  37. </mapper>