Blame view

src/main/resources/mybatis/primary/system/CodeMapper.xml 799 Bytes
2034b5b1   함상기   Init Version 2024...
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
  <?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="daeucna.mapper.primary.system.CodeMapper">

  	

      <select id="getCmmnCode" 

      		parameterType="CodeDto" 

      		resultType="CodeDto">

  		SELECT

  		    m.code_ty

  		    , m.cmmn_code

  		    , m.mng_iem_1

  		    , m.mng_iem_2

  		    , m.mng_iem_3

  		    , m.mng_iem_4

  		    , m.ordr

  		    , m.use_at

  		    , m.register

  		    , m.input_de

  		    , m.updusr

  		    , m.updt_de

  			, s.lcal

  			, s.cmmn_code_nm

  		FROM

  		    public.sy_cmmn_code_mng m

  			LEFT OUTER JOIN public.sy_cmmn_code_mng_nls s

  			ON

  				m.code_ty = s.code_ty

  				and m.cmmn_code = s.cmmn_code

  				and lcal = #{lcal};

      </select>

      

  </mapper>