chushangcloud/chushang-modules/chushang-module-inspection/inspection-service/src/main/resources/mapper/TerminalMapper.xml

59 lines
4.1 KiB
XML

<?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="com.chushang.inspection.terminal.mapper.TerminalMapper">
<resultMap id="BaseResultMap" type="com.chushang.inspection.terminal.StTerminal">
<!--@mbg.generated-->
<!--@Table st_terminal-->
<id column="terminal_id" jdbcType="BIGINT" property="terminalId" />
<result column="dept_id" jdbcType="BIGINT" property="deptId" />
<result column="task_id" jdbcType="BIGINT" property="taskId" />
<result column="lower_task_id" jdbcType="BIGINT" property="lowerTaskId" />
<result column="store_id" jdbcType="BIGINT" property="storeId" />
<result column="store_no" jdbcType="VARCHAR" property="storeNo" />
<result column="terminal_sn" jdbcType="VARCHAR" property="terminalSn" />
<result column="terminal_no" jdbcType="VARCHAR" property="terminalNo" />
<result column="terminal_type" jdbcType="TINYINT" property="terminalType" />
<result column="terminal_model" jdbcType="VARCHAR" property="terminalModel" />
<result column="terminal_version" jdbcType="VARCHAR" property="terminalVersion" />
<result column="terminal_address" jdbcType="VARCHAR" property="terminalAddress" />
<result column="terminal_source" jdbcType="TINYINT" property="terminalSource" />
<result column="terminal_property" jdbcType="TINYINT" property="terminalProperty" />
<result column="occupy" jdbcType="BOOLEAN" property="occupy" />
<result column="terminal_status" jdbcType="TINYINT" property="terminalStatus" />
<result column="state" jdbcType="TINYINT" property="state" />
<result column="remark" jdbcType="VARCHAR" property="remark" />
<result column="management_code" jdbcType="VARCHAR" property="managementCode" />
<result column="geographic_location" jdbcType="VARCHAR" property="geographicLocation" />
<result column="geographic_address" jdbcType="VARCHAR" property="geographicAddress" />
<result column="work_location" jdbcType="VARCHAR" property="workLocation" />
<result column="work_adderss" jdbcType="VARCHAR" property="workAdderss" />
<result column="deviation" jdbcType="BIGINT" property="deviation" />
<result column="storage_time" jdbcType="TIMESTAMP" property="storageTime" />
<result column="delivery_time" jdbcType="TIMESTAMP" property="deliveryTime" />
<result column="reason_for_shipment" jdbcType="TINYINT" property="reasonForShipment" />
<result column="operator_id" jdbcType="VARCHAR" property="operatorId" />
<result column="precode_encoding" jdbcType="VARCHAR" property="precodeEncoding" />
<result column="is_enter" jdbcType="TINYINT" property="isEnter" />
<result column="service_result" jdbcType="TINYINT" property="serviceResult" />
<result column="times_pass" jdbcType="INTEGER" property="timesPass" />
<result column="inspection_status" jdbcType="TINYINT" property="inspectionStatus" />
<result column="inspection_time" jdbcType="TIMESTAMP" property="inspectionTime" />
<result column="version" jdbcType="BIGINT" property="version" />
<result column="del_state" jdbcType="BOOLEAN" property="delState" />
<result column="create_by" jdbcType="VARCHAR" property="createBy" />
<result column="create_time" jdbcType="TIMESTAMP" property="createTime" />
<result column="update_by" jdbcType="VARCHAR" property="updateBy" />
<result column="update_time" jdbcType="TIMESTAMP" property="updateTime" />
</resultMap>
<sql id="Base_Column_List">
<!--@mbg.generated-->
terminal_id, dept_id, task_id, lower_task_id, store_id, store_no, terminal_sn, terminal_no,
terminal_type, terminal_model, terminal_version, terminal_address, terminal_source,
terminal_property, occupy, terminal_status, `state`, remark, management_code, geographic_location,
geographic_address, work_location, work_adderss, deviation, storage_time, delivery_time,
reason_for_shipment, operator_id, precode_encoding, is_enter, service_result, times_pass,
inspection_status, inspection_time, version, del_state, create_by, create_time, update_by,
update_time
</sql>
</mapper>