保存进度!
This commit is contained in:
		@@ -14,4 +14,6 @@ import java.util.HashMap;
 | 
			
		||||
public interface ArchievementMapper
 | 
			
		||||
{
 | 
			
		||||
    public void getDepartmentArchievement( HashMap<String, Object> params );
 | 
			
		||||
 | 
			
		||||
    public void getCallerArchievement( HashMap<String, Object> params );
 | 
			
		||||
}
 | 
			
		||||
 
 | 
			
		||||
@@ -9,6 +9,15 @@
 | 
			
		||||
            #{a_total, mode=OUT, jdbcType=INTEGER, javaType=Integer},
 | 
			
		||||
            #{a_mensual_cur, mode=OUT, jdbcType=CURSOR, resultMap=MensualArchievementMapper})
 | 
			
		||||
    </select>
 | 
			
		||||
    <select id="getCallerArchievement" statementType="CALLABLE" parameterType="java.util.HashMap">
 | 
			
		||||
        call telsale_archievement_pkg.caller_archievement(
 | 
			
		||||
            #{a_department_code, mode=IN, jdbcType=VARCHAR},
 | 
			
		||||
            #{a_attaching_rate, mode=OUT, jdbcType=VARCHAR},
 | 
			
		||||
            #{a_renewal_rate, mode=OUT, jdbcType=VARCHAR},
 | 
			
		||||
            #{a_total, mode=OUT, jdbcType=INTEGER, javaType=Integer},
 | 
			
		||||
            #{a_mensual_cur, mode=OUT, jdbcType=CURSOR, resultMap=MensualArchievementMapper})
 | 
			
		||||
    </select>
 | 
			
		||||
 | 
			
		||||
    <resultMap id="MensualArchievementMapper" type="MensualArchievementItem">
 | 
			
		||||
        <id property="month" column="mm" javaType="INT"/>
 | 
			
		||||
        <result property="premium" column="bf" />
 | 
			
		||||
 
 | 
			
		||||
@@ -83,19 +83,4 @@ public class DesktopArchievementTest
 | 
			
		||||
            assert (false);
 | 
			
		||||
        }
 | 
			
		||||
    }
 | 
			
		||||
 | 
			
		||||
    @Test
 | 
			
		||||
    public void testDepartmentArchievement2()
 | 
			
		||||
    {
 | 
			
		||||
        try
 | 
			
		||||
        {
 | 
			
		||||
            DepartmentArchievement arch = DepartmentArchievement.getDepartmentArchievement( "QDI" );
 | 
			
		||||
        
 | 
			
		||||
            System.out.println( arch.toString() );
 | 
			
		||||
        }
 | 
			
		||||
        catch ( IOException error )
 | 
			
		||||
        {
 | 
			
		||||
            assert (false);
 | 
			
		||||
        }
 | 
			
		||||
    }
 | 
			
		||||
}
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user