소스 정리
parent
69cdea3caa
commit
2982685767
@ -1,21 +0,0 @@
|
||||
package cokr.xit.fims.stat.dao;
|
||||
|
||||
import org.egovframe.rte.psl.dataaccess.mapper.Mapper;
|
||||
|
||||
import cokr.xit.foundation.component.AbstractMapper;
|
||||
import cokr.xit.foundation.data.DataObject;
|
||||
|
||||
@Mapper("statMapper")
|
||||
public interface StatMapper extends AbstractMapper {
|
||||
|
||||
DataObject selectVltnById(String vltnId);
|
||||
|
||||
DataObject selectSggByCode(String sggCd);
|
||||
|
||||
DataObject selectDeptByCode(String deptCd);
|
||||
|
||||
DataObject selectUserById(String userId);
|
||||
|
||||
DataObject selectTeamById(String teamId);
|
||||
|
||||
}
|
@ -1,40 +0,0 @@
|
||||
<?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="cokr.xit.fims.stat.dao.StatMapper">
|
||||
|
||||
<select id="selectVltnById" parameterType="string" resultType="dataobject">
|
||||
SELECT VLTN_ID
|
||||
, VLTN_NM AS NAME
|
||||
FROM TB_VLTN
|
||||
WHERE VLTN_ID = #{vltnId}
|
||||
</select>
|
||||
|
||||
<select id="selectSggByCode" parameterType="string" resultType="dataobject">
|
||||
SELECT SGG_CD
|
||||
, SGG_NM AS NAME
|
||||
FROM TB_SGG
|
||||
WHERE SGG_CD = #{sggCd}
|
||||
</select>
|
||||
|
||||
<select id="selectDeptByCode" parameterType="string" resultType="dataobject">
|
||||
SELECT DEPT_CD
|
||||
, DEPT_NM AS NAME
|
||||
FROM TB_DEPT
|
||||
WHERE DEPT_CD = #{deptCd}
|
||||
</select>
|
||||
|
||||
<select id="selectUserById" parameterType="string" resultType="dataobject">
|
||||
SELECT USER_ID
|
||||
, USER_NM AS NAME
|
||||
FROM TB_USER
|
||||
WHERE USER_ID = #{userId}
|
||||
</select>
|
||||
|
||||
<select id="selectTeamById" parameterType="string" resultType="dataobject">
|
||||
SELECT TEAM_ID
|
||||
, TEAM_NM AS NAME
|
||||
FROM TB_TEAM
|
||||
WHERE TEAM_ID = #{teamId}
|
||||
</select>
|
||||
|
||||
</mapper>
|
Loading…
Reference in New Issue