src/com/shop/mapper/OsOrderMapper.xml

(开头部分) 16KB

这里只显示每个文件的开头 60 行。登录后可以解锁完整代码。

<?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.shop.dao.OsOrderMapper">
  <resultMap id="BaseResultMap" type="com.shop.po.OsOrder">
    <id column="order_id" jdbcType="BIGINT" property="orderId" />
    <result column="order_number" jdbcType="BIGINT" property="orderNumber" />
    <result column="user_id" jdbcType="BIGINT" property="userId" />
    <result column="pay_type" jdbcType="TINYINT" property="payType" />
    <result column="shipment_time" jdbcType="TINYINT" property="shipmentTime" />
    <result column="shipment_type" jdbcType="TINYINT" property="shipmentType" />
    <result column="shipment_amount" jdbcType="DECIMAL" property="shipmentAmount" />
    <result column="invoice_type" jdbcType="TINYINT" property="invoiceType" />
    <result column="invoice_title" jdbcType="VARCHAR" property="invoiceTitle" />
    <result column="order_status" jdbcType="TINYINT" property="orderStatus" />
    <result column="create_time" jdbcType="TIMESTAMP" property="createTime" />
    <result column="update_time" jdbcType="TIMESTAMP" property="updateTime" />
    <result column="order_amount" jdbcType="DECIMAL" property="orderAmount" />
    <result column="order_score" jdbcType="INTEGER" property="orderScore" />
    <result column="pay_amount" jdbcType="DECIMAL" property="payAmount" />
    <result column="buy_number" jdbcType="INTEGER" property="buyNumber" />
  	<association property="user" select="getUserById" column="user_id"></association>
  </resultMap>
  
  <resultMap id="umap" type="com.shop.po.OsUser">
    <id column="user_id" jdbcType="BIGINT" property="userId" />
    <result column="user_number" jdbcType="BIGINT" property="userNumber" />
    <result column="user_name" jdbcType="VARCHAR" property="userName" />
    <result column="login_password" jdbcType="VARCHAR" property="loginPassword" />
    <result column="real_name" jdbcType="VARCHAR" property="realName" />
    <result column="sex" jdbcType="BIT" property="sex" />
    <result column="age" jdbcType="TINYINT" property="age" />
    <result column="pic_img" jdbcType="VARCHAR" property="picImg" />
    <result column="status" jdbcType="BIT" property="status" />
    <result column="telephone" jdbcType="VARCHAR" property="telephone" />
    <result column="regeist_time" jdbcType="TIMESTAMP" property="regeistTime" />
    <result column="update_time" jdbcType="TIMESTAMP" property="updateTime" />
  	
  </resultMap>

  <resultMap id="OrderVOResultMap" type="com.shop.vo.OrderVO">
    <id column="order_id1" jdbcType="BIGINT" property="orderId" />
    <result column="order_number" jdbcType="BIGINT" property="orderNumber" />
    <result column="user_id" jdbcType="BIGINT" property="userId" />
    <result column="pay_type" jdbcType="TINYINT" property="payType" />
    <result column="shipment_time" jdbcType="TINYINT" property="shipmentTime" />
    <result column="shipment_type" jdbcType="TINYINT" property="shipmentType" />
    <result column="shipment_amount" jdbcType="DECIMAL" property="shipmentAmount" />
    <result column="invoice_type" jdbcType="TINYINT" property="invoiceType" />
    <result column="invoice_title" jdbcType="VARCHAR" property="invoiceTitle" />
    <result column="order_status1" jdbcType="TINYINT" property="orderStatus" />
    <result column="create_time1" jdbcType="TIMESTAMP" property="createTime" />
    <result column="update_time1" jdbcType="TIMESTAMP" property="updateTime" />
    <result column="order_amount" jdbcType="DECIMAL" property="orderAmount" />
    <result column="order_score" jdbcType="INTEGER" property="orderScore" />
    <result column="pay_amount" jdbcType="DECIMAL" property="payAmount" />
    <result column="buy_number" jdbcType="INTEGER" property="buyNumber" />
    <association property="osOrderShipment" javaType="com.shop.po.OsOrderShipment">
      <id column="order_shipment_id4" jdbcType="BIGINT" property="orderShipmentId" />
      <result column="order_id4" jdbcType="BIGINT" property="orderId" />
      <result column="user_name4" jdbcType="VARCHAR" property="userName" />
后面还有 311 行代码,购买后查看完整代码

24 小时内免费解锁 3 个项目,之后 1 算力/个。 规则说明

AI 解读 AI

登录后可用,每次 10 算力,解读结果公开显示在下面。

还没有人解读过这个文件。