| | |
| | | "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" |
| | | resultType="com.ruoyi.project.domain.SpStatBonus"> |
| | | call `SP_STAT_BONUS`(#{PABEGTIME,mode=IN,jdbcType=VARCHAR},#{PAENDTIME,mode=IN,jdbcType=VARCHAR},#{PADEPTNO,mode=IN,jdbcType=VARCHAR},#{PAUSERNO,mode=IN,jdbcType=VARCHAR},#{PABONUSTYPE,mode=IN,jdbcType=VARCHAR |
| | | 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> |
| | | </mapper> |