| | |
| | | private String reserveTime; |
| | | @ApiModelProperty(value="订单总金额") |
| | | private BigDecimal totalPrice; |
| | | @ApiModelProperty(value="总重") |
| | | private BigDecimal totalWeight; |
| | | @ApiModelProperty(value="状态 1-待接单2-服务中3-已收款4-待入库5-已完成6-已取消") |
| | | private Integer status; |
| | | @ApiModelProperty(value="集物员") |
| | |
| | | b.nick_name name, |
| | | b.mobile_phone mobilePhone, |
| | | (select ifnull(sum(price*weight*40),0) from xzx_jhy_order_items where order_id = a.id) totalPrice, |
| | | (select ifnull(sum(weight),0) from xzx_jhy_order_items where order_id = a.id) totalWeight, |
| | | d.username username |
| | | FROM |
| | | xzx_jhy_order a |
| | |
| | | 1=1 |
| | | <if test="record.name != null and record.name != ''"> |
| | | and (username like concat('%',#{record.name},'%') |
| | | or phone like concat('%',#{record.phone},'%') ) |
| | | or mobile like concat('%',#{record.name},'%') ) |
| | | </if> |
| | | <if test="record.isJhy != null and record.isJhy != ''"> |
| | | and is_jhy=#{record.isJhy} |