Commit a22e7af3 by Warden

订单管理

parent a6c5c26d
package com.winsun.bean;
import java.io.Serializable;
import java.sql.Date;
import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.annotations.TableName;
import com.baomidou.mybatisplus.enums.IdType;
import lombok.Data;
/**
* 订单
*
*/
@Data
@TableName("hhr_order")
public class Order implements Serializable{
/**
* 主键
*/
@TableId(value = "id", type = IdType.AUTO)
private int id;
/**
* 订单号
*/
private String orderNumber;
/**
* 小白卡订单号id
*/
private String xbOrderId;
/**
* 订单id
*/
private String orderId;
/**
* 订单状态
*/
private String orderStatus;
/**
* 合伙人id
*/
private String hehuorenId;
/**
* 套餐id
*/
private String packageId;
/**
* 客户姓名
*/
private String customerName;
/**
* 办理号码
*/
private String businessNumber;
/**
* 联系号码
*/
private String contactNumber;
/**
* 身份证号码
*/
private String idCard;
/**
* 办理号码ICCID
*/
private String businessIccid;
/**
* 卡品
*/
private String kapin;
/**
* 身份证正面地址
*/
private String idCardz;
/**
* 身份证反面地址
*/
private String idCardf;
/**
* 手持身份证正面地址
*/
private String idCardzs;
/**
* 学生卡
*/
private String studenCard;
/**
* 创建时间
*/
private Date createTime;
/**
* 订单完成时间
*/
private Date successTime;
/**
* 地址
*/
private String address;
/**
* 备注
*/
private String remarks;
/**
* 快递公司
*/
private String company;
/**
* 快递单号
*/
private String kuaidiOrder;
/**
* 省市县
*/
private String site;
/**
* 预实名返回值
*/
private String msg;
/**
* 派送方式
*/
private String sendType;
/**
* 现有套餐
*/
private String nowPackage;
/**
* 办理套餐
*/
private String businessPackage;
/**
* 老用户id
*/
private String userId;
/**
* 老用户办理类型1:套餐更换,2:单宽进融合,3融合提速,4充值
*/
private String userBussinessType;
/**
* 用户类型(1:老客户;0新客户;2:老客户续约3:融合 4:抽奖;5:单宽;6:羊城通卡)
*/
private String userType;
/**
* 受理结果(通过/不通过)
*/
private String acceptResult;
/**
* 受理人
*/
private String acceptName;
/**
* 受理意见
*/
private String acceptComment;
/**
* 受理时间
*/
private Date acceptDate;
/**
* 提交佣金系统次数
*/
private int yjCount;
/**
* 提交佣金系统结果
*/
private String yjType;
/**
* 新用户提交方式0督导1本人
*/
private int tjType;
/**
* 小白卡1单移 2融合
*/
private int xbType;
/**
* 宽带账号
*/
private String netNumber;
/**
* 宽带密码
*/
private String netPassword;
/**
* 学校
*/
//private String userSchool;
/**
* 学生证审核状态, 0 未审核,1已审核
*/
private String studentCardCheckStatus;
/**
* 失败原因
*/
private String checkFail;
/**
* 资费
*/
private String expenses;
/**
* 办理标识
*/
private String identifying;
/**
* 宽带id
*/
private String kdOrderId;
/**
* 奖品的账号
*/
private String giftAccount;
/**
* 奖品的密码
*/
private String giftPassword;
/**
* 合伙人县分
*/
private String hehuorenArea;
/**
* 合伙人县分
*/
private String hehuorenName;
/**
*
*/
private String hehuorenSchool;
/**
*
*/
private String hehuorenPhone;
/**
*
*/
private String supervisorName;
/**
*
*/
private String lzgh;
/**
* 对应的智能平台上订单的状态
*/
private String thStatus;
/**
*
*/
private String studentNumber;
/**
* 班级
*/
private String classNumber;
/**
* 父母名字
*/
private String parentName;
}
package com.winsun.mapper;
import java.util.List;
import java.util.Map;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;
import org.springframework.stereotype.Component;
import com.baomidou.mybatisplus.mapper.BaseMapper;
import com.baomidou.mybatisplus.mapper.Wrapper;
import com.winsun.bean.Order;
import com.winsun.bean.OrderView;
@Mapper
@Component
public interface OrderMapper extends BaseMapper<Order> {
@Select("<script>SELECT * FROM `hhr_order` <where> ${ew.sqlSegment} </where> </script>")
List<Map<String, Object>> downloadOrder(@Param("ew") Wrapper<Order> wrapper);
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment