클린파킹 관련 파일명 변경
parent
5b4ac42c6a
commit
12ca8fc87f
@ -0,0 +1,11 @@
|
||||
package cokr.xit.cp;
|
||||
|
||||
import cokr.xit.foundation.AbstractEntity;
|
||||
import lombok.Getter;
|
||||
import lombok.Setter;
|
||||
|
||||
@Getter
|
||||
@Setter
|
||||
public class CleanParkingEntity extends AbstractEntity {
|
||||
|
||||
}
|
@ -0,0 +1,9 @@
|
||||
package cokr.xit.cp;
|
||||
|
||||
import cokr.xit.fims.cmmn.CmmnQuery;
|
||||
|
||||
public class CleanParkingQuery extends CmmnQuery {
|
||||
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
}
|
@ -0,0 +1,16 @@
|
||||
package cokr.xit.cp.dao;
|
||||
|
||||
import java.util.List;
|
||||
|
||||
import org.egovframe.rte.psl.dataaccess.mapper.Mapper;
|
||||
|
||||
import cokr.xit.cp.CleanParkingQuery;
|
||||
import cokr.xit.foundation.component.AbstractMapper;
|
||||
import cokr.xit.foundation.data.DataObject;
|
||||
|
||||
@Mapper("cleanParkingMapper")
|
||||
public interface CleanParkingMapper extends AbstractMapper {
|
||||
|
||||
List<DataObject> selectList(CleanParkingQuery query);
|
||||
|
||||
}
|
@ -0,0 +1,16 @@
|
||||
package cokr.xit.cp.service.bean;
|
||||
|
||||
import javax.annotation.Resource;
|
||||
|
||||
import org.springframework.stereotype.Component;
|
||||
|
||||
import cokr.xit.cp.dao.CleanParkingMapper;
|
||||
import cokr.xit.foundation.component.AbstractBean;
|
||||
|
||||
@Component("cleanParkingBean")
|
||||
public class CleanParkingBean extends AbstractBean {
|
||||
|
||||
@Resource(name = "cleanParkingMapper")
|
||||
private CleanParkingMapper cleanParkingMapper;
|
||||
|
||||
}
|
@ -1,7 +0,0 @@
|
||||
package cokr.xit.cp.smg.dao;
|
||||
|
||||
import cokr.xit.foundation.component.AbstractMapper;
|
||||
|
||||
public interface CpMapper extends AbstractMapper {
|
||||
|
||||
}
|
@ -0,0 +1,97 @@
|
||||
<?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.cp.dao.CleanParkingMapper">
|
||||
|
||||
<select id="selectList" parameterType="cokr.xit.cp.CleanParkingQuery" resultType="dataObject">
|
||||
/* 클린파킹 단속자료 목록 조회(cleanParkingMapper.selectList) */
|
||||
<include refid="utility.paging-prefix"/>
|
||||
SELECT 'ECA' AS MM_TASKGB
|
||||
, MAIN.MM_CODE AS MM_CODE
|
||||
, MAIN.MM_SGGCODE AS MM_SGGCODE
|
||||
, MAIN.MM_DLGB AS MM_DLGB
|
||||
, MAIN.MM_INGB AS MM_INGB
|
||||
, MAIN.MM_DATE AS MM_DATE
|
||||
, MAIN.MM_TIME AS MM_TIME
|
||||
, MAIN.MM_LAWGB AS MM_LAWGB
|
||||
, MAIN.MM_SGNM AS MM_SGNM
|
||||
, MAIN.MM_SGTEL AS MM_SGTEL
|
||||
, MAIN.MM_SGCONT AS MM_SGCONT
|
||||
, MAIN.MM_SGPOS AS MM_SGPOS
|
||||
, MAIN.MM_BDCODE AS MM_BDCODE
|
||||
, MAIN.MM_GPS_X AS MM_GPS_X
|
||||
, MAIN.MM_GPS_Y AS MM_GPS_Y
|
||||
, MAIN.MM_TRAC AS MM_TRAC
|
||||
, MAIN.MM_SNO AS MM_SNO
|
||||
, MAIN.MM_IMAGECNT AS MM_IMAGECNT
|
||||
, MAIN.MM_IMAGEGB AS MM_IMAGEGB
|
||||
, MAIN.MM_CARNO AS MM_CARNO
|
||||
, MAIN.MM_VHMNO AS MM_VHMNO
|
||||
, MAIN.MM_CARGB AS MM_CARGB
|
||||
, MAIN.MM_CARKIND AS MM_CARKIND
|
||||
, MAIN.MM_OMCODE AS MM_OMCODE
|
||||
, MAIN.MM_SDATE AS MM_SDATE
|
||||
, MAIN.MM_EDATE AS MM_EDATE
|
||||
, MAIN.MM_KEUM1 AS MM_KEUM1
|
||||
, MAIN.MM_KEUM2 AS MM_KEUM2
|
||||
, MAIN.MM_SUKEUM AS MM_SUKEUM
|
||||
, MAIN.MM_MINUS_KEUM AS MM_MINUS_KEUM
|
||||
, MAIN.MM_ADD_KEUM AS MM_ADD_KEUM
|
||||
, MAIN.MM_RECALL AS MM_RECALL
|
||||
, MAIN.MM_INUSER AS MM_INUSER
|
||||
, MAIN.MM_INDT AS MM_INDT
|
||||
, MAIN.MM_STATE AS MM_STATE
|
||||
, MAIN.MM_STATE_DT AS MM_STATE_DT
|
||||
, MAIN.MM_CARCHECK AS MM_CARCHECK
|
||||
, MAIN.MM_PRECODE AS MM_PRECODE
|
||||
, MAIN.MM_ETC AS MM_ETC
|
||||
, MAIN.MM_VIDEOFILENM AS MM_VIDEOFILENM
|
||||
, MAIN.MM_SAFEZONE AS MM_SAFEZONE
|
||||
, MAIN.MM_VIORCNT AS MM_VIORCNT
|
||||
, MAIN.MM_TIME2 AS MM_TIME2
|
||||
, MAIN.MM_CARNAME AS MM_CARNAME
|
||||
, MAIN.MM_CARCOLOR AS MM_CARCOLOR
|
||||
, MAIN.MM_CARFUEL AS MM_CARFUEL
|
||||
, MAIN.MM_TRANSMIT_SGG AS MM_TRANSMIT_SGG
|
||||
, MAIN.MM_TRANSMIT_TEAM AS MM_TRANSMIT_TEAM
|
||||
, OWNE.OM_CODE AS OM_CODE
|
||||
, OWNE.OM_SGGCODE AS OM_SGGCODE
|
||||
, OWNE.OM_NAME AS OM_NAME
|
||||
, OWNE.OM_NO1 AS OM_NO1
|
||||
, OWNE.OM_JNO AS OM_JNO
|
||||
, OWNE.OM_NOGB AS OM_NOGB
|
||||
, OWNE.OM_JUSO AS OM_JUSO
|
||||
, OWNE.OM_BUNJI AS OM_BUNJI
|
||||
, OWNE.OM_ZIP AS OM_ZIP
|
||||
, OWNE.OM_DORO_CODE AS OM_DORO_CODE
|
||||
, OWNE.OM_BLD_POSITION AS OM_BLD_POSITION
|
||||
, OWNE.OM_BLD_NO1 AS OM_BLD_NO1
|
||||
, OWNE.OM_BLD_NO2 AS OM_BLD_NO2
|
||||
, OWNE.OM_BLD_ADMNO AS OM_BLD_ADMNO
|
||||
, OWNE.OM_INGB AS OM_INGB
|
||||
, OWNE.OM_INDT AS OM_INDT
|
||||
, OWNE.OM_BDCODE AS OM_BDCODE
|
||||
, MATC.MC_CODE AS MC_CODE
|
||||
, MATC.MC_LVY_KEY AS MC_LVY_KEY
|
||||
, MATC.MC_ACC_YEAR AS MC_ACC_YEAR
|
||||
, MATC.MC_LVY_NO AS MC_LVY_NO
|
||||
FROM (
|
||||
(
|
||||
cp_main_pt_eca MAIN
|
||||
JOIN cp_owner_pt_eca OWNE ON (MAIN.MM_OMCODE = OWNE.OM_CODE)
|
||||
)
|
||||
LEFT JOIN (
|
||||
SELECT cp_match_pt_eca.MC_CODE AS MC_CODE
|
||||
, cp_match_pt_eca.MC_MMCODE AS MC_MMCODE
|
||||
, cp_match_pt_eca.MC_LVY_KEY AS MC_LVY_KEY
|
||||
, cp_match_pt_eca.MC_ACC_YEAR AS MC_ACC_YEAR
|
||||
, cp_match_pt_eca.MC_LVY_NO AS MC_LVY_NO
|
||||
, ROW_NUMBER() OVER (PARTITION BY cp_match_pt_eca.MC_MMCODE ORDER BY cp_match_pt_eca.MC_INDT DESC) AS RN
|
||||
FROM cp_match_pt_eca
|
||||
) MATC ON (MATC.MC_MMCODE = MAIN.MM_CODE AND MATC.RN = 1)
|
||||
)
|
||||
WHERE 1=1
|
||||
<include refid="utility.sortBy" />
|
||||
<include refid="utility.paging-suffix"/>
|
||||
</select>
|
||||
|
||||
</mapper>
|
@ -1,5 +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.cp.smg.dao.CpMapper">
|
||||
|
||||
</mapper>
|
Loading…
Reference in New Issue