wuzeyu
2024-12-11 d6cfbecac57cf88eb8f63bd9c260e41f49e1e381
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd">
<mapper namespace="com.dy.pipIrrGlobal.daoTmp.DeleteMapper">
  <select id="selectAllStLossMonth" resultType="com.dy.pipIrrGlobal.voTmp.VoStLossMonth">
    select id as id,
            intake_id as intakeId ,
            year as year,
            month as month,
            amount as amount
    from  st_loss_month
    order by id DESC, intake_id DESC, year DESC, month DESC
  </select>
 
  <delete id="deleteByMainKey" parameterType="java.lang.Long">
    delete from st_loss_year
    where id = #{id,jdbcType=BIGINT}
  </delete>
</mapper>