仪表盘
版本库
文件存储
活动
搜索
登录
老应
/
opo
后台
概况
操作记录
提交次数
目录
文档
分支
对比
blame
|
历史
|
原始文档
修改了统计
yxh
3 天以前
88d0598e43a959375187485891a6cf13712ac768
[~yxh/opo.git]
/
ruoyi-project
/
src
/
main
/
resources
/
mapper
/
project
/
SpStatBonusMapper.xml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
<?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.ruoyi.project.mapper.SpStatBonusMapper">
<!-- 新 SP 返回 dept_id / dept_name 下划线列,项目未开启 mapUnderscoreToCamelCase,需显式映射 -->
<resultMap id="SpStatBonusResult" type="com.ruoyi.project.domain.SpStatBonus">
<result property="bonusmonth" column="bonusmonth"/>
<result property="deptId" column="dept_id"/>
<result property="deptName" column="dept_name"/>
<result property="beneficiaryno" column="BeneficiaryNo"/>
<result property="beneficiaryname" column="BeneficiaryName"/>
<result property="amount" column="amount"/>
</resultMap>
<select id="getListBySpStatBonus" statementType="CALLABLE"
resultMap="SpStatBonusResult">
call `SP_STAT_BONUS`(#{PABEGTIME,mode=IN,jdbcType=VARCHAR},#{PAENDTIME,mode=IN,jdbcType=VARCHAR},#{PADEPTNO,mode=IN,jdbcType=VARCHAR},#{PAUSERNAME,mode=IN,jdbcType=VARCHAR},#{PABONUSTYPE,mode=IN,jdbcType=VARCHAR
})
</select>
</mapper>