feiyu02
2024-01-09 c1becf4cbd2e99601ce011c14b8742427249cfb4
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
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
<?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="cn.flightfeather.supervision.domain.ds1.mapper.ScenseMapper" >
  <resultMap id="BaseResultMap" type="cn.flightfeather.supervision.domain.ds1.entity.Scense" >
    <!--
      WARNING - @mbg.generated
    -->
    <id column="S_GUID" property="guid" jdbcType="VARCHAR" />
    <result column="S_Name" property="name" jdbcType="VARCHAR" />
    <result column="S_TypeID" property="typeid" jdbcType="TINYINT" />
    <result column="S_Type" property="type" jdbcType="VARCHAR" />
    <result column="S_ScenseSubTypeID" property="scensesubtypeid" jdbcType="TINYINT" />
    <result column="S_ScenseSubType" property="scensesubtype" jdbcType="VARCHAR" />
    <result column="S_Location" property="location" jdbcType="VARCHAR" />
    <result column="S_Longitude" property="longitude" jdbcType="DECIMAL" />
    <result column="S_Latitude" property="latitude" jdbcType="DECIMAL" />
    <result column="S_ProvinceCode" property="provincecode" jdbcType="VARCHAR" />
    <result column="S_ProvinceName" property="provincename" jdbcType="VARCHAR" />
    <result column="S_CityCode" property="citycode" jdbcType="VARCHAR" />
    <result column="S_CityName" property="cityname" jdbcType="VARCHAR" />
    <result column="S_DistrictCode" property="districtcode" jdbcType="VARCHAR" />
    <result column="S_DistrictName" property="districtname" jdbcType="VARCHAR" />
    <result column="S_TownCode" property="towncode" jdbcType="VARCHAR" />
    <result column="S_TownName" property="townname" jdbcType="VARCHAR" />
    <result column="S_ContactsT" property="contactst" jdbcType="VARCHAR" />
    <result column="S_ContactsWX" property="contactswx" jdbcType="VARCHAR" />
    <result column="S_Contacts" property="contacts" jdbcType="VARCHAR" />
    <result column="S_CreateDate" property="createdate" jdbcType="TIMESTAMP" />
    <result column="S_UpdateDate" property="updatedate" jdbcType="TIMESTAMP" />
    <result column="S_Extension1" property="extension1" jdbcType="VARCHAR" />
    <result column="S_Extension2" property="extension2" jdbcType="VARCHAR" />
    <result column="S_Index" property="index" jdbcType="INTEGER" />
    <result column="S_Remark" property="remark" jdbcType="VARCHAR" />
  </resultMap>
  <sql id="Base_Column_List" >
    <!--
      WARNING - @mbg.generated
    -->
    S_GUID, S_Name, S_TypeID, S_Type, S_ScenseSubTypeID, S_ScenseSubType, S_Location, 
    S_Longitude, S_Latitude, S_ProvinceCode, S_ProvinceName, S_CityCode, S_CityName, 
    S_DistrictCode, S_DistrictName, S_TownCode, S_TownName, S_ContactsT, S_ContactsWX, 
    S_Contacts, S_CreateDate, S_UpdateDate, S_Extension1, S_Extension2, S_Index, S_Remark
  </sql>
 
  <select id="selectNoAccountScene" resultMap="BaseResultMap">
    select a.* FROM sm_t_scense as a LEFT JOIN sm_t_userinfo as b on a.S_GUID = b.D_GUID WHERE b.UI_GUID is null
  </select>
</mapper>