Commit 7a2adf6e by XiaHou

修复万科接口

parent 0f0aeb6c
package com.macro.mall.mapper;
import com.macro.mall.model.VankeInboundRecord;
import com.macro.mall.model.VankeInboundRecordExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;
public interface VankeInboundRecordMapper {
long countByExample(VankeInboundRecordExample example);
int deleteByExample(VankeInboundRecordExample example);
int deleteByPrimaryKey(Long id);
int insert(VankeInboundRecord record);
int insertSelective(VankeInboundRecord record);
List<VankeInboundRecord> selectByExample(VankeInboundRecordExample example);
VankeInboundRecord selectByPrimaryKey(Long id);
int updateByExampleSelective(@Param("record") VankeInboundRecord record, @Param("example") VankeInboundRecordExample example);
int updateByExample(@Param("record") VankeInboundRecord record, @Param("example") VankeInboundRecordExample example);
int updateByPrimaryKeySelective(VankeInboundRecord record);
int updateByPrimaryKey(VankeInboundRecord record);
}
\ No newline at end of file
package com.macro.mall.mapper;
import com.macro.mall.model.VankeOutboundRecord;
import com.macro.mall.model.VankeOutboundRecordExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;
public interface VankeOutboundRecordMapper {
long countByExample(VankeOutboundRecordExample example);
int deleteByExample(VankeOutboundRecordExample example);
int deleteByPrimaryKey(Long id);
int insert(VankeOutboundRecord record);
int insertSelective(VankeOutboundRecord record);
List<VankeOutboundRecord> selectByExample(VankeOutboundRecordExample example);
VankeOutboundRecord selectByPrimaryKey(Long id);
int updateByExampleSelective(@Param("record") VankeOutboundRecord record, @Param("example") VankeOutboundRecordExample example);
int updateByExample(@Param("record") VankeOutboundRecord record, @Param("example") VankeOutboundRecordExample example);
int updateByPrimaryKeySelective(VankeOutboundRecord record);
int updateByPrimaryKey(VankeOutboundRecord record);
}
\ No newline at end of file
package com.macro.mall.model;
import io.swagger.annotations.ApiModelProperty;
import java.io.Serializable;
import java.util.Date;
import javax.persistence.*;
import org.springframework.format.annotation.DateTimeFormat;
@Entity
public class VankeInboundRecord implements Serializable {
@ApiModelProperty(value = "id")
@Id
@GeneratedValue(strategy= GenerationType.IDENTITY)
private Long id;
@ApiModelProperty(value = "入库单号")
private String inboundNo;
@ApiModelProperty(value = "物品id")
private Long goodsId;
@ApiModelProperty(value = "所属库房id")
private Long stockRoomId;
@ApiModelProperty(value = "入库数量")
private Integer inboundNum;
@ApiModelProperty(value = "前台入库员id")
private Long receptInboundMemberId;
@ApiModelProperty(value = "后台入库员id")
private Long backInboundMemberId;
@ApiModelProperty(value = "1未删除 0已删除")
private Integer deleteStatus;
@ApiModelProperty(value = "创建时间")
@DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
private Date createtime;
private static final long serialVersionUID = 1L;
public Long getId() {
return id;
}
public void setId(Long id) {
this.id = id;
}
public String getInboundNo() {
return inboundNo;
}
public void setInboundNo(String inboundNo) {
this.inboundNo = inboundNo;
}
public Long getGoodsId() {
return goodsId;
}
public void setGoodsId(Long goodsId) {
this.goodsId = goodsId;
}
public Long getStockRoomId() {
return stockRoomId;
}
public void setStockRoomId(Long stockRoomId) {
this.stockRoomId = stockRoomId;
}
public Integer getInboundNum() {
return inboundNum;
}
public void setInboundNum(Integer inboundNum) {
this.inboundNum = inboundNum;
}
public Long getReceptInboundMemberId() {
return receptInboundMemberId;
}
public void setReceptInboundMemberId(Long receptInboundMemberId) {
this.receptInboundMemberId = receptInboundMemberId;
}
public Long getBackInboundMemberId() {
return backInboundMemberId;
}
public void setBackInboundMemberId(Long backInboundMemberId) {
this.backInboundMemberId = backInboundMemberId;
}
public Integer getDeleteStatus() {
return deleteStatus;
}
public void setDeleteStatus(Integer deleteStatus) {
this.deleteStatus = deleteStatus;
}
public Date getCreatetime() {
return createtime;
}
public void setCreatetime(Date createtime) {
this.createtime = createtime;
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append(getClass().getSimpleName());
sb.append(" [");
sb.append("Hash = ").append(hashCode());
sb.append(", id=").append(id);
sb.append(", inboundNo=").append(inboundNo);
sb.append(", goodsId=").append(goodsId);
sb.append(", stockRoomId=").append(stockRoomId);
sb.append(", inboundNum=").append(inboundNum);
sb.append(", receptInboundMemberId=").append(receptInboundMemberId);
sb.append(", backInboundMemberId=").append(backInboundMemberId);
sb.append(", deleteStatus=").append(deleteStatus);
sb.append(", createtime=").append(createtime);
sb.append(", serialVersionUID=").append(serialVersionUID);
sb.append("]");
return sb.toString();
}
}
\ No newline at end of file
package com.macro.mall.model;
import java.util.ArrayList;
import java.util.Date;
import java.util.List;
public class VankeInboundRecordExample {
protected String orderByClause;
protected boolean distinct;
protected List<Criteria> oredCriteria;
public VankeInboundRecordExample() {
oredCriteria = new ArrayList<Criteria>();
}
public void setOrderByClause(String orderByClause) {
this.orderByClause = orderByClause;
}
public String getOrderByClause() {
return orderByClause;
}
public void setDistinct(boolean distinct) {
this.distinct = distinct;
}
public boolean isDistinct() {
return distinct;
}
public List<Criteria> getOredCriteria() {
return oredCriteria;
}
public void or(Criteria criteria) {
oredCriteria.add(criteria);
}
public Criteria or() {
Criteria criteria = createCriteriaInternal();
oredCriteria.add(criteria);
return criteria;
}
public Criteria createCriteria() {
Criteria criteria = createCriteriaInternal();
if (oredCriteria.size() == 0) {
oredCriteria.add(criteria);
}
return criteria;
}
protected Criteria createCriteriaInternal() {
Criteria criteria = new Criteria();
return criteria;
}
public void clear() {
oredCriteria.clear();
orderByClause = null;
distinct = false;
}
protected abstract static class GeneratedCriteria {
protected List<Criterion> criteria;
protected GeneratedCriteria() {
super();
criteria = new ArrayList<Criterion>();
}
public boolean isValid() {
return criteria.size() > 0;
}
public List<Criterion> getAllCriteria() {
return criteria;
}
public List<Criterion> getCriteria() {
return criteria;
}
protected void addCriterion(String condition) {
if (condition == null) {
throw new RuntimeException("Value for condition cannot be null");
}
criteria.add(new Criterion(condition));
}
protected void addCriterion(String condition, Object value, String property) {
if (value == null) {
throw new RuntimeException("Value for " + property + " cannot be null");
}
criteria.add(new Criterion(condition, value));
}
protected void addCriterion(String condition, Object value1, Object value2, String property) {
if (value1 == null || value2 == null) {
throw new RuntimeException("Between values for " + property + " cannot be null");
}
criteria.add(new Criterion(condition, value1, value2));
}
public Criteria andIdIsNull() {
addCriterion("id is null");
return (Criteria) this;
}
public Criteria andIdIsNotNull() {
addCriterion("id is not null");
return (Criteria) this;
}
public Criteria andIdEqualTo(Long value) {
addCriterion("id =", value, "id");
return (Criteria) this;
}
public Criteria andIdNotEqualTo(Long value) {
addCriterion("id <>", value, "id");
return (Criteria) this;
}
public Criteria andIdGreaterThan(Long value) {
addCriterion("id >", value, "id");
return (Criteria) this;
}
public Criteria andIdGreaterThanOrEqualTo(Long value) {
addCriterion("id >=", value, "id");
return (Criteria) this;
}
public Criteria andIdLessThan(Long value) {
addCriterion("id <", value, "id");
return (Criteria) this;
}
public Criteria andIdLessThanOrEqualTo(Long value) {
addCriterion("id <=", value, "id");
return (Criteria) this;
}
public Criteria andIdIn(List<Long> values) {
addCriterion("id in", values, "id");
return (Criteria) this;
}
public Criteria andIdNotIn(List<Long> values) {
addCriterion("id not in", values, "id");
return (Criteria) this;
}
public Criteria andIdBetween(Long value1, Long value2) {
addCriterion("id between", value1, value2, "id");
return (Criteria) this;
}
public Criteria andIdNotBetween(Long value1, Long value2) {
addCriterion("id not between", value1, value2, "id");
return (Criteria) this;
}
public Criteria andInboundNoIsNull() {
addCriterion("inbound_no is null");
return (Criteria) this;
}
public Criteria andInboundNoIsNotNull() {
addCriterion("inbound_no is not null");
return (Criteria) this;
}
public Criteria andInboundNoEqualTo(String value) {
addCriterion("inbound_no =", value, "inboundNo");
return (Criteria) this;
}
public Criteria andInboundNoNotEqualTo(String value) {
addCriterion("inbound_no <>", value, "inboundNo");
return (Criteria) this;
}
public Criteria andInboundNoGreaterThan(String value) {
addCriterion("inbound_no >", value, "inboundNo");
return (Criteria) this;
}
public Criteria andInboundNoGreaterThanOrEqualTo(String value) {
addCriterion("inbound_no >=", value, "inboundNo");
return (Criteria) this;
}
public Criteria andInboundNoLessThan(String value) {
addCriterion("inbound_no <", value, "inboundNo");
return (Criteria) this;
}
public Criteria andInboundNoLessThanOrEqualTo(String value) {
addCriterion("inbound_no <=", value, "inboundNo");
return (Criteria) this;
}
public Criteria andInboundNoLike(String value) {
addCriterion("inbound_no like", value, "inboundNo");
return (Criteria) this;
}
public Criteria andInboundNoNotLike(String value) {
addCriterion("inbound_no not like", value, "inboundNo");
return (Criteria) this;
}
public Criteria andInboundNoIn(List<String> values) {
addCriterion("inbound_no in", values, "inboundNo");
return (Criteria) this;
}
public Criteria andInboundNoNotIn(List<String> values) {
addCriterion("inbound_no not in", values, "inboundNo");
return (Criteria) this;
}
public Criteria andInboundNoBetween(String value1, String value2) {
addCriterion("inbound_no between", value1, value2, "inboundNo");
return (Criteria) this;
}
public Criteria andInboundNoNotBetween(String value1, String value2) {
addCriterion("inbound_no not between", value1, value2, "inboundNo");
return (Criteria) this;
}
public Criteria andGoodsIdIsNull() {
addCriterion("goods_id is null");
return (Criteria) this;
}
public Criteria andGoodsIdIsNotNull() {
addCriterion("goods_id is not null");
return (Criteria) this;
}
public Criteria andGoodsIdEqualTo(Long value) {
addCriterion("goods_id =", value, "goodsId");
return (Criteria) this;
}
public Criteria andGoodsIdNotEqualTo(Long value) {
addCriterion("goods_id <>", value, "goodsId");
return (Criteria) this;
}
public Criteria andGoodsIdGreaterThan(Long value) {
addCriterion("goods_id >", value, "goodsId");
return (Criteria) this;
}
public Criteria andGoodsIdGreaterThanOrEqualTo(Long value) {
addCriterion("goods_id >=", value, "goodsId");
return (Criteria) this;
}
public Criteria andGoodsIdLessThan(Long value) {
addCriterion("goods_id <", value, "goodsId");
return (Criteria) this;
}
public Criteria andGoodsIdLessThanOrEqualTo(Long value) {
addCriterion("goods_id <=", value, "goodsId");
return (Criteria) this;
}
public Criteria andGoodsIdIn(List<Long> values) {
addCriterion("goods_id in", values, "goodsId");
return (Criteria) this;
}
public Criteria andGoodsIdNotIn(List<Long> values) {
addCriterion("goods_id not in", values, "goodsId");
return (Criteria) this;
}
public Criteria andGoodsIdBetween(Long value1, Long value2) {
addCriterion("goods_id between", value1, value2, "goodsId");
return (Criteria) this;
}
public Criteria andGoodsIdNotBetween(Long value1, Long value2) {
addCriterion("goods_id not between", value1, value2, "goodsId");
return (Criteria) this;
}
public Criteria andStockRoomIdIsNull() {
addCriterion("stock_room_id is null");
return (Criteria) this;
}
public Criteria andStockRoomIdIsNotNull() {
addCriterion("stock_room_id is not null");
return (Criteria) this;
}
public Criteria andStockRoomIdEqualTo(Long value) {
addCriterion("stock_room_id =", value, "stockRoomId");
return (Criteria) this;
}
public Criteria andStockRoomIdNotEqualTo(Long value) {
addCriterion("stock_room_id <>", value, "stockRoomId");
return (Criteria) this;
}
public Criteria andStockRoomIdGreaterThan(Long value) {
addCriterion("stock_room_id >", value, "stockRoomId");
return (Criteria) this;
}
public Criteria andStockRoomIdGreaterThanOrEqualTo(Long value) {
addCriterion("stock_room_id >=", value, "stockRoomId");
return (Criteria) this;
}
public Criteria andStockRoomIdLessThan(Long value) {
addCriterion("stock_room_id <", value, "stockRoomId");
return (Criteria) this;
}
public Criteria andStockRoomIdLessThanOrEqualTo(Long value) {
addCriterion("stock_room_id <=", value, "stockRoomId");
return (Criteria) this;
}
public Criteria andStockRoomIdIn(List<Long> values) {
addCriterion("stock_room_id in", values, "stockRoomId");
return (Criteria) this;
}
public Criteria andStockRoomIdNotIn(List<Long> values) {
addCriterion("stock_room_id not in", values, "stockRoomId");
return (Criteria) this;
}
public Criteria andStockRoomIdBetween(Long value1, Long value2) {
addCriterion("stock_room_id between", value1, value2, "stockRoomId");
return (Criteria) this;
}
public Criteria andStockRoomIdNotBetween(Long value1, Long value2) {
addCriterion("stock_room_id not between", value1, value2, "stockRoomId");
return (Criteria) this;
}
public Criteria andInboundNumIsNull() {
addCriterion("inbound_num is null");
return (Criteria) this;
}
public Criteria andInboundNumIsNotNull() {
addCriterion("inbound_num is not null");
return (Criteria) this;
}
public Criteria andInboundNumEqualTo(Integer value) {
addCriterion("inbound_num =", value, "inboundNum");
return (Criteria) this;
}
public Criteria andInboundNumNotEqualTo(Integer value) {
addCriterion("inbound_num <>", value, "inboundNum");
return (Criteria) this;
}
public Criteria andInboundNumGreaterThan(Integer value) {
addCriterion("inbound_num >", value, "inboundNum");
return (Criteria) this;
}
public Criteria andInboundNumGreaterThanOrEqualTo(Integer value) {
addCriterion("inbound_num >=", value, "inboundNum");
return (Criteria) this;
}
public Criteria andInboundNumLessThan(Integer value) {
addCriterion("inbound_num <", value, "inboundNum");
return (Criteria) this;
}
public Criteria andInboundNumLessThanOrEqualTo(Integer value) {
addCriterion("inbound_num <=", value, "inboundNum");
return (Criteria) this;
}
public Criteria andInboundNumIn(List<Integer> values) {
addCriterion("inbound_num in", values, "inboundNum");
return (Criteria) this;
}
public Criteria andInboundNumNotIn(List<Integer> values) {
addCriterion("inbound_num not in", values, "inboundNum");
return (Criteria) this;
}
public Criteria andInboundNumBetween(Integer value1, Integer value2) {
addCriterion("inbound_num between", value1, value2, "inboundNum");
return (Criteria) this;
}
public Criteria andInboundNumNotBetween(Integer value1, Integer value2) {
addCriterion("inbound_num not between", value1, value2, "inboundNum");
return (Criteria) this;
}
public Criteria andReceptInboundMemberIdIsNull() {
addCriterion("recept_inbound_member_id is null");
return (Criteria) this;
}
public Criteria andReceptInboundMemberIdIsNotNull() {
addCriterion("recept_inbound_member_id is not null");
return (Criteria) this;
}
public Criteria andReceptInboundMemberIdEqualTo(Long value) {
addCriterion("recept_inbound_member_id =", value, "receptInboundMemberId");
return (Criteria) this;
}
public Criteria andReceptInboundMemberIdNotEqualTo(Long value) {
addCriterion("recept_inbound_member_id <>", value, "receptInboundMemberId");
return (Criteria) this;
}
public Criteria andReceptInboundMemberIdGreaterThan(Long value) {
addCriterion("recept_inbound_member_id >", value, "receptInboundMemberId");
return (Criteria) this;
}
public Criteria andReceptInboundMemberIdGreaterThanOrEqualTo(Long value) {
addCriterion("recept_inbound_member_id >=", value, "receptInboundMemberId");
return (Criteria) this;
}
public Criteria andReceptInboundMemberIdLessThan(Long value) {
addCriterion("recept_inbound_member_id <", value, "receptInboundMemberId");
return (Criteria) this;
}
public Criteria andReceptInboundMemberIdLessThanOrEqualTo(Long value) {
addCriterion("recept_inbound_member_id <=", value, "receptInboundMemberId");
return (Criteria) this;
}
public Criteria andReceptInboundMemberIdIn(List<Long> values) {
addCriterion("recept_inbound_member_id in", values, "receptInboundMemberId");
return (Criteria) this;
}
public Criteria andReceptInboundMemberIdNotIn(List<Long> values) {
addCriterion("recept_inbound_member_id not in", values, "receptInboundMemberId");
return (Criteria) this;
}
public Criteria andReceptInboundMemberIdBetween(Long value1, Long value2) {
addCriterion("recept_inbound_member_id between", value1, value2, "receptInboundMemberId");
return (Criteria) this;
}
public Criteria andReceptInboundMemberIdNotBetween(Long value1, Long value2) {
addCriterion("recept_inbound_member_id not between", value1, value2, "receptInboundMemberId");
return (Criteria) this;
}
public Criteria andBackInboundMemberIdIsNull() {
addCriterion("back_inbound_member_id is null");
return (Criteria) this;
}
public Criteria andBackInboundMemberIdIsNotNull() {
addCriterion("back_inbound_member_id is not null");
return (Criteria) this;
}
public Criteria andBackInboundMemberIdEqualTo(Long value) {
addCriterion("back_inbound_member_id =", value, "backInboundMemberId");
return (Criteria) this;
}
public Criteria andBackInboundMemberIdNotEqualTo(Long value) {
addCriterion("back_inbound_member_id <>", value, "backInboundMemberId");
return (Criteria) this;
}
public Criteria andBackInboundMemberIdGreaterThan(Long value) {
addCriterion("back_inbound_member_id >", value, "backInboundMemberId");
return (Criteria) this;
}
public Criteria andBackInboundMemberIdGreaterThanOrEqualTo(Long value) {
addCriterion("back_inbound_member_id >=", value, "backInboundMemberId");
return (Criteria) this;
}
public Criteria andBackInboundMemberIdLessThan(Long value) {
addCriterion("back_inbound_member_id <", value, "backInboundMemberId");
return (Criteria) this;
}
public Criteria andBackInboundMemberIdLessThanOrEqualTo(Long value) {
addCriterion("back_inbound_member_id <=", value, "backInboundMemberId");
return (Criteria) this;
}
public Criteria andBackInboundMemberIdIn(List<Long> values) {
addCriterion("back_inbound_member_id in", values, "backInboundMemberId");
return (Criteria) this;
}
public Criteria andBackInboundMemberIdNotIn(List<Long> values) {
addCriterion("back_inbound_member_id not in", values, "backInboundMemberId");
return (Criteria) this;
}
public Criteria andBackInboundMemberIdBetween(Long value1, Long value2) {
addCriterion("back_inbound_member_id between", value1, value2, "backInboundMemberId");
return (Criteria) this;
}
public Criteria andBackInboundMemberIdNotBetween(Long value1, Long value2) {
addCriterion("back_inbound_member_id not between", value1, value2, "backInboundMemberId");
return (Criteria) this;
}
public Criteria andDeleteStatusIsNull() {
addCriterion("delete_status is null");
return (Criteria) this;
}
public Criteria andDeleteStatusIsNotNull() {
addCriterion("delete_status is not null");
return (Criteria) this;
}
public Criteria andDeleteStatusEqualTo(Integer value) {
addCriterion("delete_status =", value, "deleteStatus");
return (Criteria) this;
}
public Criteria andDeleteStatusNotEqualTo(Integer value) {
addCriterion("delete_status <>", value, "deleteStatus");
return (Criteria) this;
}
public Criteria andDeleteStatusGreaterThan(Integer value) {
addCriterion("delete_status >", value, "deleteStatus");
return (Criteria) this;
}
public Criteria andDeleteStatusGreaterThanOrEqualTo(Integer value) {
addCriterion("delete_status >=", value, "deleteStatus");
return (Criteria) this;
}
public Criteria andDeleteStatusLessThan(Integer value) {
addCriterion("delete_status <", value, "deleteStatus");
return (Criteria) this;
}
public Criteria andDeleteStatusLessThanOrEqualTo(Integer value) {
addCriterion("delete_status <=", value, "deleteStatus");
return (Criteria) this;
}
public Criteria andDeleteStatusIn(List<Integer> values) {
addCriterion("delete_status in", values, "deleteStatus");
return (Criteria) this;
}
public Criteria andDeleteStatusNotIn(List<Integer> values) {
addCriterion("delete_status not in", values, "deleteStatus");
return (Criteria) this;
}
public Criteria andDeleteStatusBetween(Integer value1, Integer value2) {
addCriterion("delete_status between", value1, value2, "deleteStatus");
return (Criteria) this;
}
public Criteria andDeleteStatusNotBetween(Integer value1, Integer value2) {
addCriterion("delete_status not between", value1, value2, "deleteStatus");
return (Criteria) this;
}
public Criteria andCreatetimeIsNull() {
addCriterion("createtime is null");
return (Criteria) this;
}
public Criteria andCreatetimeIsNotNull() {
addCriterion("createtime is not null");
return (Criteria) this;
}
public Criteria andCreatetimeEqualTo(Date value) {
addCriterion("createtime =", value, "createtime");
return (Criteria) this;
}
public Criteria andCreatetimeNotEqualTo(Date value) {
addCriterion("createtime <>", value, "createtime");
return (Criteria) this;
}
public Criteria andCreatetimeGreaterThan(Date value) {
addCriterion("createtime >", value, "createtime");
return (Criteria) this;
}
public Criteria andCreatetimeGreaterThanOrEqualTo(Date value) {
addCriterion("createtime >=", value, "createtime");
return (Criteria) this;
}
public Criteria andCreatetimeLessThan(Date value) {
addCriterion("createtime <", value, "createtime");
return (Criteria) this;
}
public Criteria andCreatetimeLessThanOrEqualTo(Date value) {
addCriterion("createtime <=", value, "createtime");
return (Criteria) this;
}
public Criteria andCreatetimeIn(List<Date> values) {
addCriterion("createtime in", values, "createtime");
return (Criteria) this;
}
public Criteria andCreatetimeNotIn(List<Date> values) {
addCriterion("createtime not in", values, "createtime");
return (Criteria) this;
}
public Criteria andCreatetimeBetween(Date value1, Date value2) {
addCriterion("createtime between", value1, value2, "createtime");
return (Criteria) this;
}
public Criteria andCreatetimeNotBetween(Date value1, Date value2) {
addCriterion("createtime not between", value1, value2, "createtime");
return (Criteria) this;
}
}
public static class Criteria extends GeneratedCriteria {
protected Criteria() {
super();
}
}
public static class Criterion {
private String condition;
private Object value;
private Object secondValue;
private boolean noValue;
private boolean singleValue;
private boolean betweenValue;
private boolean listValue;
private String typeHandler;
public String getCondition() {
return condition;
}
public Object getValue() {
return value;
}
public Object getSecondValue() {
return secondValue;
}
public boolean isNoValue() {
return noValue;
}
public boolean isSingleValue() {
return singleValue;
}
public boolean isBetweenValue() {
return betweenValue;
}
public boolean isListValue() {
return listValue;
}
public String getTypeHandler() {
return typeHandler;
}
protected Criterion(String condition) {
super();
this.condition = condition;
this.typeHandler = null;
this.noValue = true;
}
protected Criterion(String condition, Object value, String typeHandler) {
super();
this.condition = condition;
this.value = value;
this.typeHandler = typeHandler;
if (value instanceof List<?>) {
this.listValue = true;
} else {
this.singleValue = true;
}
}
protected Criterion(String condition, Object value) {
this(condition, value, null);
}
protected Criterion(String condition, Object value, Object secondValue, String typeHandler) {
super();
this.condition = condition;
this.value = value;
this.secondValue = secondValue;
this.typeHandler = typeHandler;
this.betweenValue = true;
}
protected Criterion(String condition, Object value, Object secondValue) {
this(condition, value, secondValue, null);
}
}
}
\ No newline at end of file
package com.macro.mall.model;
import io.swagger.annotations.ApiModelProperty;
import java.io.Serializable;
import java.util.Date;
import javax.persistence.*;
import org.springframework.format.annotation.DateTimeFormat;
@Entity
public class VankeOutboundRecord implements Serializable {
@ApiModelProperty(value = "id")
@Id
@GeneratedValue(strategy= GenerationType.IDENTITY)
private Long id;
@ApiModelProperty(value = "出库单号")
private String outboundNo;
@ApiModelProperty(value = "出库会员id")
private Long memberId;
@ApiModelProperty(value = "部门id")
private Long departId;
@ApiModelProperty(value = "物品id")
private Long goodsId;
@ApiModelProperty(value = "物品分类id")
private Long goodsCategoryId;
@ApiModelProperty(value = "所属库房id")
private Long stockRoomId;
@ApiModelProperty(value = "出库数量")
private Integer outboundNum;
@ApiModelProperty(value = "前台出库员id")
private Long receptOutboundMemberId;
@ApiModelProperty(value = "后台出库员id")
private Long backOutboundMemberId;
@ApiModelProperty(value = "1未删除 0已删除")
private Integer deleteStatus;
@ApiModelProperty(value = "创建时间")
@DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
private Date createtime;
private static final long serialVersionUID = 1L;
public Long getId() {
return id;
}
public void setId(Long id) {
this.id = id;
}
public String getOutboundNo() {
return outboundNo;
}
public void setOutboundNo(String outboundNo) {
this.outboundNo = outboundNo;
}
public Long getMemberId() {
return memberId;
}
public void setMemberId(Long memberId) {
this.memberId = memberId;
}
public Long getDepartId() {
return departId;
}
public void setDepartId(Long departId) {
this.departId = departId;
}
public Long getGoodsId() {
return goodsId;
}
public void setGoodsId(Long goodsId) {
this.goodsId = goodsId;
}
public Long getGoodsCategoryId() {
return goodsCategoryId;
}
public void setGoodsCategoryId(Long goodsCategoryId) {
this.goodsCategoryId = goodsCategoryId;
}
public Long getStockRoomId() {
return stockRoomId;
}
public void setStockRoomId(Long stockRoomId) {
this.stockRoomId = stockRoomId;
}
public Integer getOutboundNum() {
return outboundNum;
}
public void setOutboundNum(Integer outboundNum) {
this.outboundNum = outboundNum;
}
public Long getReceptOutboundMemberId() {
return receptOutboundMemberId;
}
public void setReceptOutboundMemberId(Long receptOutboundMemberId) {
this.receptOutboundMemberId = receptOutboundMemberId;
}
public Long getBackOutboundMemberId() {
return backOutboundMemberId;
}
public void setBackOutboundMemberId(Long backOutboundMemberId) {
this.backOutboundMemberId = backOutboundMemberId;
}
public Integer getDeleteStatus() {
return deleteStatus;
}
public void setDeleteStatus(Integer deleteStatus) {
this.deleteStatus = deleteStatus;
}
public Date getCreatetime() {
return createtime;
}
public void setCreatetime(Date createtime) {
this.createtime = createtime;
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append(getClass().getSimpleName());
sb.append(" [");
sb.append("Hash = ").append(hashCode());
sb.append(", id=").append(id);
sb.append(", outboundNo=").append(outboundNo);
sb.append(", memberId=").append(memberId);
sb.append(", departId=").append(departId);
sb.append(", goodsId=").append(goodsId);
sb.append(", goodsCategoryId=").append(goodsCategoryId);
sb.append(", stockRoomId=").append(stockRoomId);
sb.append(", outboundNum=").append(outboundNum);
sb.append(", receptOutboundMemberId=").append(receptOutboundMemberId);
sb.append(", backOutboundMemberId=").append(backOutboundMemberId);
sb.append(", deleteStatus=").append(deleteStatus);
sb.append(", createtime=").append(createtime);
sb.append(", serialVersionUID=").append(serialVersionUID);
sb.append("]");
return sb.toString();
}
}
\ No newline at end of file
package com.macro.mall.model;
import java.util.ArrayList;
import java.util.Date;
import java.util.List;
public class VankeOutboundRecordExample {
protected String orderByClause;
protected boolean distinct;
protected List<Criteria> oredCriteria;
public VankeOutboundRecordExample() {
oredCriteria = new ArrayList<Criteria>();
}
public void setOrderByClause(String orderByClause) {
this.orderByClause = orderByClause;
}
public String getOrderByClause() {
return orderByClause;
}
public void setDistinct(boolean distinct) {
this.distinct = distinct;
}
public boolean isDistinct() {
return distinct;
}
public List<Criteria> getOredCriteria() {
return oredCriteria;
}
public void or(Criteria criteria) {
oredCriteria.add(criteria);
}
public Criteria or() {
Criteria criteria = createCriteriaInternal();
oredCriteria.add(criteria);
return criteria;
}
public Criteria createCriteria() {
Criteria criteria = createCriteriaInternal();
if (oredCriteria.size() == 0) {
oredCriteria.add(criteria);
}
return criteria;
}
protected Criteria createCriteriaInternal() {
Criteria criteria = new Criteria();
return criteria;
}
public void clear() {
oredCriteria.clear();
orderByClause = null;
distinct = false;
}
protected abstract static class GeneratedCriteria {
protected List<Criterion> criteria;
protected GeneratedCriteria() {
super();
criteria = new ArrayList<Criterion>();
}
public boolean isValid() {
return criteria.size() > 0;
}
public List<Criterion> getAllCriteria() {
return criteria;
}
public List<Criterion> getCriteria() {
return criteria;
}
protected void addCriterion(String condition) {
if (condition == null) {
throw new RuntimeException("Value for condition cannot be null");
}
criteria.add(new Criterion(condition));
}
protected void addCriterion(String condition, Object value, String property) {
if (value == null) {
throw new RuntimeException("Value for " + property + " cannot be null");
}
criteria.add(new Criterion(condition, value));
}
protected void addCriterion(String condition, Object value1, Object value2, String property) {
if (value1 == null || value2 == null) {
throw new RuntimeException("Between values for " + property + " cannot be null");
}
criteria.add(new Criterion(condition, value1, value2));
}
public Criteria andIdIsNull() {
addCriterion("id is null");
return (Criteria) this;
}
public Criteria andIdIsNotNull() {
addCriterion("id is not null");
return (Criteria) this;
}
public Criteria andIdEqualTo(Long value) {
addCriterion("id =", value, "id");
return (Criteria) this;
}
public Criteria andIdNotEqualTo(Long value) {
addCriterion("id <>", value, "id");
return (Criteria) this;
}
public Criteria andIdGreaterThan(Long value) {
addCriterion("id >", value, "id");
return (Criteria) this;
}
public Criteria andIdGreaterThanOrEqualTo(Long value) {
addCriterion("id >=", value, "id");
return (Criteria) this;
}
public Criteria andIdLessThan(Long value) {
addCriterion("id <", value, "id");
return (Criteria) this;
}
public Criteria andIdLessThanOrEqualTo(Long value) {
addCriterion("id <=", value, "id");
return (Criteria) this;
}
public Criteria andIdIn(List<Long> values) {
addCriterion("id in", values, "id");
return (Criteria) this;
}
public Criteria andIdNotIn(List<Long> values) {
addCriterion("id not in", values, "id");
return (Criteria) this;
}
public Criteria andIdBetween(Long value1, Long value2) {
addCriterion("id between", value1, value2, "id");
return (Criteria) this;
}
public Criteria andIdNotBetween(Long value1, Long value2) {
addCriterion("id not between", value1, value2, "id");
return (Criteria) this;
}
public Criteria andOutboundNoIsNull() {
addCriterion("outbound_no is null");
return (Criteria) this;
}
public Criteria andOutboundNoIsNotNull() {
addCriterion("outbound_no is not null");
return (Criteria) this;
}
public Criteria andOutboundNoEqualTo(String value) {
addCriterion("outbound_no =", value, "outboundNo");
return (Criteria) this;
}
public Criteria andOutboundNoNotEqualTo(String value) {
addCriterion("outbound_no <>", value, "outboundNo");
return (Criteria) this;
}
public Criteria andOutboundNoGreaterThan(String value) {
addCriterion("outbound_no >", value, "outboundNo");
return (Criteria) this;
}
public Criteria andOutboundNoGreaterThanOrEqualTo(String value) {
addCriterion("outbound_no >=", value, "outboundNo");
return (Criteria) this;
}
public Criteria andOutboundNoLessThan(String value) {
addCriterion("outbound_no <", value, "outboundNo");
return (Criteria) this;
}
public Criteria andOutboundNoLessThanOrEqualTo(String value) {
addCriterion("outbound_no <=", value, "outboundNo");
return (Criteria) this;
}
public Criteria andOutboundNoLike(String value) {
addCriterion("outbound_no like", value, "outboundNo");
return (Criteria) this;
}
public Criteria andOutboundNoNotLike(String value) {
addCriterion("outbound_no not like", value, "outboundNo");
return (Criteria) this;
}
public Criteria andOutboundNoIn(List<String> values) {
addCriterion("outbound_no in", values, "outboundNo");
return (Criteria) this;
}
public Criteria andOutboundNoNotIn(List<String> values) {
addCriterion("outbound_no not in", values, "outboundNo");
return (Criteria) this;
}
public Criteria andOutboundNoBetween(String value1, String value2) {
addCriterion("outbound_no between", value1, value2, "outboundNo");
return (Criteria) this;
}
public Criteria andOutboundNoNotBetween(String value1, String value2) {
addCriterion("outbound_no not between", value1, value2, "outboundNo");
return (Criteria) this;
}
public Criteria andMemberIdIsNull() {
addCriterion("member_id is null");
return (Criteria) this;
}
public Criteria andMemberIdIsNotNull() {
addCriterion("member_id is not null");
return (Criteria) this;
}
public Criteria andMemberIdEqualTo(Long value) {
addCriterion("member_id =", value, "memberId");
return (Criteria) this;
}
public Criteria andMemberIdNotEqualTo(Long value) {
addCriterion("member_id <>", value, "memberId");
return (Criteria) this;
}
public Criteria andMemberIdGreaterThan(Long value) {
addCriterion("member_id >", value, "memberId");
return (Criteria) this;
}
public Criteria andMemberIdGreaterThanOrEqualTo(Long value) {
addCriterion("member_id >=", value, "memberId");
return (Criteria) this;
}
public Criteria andMemberIdLessThan(Long value) {
addCriterion("member_id <", value, "memberId");
return (Criteria) this;
}
public Criteria andMemberIdLessThanOrEqualTo(Long value) {
addCriterion("member_id <=", value, "memberId");
return (Criteria) this;
}
public Criteria andMemberIdIn(List<Long> values) {
addCriterion("member_id in", values, "memberId");
return (Criteria) this;
}
public Criteria andMemberIdNotIn(List<Long> values) {
addCriterion("member_id not in", values, "memberId");
return (Criteria) this;
}
public Criteria andMemberIdBetween(Long value1, Long value2) {
addCriterion("member_id between", value1, value2, "memberId");
return (Criteria) this;
}
public Criteria andMemberIdNotBetween(Long value1, Long value2) {
addCriterion("member_id not between", value1, value2, "memberId");
return (Criteria) this;
}
public Criteria andDepartIdIsNull() {
addCriterion("depart_id is null");
return (Criteria) this;
}
public Criteria andDepartIdIsNotNull() {
addCriterion("depart_id is not null");
return (Criteria) this;
}
public Criteria andDepartIdEqualTo(Long value) {
addCriterion("depart_id =", value, "departId");
return (Criteria) this;
}
public Criteria andDepartIdNotEqualTo(Long value) {
addCriterion("depart_id <>", value, "departId");
return (Criteria) this;
}
public Criteria andDepartIdGreaterThan(Long value) {
addCriterion("depart_id >", value, "departId");
return (Criteria) this;
}
public Criteria andDepartIdGreaterThanOrEqualTo(Long value) {
addCriterion("depart_id >=", value, "departId");
return (Criteria) this;
}
public Criteria andDepartIdLessThan(Long value) {
addCriterion("depart_id <", value, "departId");
return (Criteria) this;
}
public Criteria andDepartIdLessThanOrEqualTo(Long value) {
addCriterion("depart_id <=", value, "departId");
return (Criteria) this;
}
public Criteria andDepartIdIn(List<Long> values) {
addCriterion("depart_id in", values, "departId");
return (Criteria) this;
}
public Criteria andDepartIdNotIn(List<Long> values) {
addCriterion("depart_id not in", values, "departId");
return (Criteria) this;
}
public Criteria andDepartIdBetween(Long value1, Long value2) {
addCriterion("depart_id between", value1, value2, "departId");
return (Criteria) this;
}
public Criteria andDepartIdNotBetween(Long value1, Long value2) {
addCriterion("depart_id not between", value1, value2, "departId");
return (Criteria) this;
}
public Criteria andGoodsIdIsNull() {
addCriterion("goods_id is null");
return (Criteria) this;
}
public Criteria andGoodsIdIsNotNull() {
addCriterion("goods_id is not null");
return (Criteria) this;
}
public Criteria andGoodsIdEqualTo(Long value) {
addCriterion("goods_id =", value, "goodsId");
return (Criteria) this;
}
public Criteria andGoodsIdNotEqualTo(Long value) {
addCriterion("goods_id <>", value, "goodsId");
return (Criteria) this;
}
public Criteria andGoodsIdGreaterThan(Long value) {
addCriterion("goods_id >", value, "goodsId");
return (Criteria) this;
}
public Criteria andGoodsIdGreaterThanOrEqualTo(Long value) {
addCriterion("goods_id >=", value, "goodsId");
return (Criteria) this;
}
public Criteria andGoodsIdLessThan(Long value) {
addCriterion("goods_id <", value, "goodsId");
return (Criteria) this;
}
public Criteria andGoodsIdLessThanOrEqualTo(Long value) {
addCriterion("goods_id <=", value, "goodsId");
return (Criteria) this;
}
public Criteria andGoodsIdIn(List<Long> values) {
addCriterion("goods_id in", values, "goodsId");
return (Criteria) this;
}
public Criteria andGoodsIdNotIn(List<Long> values) {
addCriterion("goods_id not in", values, "goodsId");
return (Criteria) this;
}
public Criteria andGoodsIdBetween(Long value1, Long value2) {
addCriterion("goods_id between", value1, value2, "goodsId");
return (Criteria) this;
}
public Criteria andGoodsIdNotBetween(Long value1, Long value2) {
addCriterion("goods_id not between", value1, value2, "goodsId");
return (Criteria) this;
}
public Criteria andGoodsCategoryIdIsNull() {
addCriterion("goods_category_id is null");
return (Criteria) this;
}
public Criteria andGoodsCategoryIdIsNotNull() {
addCriterion("goods_category_id is not null");
return (Criteria) this;
}
public Criteria andGoodsCategoryIdEqualTo(Long value) {
addCriterion("goods_category_id =", value, "goodsCategoryId");
return (Criteria) this;
}
public Criteria andGoodsCategoryIdNotEqualTo(Long value) {
addCriterion("goods_category_id <>", value, "goodsCategoryId");
return (Criteria) this;
}
public Criteria andGoodsCategoryIdGreaterThan(Long value) {
addCriterion("goods_category_id >", value, "goodsCategoryId");
return (Criteria) this;
}
public Criteria andGoodsCategoryIdGreaterThanOrEqualTo(Long value) {
addCriterion("goods_category_id >=", value, "goodsCategoryId");
return (Criteria) this;
}
public Criteria andGoodsCategoryIdLessThan(Long value) {
addCriterion("goods_category_id <", value, "goodsCategoryId");
return (Criteria) this;
}
public Criteria andGoodsCategoryIdLessThanOrEqualTo(Long value) {
addCriterion("goods_category_id <=", value, "goodsCategoryId");
return (Criteria) this;
}
public Criteria andGoodsCategoryIdIn(List<Long> values) {
addCriterion("goods_category_id in", values, "goodsCategoryId");
return (Criteria) this;
}
public Criteria andGoodsCategoryIdNotIn(List<Long> values) {
addCriterion("goods_category_id not in", values, "goodsCategoryId");
return (Criteria) this;
}
public Criteria andGoodsCategoryIdBetween(Long value1, Long value2) {
addCriterion("goods_category_id between", value1, value2, "goodsCategoryId");
return (Criteria) this;
}
public Criteria andGoodsCategoryIdNotBetween(Long value1, Long value2) {
addCriterion("goods_category_id not between", value1, value2, "goodsCategoryId");
return (Criteria) this;
}
public Criteria andStockRoomIdIsNull() {
addCriterion("stock_room_id is null");
return (Criteria) this;
}
public Criteria andStockRoomIdIsNotNull() {
addCriterion("stock_room_id is not null");
return (Criteria) this;
}
public Criteria andStockRoomIdEqualTo(Long value) {
addCriterion("stock_room_id =", value, "stockRoomId");
return (Criteria) this;
}
public Criteria andStockRoomIdNotEqualTo(Long value) {
addCriterion("stock_room_id <>", value, "stockRoomId");
return (Criteria) this;
}
public Criteria andStockRoomIdGreaterThan(Long value) {
addCriterion("stock_room_id >", value, "stockRoomId");
return (Criteria) this;
}
public Criteria andStockRoomIdGreaterThanOrEqualTo(Long value) {
addCriterion("stock_room_id >=", value, "stockRoomId");
return (Criteria) this;
}
public Criteria andStockRoomIdLessThan(Long value) {
addCriterion("stock_room_id <", value, "stockRoomId");
return (Criteria) this;
}
public Criteria andStockRoomIdLessThanOrEqualTo(Long value) {
addCriterion("stock_room_id <=", value, "stockRoomId");
return (Criteria) this;
}
public Criteria andStockRoomIdIn(List<Long> values) {
addCriterion("stock_room_id in", values, "stockRoomId");
return (Criteria) this;
}
public Criteria andStockRoomIdNotIn(List<Long> values) {
addCriterion("stock_room_id not in", values, "stockRoomId");
return (Criteria) this;
}
public Criteria andStockRoomIdBetween(Long value1, Long value2) {
addCriterion("stock_room_id between", value1, value2, "stockRoomId");
return (Criteria) this;
}
public Criteria andStockRoomIdNotBetween(Long value1, Long value2) {
addCriterion("stock_room_id not between", value1, value2, "stockRoomId");
return (Criteria) this;
}
public Criteria andOutboundNumIsNull() {
addCriterion("outbound_num is null");
return (Criteria) this;
}
public Criteria andOutboundNumIsNotNull() {
addCriterion("outbound_num is not null");
return (Criteria) this;
}
public Criteria andOutboundNumEqualTo(Integer value) {
addCriterion("outbound_num =", value, "outboundNum");
return (Criteria) this;
}
public Criteria andOutboundNumNotEqualTo(Integer value) {
addCriterion("outbound_num <>", value, "outboundNum");
return (Criteria) this;
}
public Criteria andOutboundNumGreaterThan(Integer value) {
addCriterion("outbound_num >", value, "outboundNum");
return (Criteria) this;
}
public Criteria andOutboundNumGreaterThanOrEqualTo(Integer value) {
addCriterion("outbound_num >=", value, "outboundNum");
return (Criteria) this;
}
public Criteria andOutboundNumLessThan(Integer value) {
addCriterion("outbound_num <", value, "outboundNum");
return (Criteria) this;
}
public Criteria andOutboundNumLessThanOrEqualTo(Integer value) {
addCriterion("outbound_num <=", value, "outboundNum");
return (Criteria) this;
}
public Criteria andOutboundNumIn(List<Integer> values) {
addCriterion("outbound_num in", values, "outboundNum");
return (Criteria) this;
}
public Criteria andOutboundNumNotIn(List<Integer> values) {
addCriterion("outbound_num not in", values, "outboundNum");
return (Criteria) this;
}
public Criteria andOutboundNumBetween(Integer value1, Integer value2) {
addCriterion("outbound_num between", value1, value2, "outboundNum");
return (Criteria) this;
}
public Criteria andOutboundNumNotBetween(Integer value1, Integer value2) {
addCriterion("outbound_num not between", value1, value2, "outboundNum");
return (Criteria) this;
}
public Criteria andReceptOutboundMemberIdIsNull() {
addCriterion("recept_outbound_member_id is null");
return (Criteria) this;
}
public Criteria andReceptOutboundMemberIdIsNotNull() {
addCriterion("recept_outbound_member_id is not null");
return (Criteria) this;
}
public Criteria andReceptOutboundMemberIdEqualTo(Long value) {
addCriterion("recept_outbound_member_id =", value, "receptOutboundMemberId");
return (Criteria) this;
}
public Criteria andReceptOutboundMemberIdNotEqualTo(Long value) {
addCriterion("recept_outbound_member_id <>", value, "receptOutboundMemberId");
return (Criteria) this;
}
public Criteria andReceptOutboundMemberIdGreaterThan(Long value) {
addCriterion("recept_outbound_member_id >", value, "receptOutboundMemberId");
return (Criteria) this;
}
public Criteria andReceptOutboundMemberIdGreaterThanOrEqualTo(Long value) {
addCriterion("recept_outbound_member_id >=", value, "receptOutboundMemberId");
return (Criteria) this;
}
public Criteria andReceptOutboundMemberIdLessThan(Long value) {
addCriterion("recept_outbound_member_id <", value, "receptOutboundMemberId");
return (Criteria) this;
}
public Criteria andReceptOutboundMemberIdLessThanOrEqualTo(Long value) {
addCriterion("recept_outbound_member_id <=", value, "receptOutboundMemberId");
return (Criteria) this;
}
public Criteria andReceptOutboundMemberIdIn(List<Long> values) {
addCriterion("recept_outbound_member_id in", values, "receptOutboundMemberId");
return (Criteria) this;
}
public Criteria andReceptOutboundMemberIdNotIn(List<Long> values) {
addCriterion("recept_outbound_member_id not in", values, "receptOutboundMemberId");
return (Criteria) this;
}
public Criteria andReceptOutboundMemberIdBetween(Long value1, Long value2) {
addCriterion("recept_outbound_member_id between", value1, value2, "receptOutboundMemberId");
return (Criteria) this;
}
public Criteria andReceptOutboundMemberIdNotBetween(Long value1, Long value2) {
addCriterion("recept_outbound_member_id not between", value1, value2, "receptOutboundMemberId");
return (Criteria) this;
}
public Criteria andBackOutboundMemberIdIsNull() {
addCriterion("back_outbound_member_id is null");
return (Criteria) this;
}
public Criteria andBackOutboundMemberIdIsNotNull() {
addCriterion("back_outbound_member_id is not null");
return (Criteria) this;
}
public Criteria andBackOutboundMemberIdEqualTo(Long value) {
addCriterion("back_outbound_member_id =", value, "backOutboundMemberId");
return (Criteria) this;
}
public Criteria andBackOutboundMemberIdNotEqualTo(Long value) {
addCriterion("back_outbound_member_id <>", value, "backOutboundMemberId");
return (Criteria) this;
}
public Criteria andBackOutboundMemberIdGreaterThan(Long value) {
addCriterion("back_outbound_member_id >", value, "backOutboundMemberId");
return (Criteria) this;
}
public Criteria andBackOutboundMemberIdGreaterThanOrEqualTo(Long value) {
addCriterion("back_outbound_member_id >=", value, "backOutboundMemberId");
return (Criteria) this;
}
public Criteria andBackOutboundMemberIdLessThan(Long value) {
addCriterion("back_outbound_member_id <", value, "backOutboundMemberId");
return (Criteria) this;
}
public Criteria andBackOutboundMemberIdLessThanOrEqualTo(Long value) {
addCriterion("back_outbound_member_id <=", value, "backOutboundMemberId");
return (Criteria) this;
}
public Criteria andBackOutboundMemberIdIn(List<Long> values) {
addCriterion("back_outbound_member_id in", values, "backOutboundMemberId");
return (Criteria) this;
}
public Criteria andBackOutboundMemberIdNotIn(List<Long> values) {
addCriterion("back_outbound_member_id not in", values, "backOutboundMemberId");
return (Criteria) this;
}
public Criteria andBackOutboundMemberIdBetween(Long value1, Long value2) {
addCriterion("back_outbound_member_id between", value1, value2, "backOutboundMemberId");
return (Criteria) this;
}
public Criteria andBackOutboundMemberIdNotBetween(Long value1, Long value2) {
addCriterion("back_outbound_member_id not between", value1, value2, "backOutboundMemberId");
return (Criteria) this;
}
public Criteria andDeleteStatusIsNull() {
addCriterion("delete_status is null");
return (Criteria) this;
}
public Criteria andDeleteStatusIsNotNull() {
addCriterion("delete_status is not null");
return (Criteria) this;
}
public Criteria andDeleteStatusEqualTo(Integer value) {
addCriterion("delete_status =", value, "deleteStatus");
return (Criteria) this;
}
public Criteria andDeleteStatusNotEqualTo(Integer value) {
addCriterion("delete_status <>", value, "deleteStatus");
return (Criteria) this;
}
public Criteria andDeleteStatusGreaterThan(Integer value) {
addCriterion("delete_status >", value, "deleteStatus");
return (Criteria) this;
}
public Criteria andDeleteStatusGreaterThanOrEqualTo(Integer value) {
addCriterion("delete_status >=", value, "deleteStatus");
return (Criteria) this;
}
public Criteria andDeleteStatusLessThan(Integer value) {
addCriterion("delete_status <", value, "deleteStatus");
return (Criteria) this;
}
public Criteria andDeleteStatusLessThanOrEqualTo(Integer value) {
addCriterion("delete_status <=", value, "deleteStatus");
return (Criteria) this;
}
public Criteria andDeleteStatusIn(List<Integer> values) {
addCriterion("delete_status in", values, "deleteStatus");
return (Criteria) this;
}
public Criteria andDeleteStatusNotIn(List<Integer> values) {
addCriterion("delete_status not in", values, "deleteStatus");
return (Criteria) this;
}
public Criteria andDeleteStatusBetween(Integer value1, Integer value2) {
addCriterion("delete_status between", value1, value2, "deleteStatus");
return (Criteria) this;
}
public Criteria andDeleteStatusNotBetween(Integer value1, Integer value2) {
addCriterion("delete_status not between", value1, value2, "deleteStatus");
return (Criteria) this;
}
public Criteria andCreatetimeIsNull() {
addCriterion("createtime is null");
return (Criteria) this;
}
public Criteria andCreatetimeIsNotNull() {
addCriterion("createtime is not null");
return (Criteria) this;
}
public Criteria andCreatetimeEqualTo(Date value) {
addCriterion("createtime =", value, "createtime");
return (Criteria) this;
}
public Criteria andCreatetimeNotEqualTo(Date value) {
addCriterion("createtime <>", value, "createtime");
return (Criteria) this;
}
public Criteria andCreatetimeGreaterThan(Date value) {
addCriterion("createtime >", value, "createtime");
return (Criteria) this;
}
public Criteria andCreatetimeGreaterThanOrEqualTo(Date value) {
addCriterion("createtime >=", value, "createtime");
return (Criteria) this;
}
public Criteria andCreatetimeLessThan(Date value) {
addCriterion("createtime <", value, "createtime");
return (Criteria) this;
}
public Criteria andCreatetimeLessThanOrEqualTo(Date value) {
addCriterion("createtime <=", value, "createtime");
return (Criteria) this;
}
public Criteria andCreatetimeIn(List<Date> values) {
addCriterion("createtime in", values, "createtime");
return (Criteria) this;
}
public Criteria andCreatetimeNotIn(List<Date> values) {
addCriterion("createtime not in", values, "createtime");
return (Criteria) this;
}
public Criteria andCreatetimeBetween(Date value1, Date value2) {
addCriterion("createtime between", value1, value2, "createtime");
return (Criteria) this;
}
public Criteria andCreatetimeNotBetween(Date value1, Date value2) {
addCriterion("createtime not between", value1, value2, "createtime");
return (Criteria) this;
}
}
public static class Criteria extends GeneratedCriteria {
protected Criteria() {
super();
}
}
public static class Criterion {
private String condition;
private Object value;
private Object secondValue;
private boolean noValue;
private boolean singleValue;
private boolean betweenValue;
private boolean listValue;
private String typeHandler;
public String getCondition() {
return condition;
}
public Object getValue() {
return value;
}
public Object getSecondValue() {
return secondValue;
}
public boolean isNoValue() {
return noValue;
}
public boolean isSingleValue() {
return singleValue;
}
public boolean isBetweenValue() {
return betweenValue;
}
public boolean isListValue() {
return listValue;
}
public String getTypeHandler() {
return typeHandler;
}
protected Criterion(String condition) {
super();
this.condition = condition;
this.typeHandler = null;
this.noValue = true;
}
protected Criterion(String condition, Object value, String typeHandler) {
super();
this.condition = condition;
this.value = value;
this.typeHandler = typeHandler;
if (value instanceof List<?>) {
this.listValue = true;
} else {
this.singleValue = true;
}
}
protected Criterion(String condition, Object value) {
this(condition, value, null);
}
protected Criterion(String condition, Object value, Object secondValue, String typeHandler) {
super();
this.condition = condition;
this.value = value;
this.secondValue = secondValue;
this.typeHandler = typeHandler;
this.betweenValue = true;
}
protected Criterion(String condition, Object value, Object secondValue) {
this(condition, value, secondValue, null);
}
}
}
\ No newline at end of file
<?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.macro.mall.mapper.VankeInboundRecordMapper">
<resultMap id="BaseResultMap" type="com.macro.mall.model.VankeInboundRecord">
<id column="id" jdbcType="BIGINT" property="id" />
<result column="inbound_no" jdbcType="VARCHAR" property="inboundNo" />
<result column="goods_id" jdbcType="BIGINT" property="goodsId" />
<result column="stock_room_id" jdbcType="BIGINT" property="stockRoomId" />
<result column="inbound_num" jdbcType="INTEGER" property="inboundNum" />
<result column="recept_inbound_member_id" jdbcType="BIGINT" property="receptInboundMemberId" />
<result column="back_inbound_member_id" jdbcType="BIGINT" property="backInboundMemberId" />
<result column="delete_status" jdbcType="INTEGER" property="deleteStatus" />
<result column="createtime" jdbcType="TIMESTAMP" property="createtime" />
</resultMap>
<sql id="Example_Where_Clause">
<where>
<foreach collection="oredCriteria" item="criteria" separator="or">
<if test="criteria.valid">
<trim prefix="(" prefixOverrides="and" suffix=")">
<foreach collection="criteria.criteria" item="criterion">
<choose>
<when test="criterion.noValue">
and ${criterion.condition}
</when>
<when test="criterion.singleValue">
and ${criterion.condition} #{criterion.value}
</when>
<when test="criterion.betweenValue">
and ${criterion.condition} #{criterion.value} and #{criterion.secondValue}
</when>
<when test="criterion.listValue">
and ${criterion.condition}
<foreach close=")" collection="criterion.value" item="listItem" open="(" separator=",">
#{listItem}
</foreach>
</when>
</choose>
</foreach>
</trim>
</if>
</foreach>
</where>
</sql>
<sql id="Update_By_Example_Where_Clause">
<where>
<foreach collection="example.oredCriteria" item="criteria" separator="or">
<if test="criteria.valid">
<trim prefix="(" prefixOverrides="and" suffix=")">
<foreach collection="criteria.criteria" item="criterion">
<choose>
<when test="criterion.noValue">
and ${criterion.condition}
</when>
<when test="criterion.singleValue">
and ${criterion.condition} #{criterion.value}
</when>
<when test="criterion.betweenValue">
and ${criterion.condition} #{criterion.value} and #{criterion.secondValue}
</when>
<when test="criterion.listValue">
and ${criterion.condition}
<foreach close=")" collection="criterion.value" item="listItem" open="(" separator=",">
#{listItem}
</foreach>
</when>
</choose>
</foreach>
</trim>
</if>
</foreach>
</where>
</sql>
<sql id="Base_Column_List">
id, inbound_no, goods_id, stock_room_id, inbound_num, recept_inbound_member_id, back_inbound_member_id,
delete_status, createtime
</sql>
<select id="selectByExample" parameterType="com.macro.mall.model.VankeInboundRecordExample" resultMap="BaseResultMap">
select
<if test="distinct">
distinct
</if>
<include refid="Base_Column_List" />
from vanke_inbound_record
<if test="_parameter != null">
<include refid="Example_Where_Clause" />
</if>
<if test="orderByClause != null">
order by ${orderByClause}
</if>
</select>
<select id="selectByPrimaryKey" parameterType="java.lang.Long" resultMap="BaseResultMap">
select
<include refid="Base_Column_List" />
from vanke_inbound_record
where id = #{id,jdbcType=BIGINT}
</select>
<delete id="deleteByPrimaryKey" parameterType="java.lang.Long">
delete from vanke_inbound_record
where id = #{id,jdbcType=BIGINT}
</delete>
<delete id="deleteByExample" parameterType="com.macro.mall.model.VankeInboundRecordExample">
delete from vanke_inbound_record
<if test="_parameter != null">
<include refid="Example_Where_Clause" />
</if>
</delete>
<insert id="insert" parameterType="com.macro.mall.model.VankeInboundRecord">
<selectKey keyProperty="id" order="AFTER" resultType="java.lang.Long">
SELECT LAST_INSERT_ID()
</selectKey>
insert into vanke_inbound_record (inbound_no, goods_id, stock_room_id,
inbound_num, recept_inbound_member_id, back_inbound_member_id,
delete_status, createtime)
values (#{inboundNo,jdbcType=VARCHAR}, #{goodsId,jdbcType=BIGINT}, #{stockRoomId,jdbcType=BIGINT},
#{inboundNum,jdbcType=INTEGER}, #{receptInboundMemberId,jdbcType=BIGINT}, #{backInboundMemberId,jdbcType=BIGINT},
#{deleteStatus,jdbcType=INTEGER}, #{createtime,jdbcType=TIMESTAMP})
</insert>
<insert id="insertSelective" parameterType="com.macro.mall.model.VankeInboundRecord">
<selectKey keyProperty="id" order="AFTER" resultType="java.lang.Long">
SELECT LAST_INSERT_ID()
</selectKey>
insert into vanke_inbound_record
<trim prefix="(" suffix=")" suffixOverrides=",">
<if test="inboundNo != null">
inbound_no,
</if>
<if test="goodsId != null">
goods_id,
</if>
<if test="stockRoomId != null">
stock_room_id,
</if>
<if test="inboundNum != null">
inbound_num,
</if>
<if test="receptInboundMemberId != null">
recept_inbound_member_id,
</if>
<if test="backInboundMemberId != null">
back_inbound_member_id,
</if>
<if test="deleteStatus != null">
delete_status,
</if>
<if test="createtime != null">
createtime,
</if>
</trim>
<trim prefix="values (" suffix=")" suffixOverrides=",">
<if test="inboundNo != null">
#{inboundNo,jdbcType=VARCHAR},
</if>
<if test="goodsId != null">
#{goodsId,jdbcType=BIGINT},
</if>
<if test="stockRoomId != null">
#{stockRoomId,jdbcType=BIGINT},
</if>
<if test="inboundNum != null">
#{inboundNum,jdbcType=INTEGER},
</if>
<if test="receptInboundMemberId != null">
#{receptInboundMemberId,jdbcType=BIGINT},
</if>
<if test="backInboundMemberId != null">
#{backInboundMemberId,jdbcType=BIGINT},
</if>
<if test="deleteStatus != null">
#{deleteStatus,jdbcType=INTEGER},
</if>
<if test="createtime != null">
#{createtime,jdbcType=TIMESTAMP},
</if>
</trim>
</insert>
<select id="countByExample" parameterType="com.macro.mall.model.VankeInboundRecordExample" resultType="java.lang.Long">
select count(*) from vanke_inbound_record
<if test="_parameter != null">
<include refid="Example_Where_Clause" />
</if>
</select>
<update id="updateByExampleSelective" parameterType="map">
update vanke_inbound_record
<set>
<if test="record.id != null">
id = #{record.id,jdbcType=BIGINT},
</if>
<if test="record.inboundNo != null">
inbound_no = #{record.inboundNo,jdbcType=VARCHAR},
</if>
<if test="record.goodsId != null">
goods_id = #{record.goodsId,jdbcType=BIGINT},
</if>
<if test="record.stockRoomId != null">
stock_room_id = #{record.stockRoomId,jdbcType=BIGINT},
</if>
<if test="record.inboundNum != null">
inbound_num = #{record.inboundNum,jdbcType=INTEGER},
</if>
<if test="record.receptInboundMemberId != null">
recept_inbound_member_id = #{record.receptInboundMemberId,jdbcType=BIGINT},
</if>
<if test="record.backInboundMemberId != null">
back_inbound_member_id = #{record.backInboundMemberId,jdbcType=BIGINT},
</if>
<if test="record.deleteStatus != null">
delete_status = #{record.deleteStatus,jdbcType=INTEGER},
</if>
<if test="record.createtime != null">
createtime = #{record.createtime,jdbcType=TIMESTAMP},
</if>
</set>
<if test="_parameter != null">
<include refid="Update_By_Example_Where_Clause" />
</if>
</update>
<update id="updateByExample" parameterType="map">
update vanke_inbound_record
set id = #{record.id,jdbcType=BIGINT},
inbound_no = #{record.inboundNo,jdbcType=VARCHAR},
goods_id = #{record.goodsId,jdbcType=BIGINT},
stock_room_id = #{record.stockRoomId,jdbcType=BIGINT},
inbound_num = #{record.inboundNum,jdbcType=INTEGER},
recept_inbound_member_id = #{record.receptInboundMemberId,jdbcType=BIGINT},
back_inbound_member_id = #{record.backInboundMemberId,jdbcType=BIGINT},
delete_status = #{record.deleteStatus,jdbcType=INTEGER},
createtime = #{record.createtime,jdbcType=TIMESTAMP}
<if test="_parameter != null">
<include refid="Update_By_Example_Where_Clause" />
</if>
</update>
<update id="updateByPrimaryKeySelective" parameterType="com.macro.mall.model.VankeInboundRecord">
update vanke_inbound_record
<set>
<if test="inboundNo != null">
inbound_no = #{inboundNo,jdbcType=VARCHAR},
</if>
<if test="goodsId != null">
goods_id = #{goodsId,jdbcType=BIGINT},
</if>
<if test="stockRoomId != null">
stock_room_id = #{stockRoomId,jdbcType=BIGINT},
</if>
<if test="inboundNum != null">
inbound_num = #{inboundNum,jdbcType=INTEGER},
</if>
<if test="receptInboundMemberId != null">
recept_inbound_member_id = #{receptInboundMemberId,jdbcType=BIGINT},
</if>
<if test="backInboundMemberId != null">
back_inbound_member_id = #{backInboundMemberId,jdbcType=BIGINT},
</if>
<if test="deleteStatus != null">
delete_status = #{deleteStatus,jdbcType=INTEGER},
</if>
<if test="createtime != null">
createtime = #{createtime,jdbcType=TIMESTAMP},
</if>
</set>
where id = #{id,jdbcType=BIGINT}
</update>
<update id="updateByPrimaryKey" parameterType="com.macro.mall.model.VankeInboundRecord">
update vanke_inbound_record
set inbound_no = #{inboundNo,jdbcType=VARCHAR},
goods_id = #{goodsId,jdbcType=BIGINT},
stock_room_id = #{stockRoomId,jdbcType=BIGINT},
inbound_num = #{inboundNum,jdbcType=INTEGER},
recept_inbound_member_id = #{receptInboundMemberId,jdbcType=BIGINT},
back_inbound_member_id = #{backInboundMemberId,jdbcType=BIGINT},
delete_status = #{deleteStatus,jdbcType=INTEGER},
createtime = #{createtime,jdbcType=TIMESTAMP}
where id = #{id,jdbcType=BIGINT}
</update>
</mapper>
\ No newline at end of file
<?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.macro.mall.mapper.VankeOutboundRecordMapper">
<resultMap id="BaseResultMap" type="com.macro.mall.model.VankeOutboundRecord">
<id column="id" jdbcType="BIGINT" property="id" />
<result column="outbound_no" jdbcType="VARCHAR" property="outboundNo" />
<result column="member_id" jdbcType="BIGINT" property="memberId" />
<result column="depart_id" jdbcType="BIGINT" property="departId" />
<result column="goods_id" jdbcType="BIGINT" property="goodsId" />
<result column="goods_category_id" jdbcType="BIGINT" property="goodsCategoryId" />
<result column="stock_room_id" jdbcType="BIGINT" property="stockRoomId" />
<result column="outbound_num" jdbcType="INTEGER" property="outboundNum" />
<result column="recept_outbound_member_id" jdbcType="BIGINT" property="receptOutboundMemberId" />
<result column="back_outbound_member_id" jdbcType="BIGINT" property="backOutboundMemberId" />
<result column="delete_status" jdbcType="INTEGER" property="deleteStatus" />
<result column="createtime" jdbcType="TIMESTAMP" property="createtime" />
</resultMap>
<sql id="Example_Where_Clause">
<where>
<foreach collection="oredCriteria" item="criteria" separator="or">
<if test="criteria.valid">
<trim prefix="(" prefixOverrides="and" suffix=")">
<foreach collection="criteria.criteria" item="criterion">
<choose>
<when test="criterion.noValue">
and ${criterion.condition}
</when>
<when test="criterion.singleValue">
and ${criterion.condition} #{criterion.value}
</when>
<when test="criterion.betweenValue">
and ${criterion.condition} #{criterion.value} and #{criterion.secondValue}
</when>
<when test="criterion.listValue">
and ${criterion.condition}
<foreach close=")" collection="criterion.value" item="listItem" open="(" separator=",">
#{listItem}
</foreach>
</when>
</choose>
</foreach>
</trim>
</if>
</foreach>
</where>
</sql>
<sql id="Update_By_Example_Where_Clause">
<where>
<foreach collection="example.oredCriteria" item="criteria" separator="or">
<if test="criteria.valid">
<trim prefix="(" prefixOverrides="and" suffix=")">
<foreach collection="criteria.criteria" item="criterion">
<choose>
<when test="criterion.noValue">
and ${criterion.condition}
</when>
<when test="criterion.singleValue">
and ${criterion.condition} #{criterion.value}
</when>
<when test="criterion.betweenValue">
and ${criterion.condition} #{criterion.value} and #{criterion.secondValue}
</when>
<when test="criterion.listValue">
and ${criterion.condition}
<foreach close=")" collection="criterion.value" item="listItem" open="(" separator=",">
#{listItem}
</foreach>
</when>
</choose>
</foreach>
</trim>
</if>
</foreach>
</where>
</sql>
<sql id="Base_Column_List">
id, outbound_no, member_id, depart_id, goods_id, goods_category_id, stock_room_id,
outbound_num, recept_outbound_member_id, back_outbound_member_id, delete_status,
createtime
</sql>
<select id="selectByExample" parameterType="com.macro.mall.model.VankeOutboundRecordExample" resultMap="BaseResultMap">
select
<if test="distinct">
distinct
</if>
<include refid="Base_Column_List" />
from vanke_outbound_record
<if test="_parameter != null">
<include refid="Example_Where_Clause" />
</if>
<if test="orderByClause != null">
order by ${orderByClause}
</if>
</select>
<select id="selectByPrimaryKey" parameterType="java.lang.Long" resultMap="BaseResultMap">
select
<include refid="Base_Column_List" />
from vanke_outbound_record
where id = #{id,jdbcType=BIGINT}
</select>
<delete id="deleteByPrimaryKey" parameterType="java.lang.Long">
delete from vanke_outbound_record
where id = #{id,jdbcType=BIGINT}
</delete>
<delete id="deleteByExample" parameterType="com.macro.mall.model.VankeOutboundRecordExample">
delete from vanke_outbound_record
<if test="_parameter != null">
<include refid="Example_Where_Clause" />
</if>
</delete>
<insert id="insert" parameterType="com.macro.mall.model.VankeOutboundRecord">
<selectKey keyProperty="id" order="AFTER" resultType="java.lang.Long">
SELECT LAST_INSERT_ID()
</selectKey>
insert into vanke_outbound_record (outbound_no, member_id, depart_id,
goods_id, goods_category_id, stock_room_id,
outbound_num, recept_outbound_member_id, back_outbound_member_id,
delete_status, createtime)
values (#{outboundNo,jdbcType=VARCHAR}, #{memberId,jdbcType=BIGINT}, #{departId,jdbcType=BIGINT},
#{goodsId,jdbcType=BIGINT}, #{goodsCategoryId,jdbcType=BIGINT}, #{stockRoomId,jdbcType=BIGINT},
#{outboundNum,jdbcType=INTEGER}, #{receptOutboundMemberId,jdbcType=BIGINT}, #{backOutboundMemberId,jdbcType=BIGINT},
#{deleteStatus,jdbcType=INTEGER}, #{createtime,jdbcType=TIMESTAMP})
</insert>
<insert id="insertSelective" parameterType="com.macro.mall.model.VankeOutboundRecord">
<selectKey keyProperty="id" order="AFTER" resultType="java.lang.Long">
SELECT LAST_INSERT_ID()
</selectKey>
insert into vanke_outbound_record
<trim prefix="(" suffix=")" suffixOverrides=",">
<if test="outboundNo != null">
outbound_no,
</if>
<if test="memberId != null">
member_id,
</if>
<if test="departId != null">
depart_id,
</if>
<if test="goodsId != null">
goods_id,
</if>
<if test="goodsCategoryId != null">
goods_category_id,
</if>
<if test="stockRoomId != null">
stock_room_id,
</if>
<if test="outboundNum != null">
outbound_num,
</if>
<if test="receptOutboundMemberId != null">
recept_outbound_member_id,
</if>
<if test="backOutboundMemberId != null">
back_outbound_member_id,
</if>
<if test="deleteStatus != null">
delete_status,
</if>
<if test="createtime != null">
createtime,
</if>
</trim>
<trim prefix="values (" suffix=")" suffixOverrides=",">
<if test="outboundNo != null">
#{outboundNo,jdbcType=VARCHAR},
</if>
<if test="memberId != null">
#{memberId,jdbcType=BIGINT},
</if>
<if test="departId != null">
#{departId,jdbcType=BIGINT},
</if>
<if test="goodsId != null">
#{goodsId,jdbcType=BIGINT},
</if>
<if test="goodsCategoryId != null">
#{goodsCategoryId,jdbcType=BIGINT},
</if>
<if test="stockRoomId != null">
#{stockRoomId,jdbcType=BIGINT},
</if>
<if test="outboundNum != null">
#{outboundNum,jdbcType=INTEGER},
</if>
<if test="receptOutboundMemberId != null">
#{receptOutboundMemberId,jdbcType=BIGINT},
</if>
<if test="backOutboundMemberId != null">
#{backOutboundMemberId,jdbcType=BIGINT},
</if>
<if test="deleteStatus != null">
#{deleteStatus,jdbcType=INTEGER},
</if>
<if test="createtime != null">
#{createtime,jdbcType=TIMESTAMP},
</if>
</trim>
</insert>
<select id="countByExample" parameterType="com.macro.mall.model.VankeOutboundRecordExample" resultType="java.lang.Long">
select count(*) from vanke_outbound_record
<if test="_parameter != null">
<include refid="Example_Where_Clause" />
</if>
</select>
<update id="updateByExampleSelective" parameterType="map">
update vanke_outbound_record
<set>
<if test="record.id != null">
id = #{record.id,jdbcType=BIGINT},
</if>
<if test="record.outboundNo != null">
outbound_no = #{record.outboundNo,jdbcType=VARCHAR},
</if>
<if test="record.memberId != null">
member_id = #{record.memberId,jdbcType=BIGINT},
</if>
<if test="record.departId != null">
depart_id = #{record.departId,jdbcType=BIGINT},
</if>
<if test="record.goodsId != null">
goods_id = #{record.goodsId,jdbcType=BIGINT},
</if>
<if test="record.goodsCategoryId != null">
goods_category_id = #{record.goodsCategoryId,jdbcType=BIGINT},
</if>
<if test="record.stockRoomId != null">
stock_room_id = #{record.stockRoomId,jdbcType=BIGINT},
</if>
<if test="record.outboundNum != null">
outbound_num = #{record.outboundNum,jdbcType=INTEGER},
</if>
<if test="record.receptOutboundMemberId != null">
recept_outbound_member_id = #{record.receptOutboundMemberId,jdbcType=BIGINT},
</if>
<if test="record.backOutboundMemberId != null">
back_outbound_member_id = #{record.backOutboundMemberId,jdbcType=BIGINT},
</if>
<if test="record.deleteStatus != null">
delete_status = #{record.deleteStatus,jdbcType=INTEGER},
</if>
<if test="record.createtime != null">
createtime = #{record.createtime,jdbcType=TIMESTAMP},
</if>
</set>
<if test="_parameter != null">
<include refid="Update_By_Example_Where_Clause" />
</if>
</update>
<update id="updateByExample" parameterType="map">
update vanke_outbound_record
set id = #{record.id,jdbcType=BIGINT},
outbound_no = #{record.outboundNo,jdbcType=VARCHAR},
member_id = #{record.memberId,jdbcType=BIGINT},
depart_id = #{record.departId,jdbcType=BIGINT},
goods_id = #{record.goodsId,jdbcType=BIGINT},
goods_category_id = #{record.goodsCategoryId,jdbcType=BIGINT},
stock_room_id = #{record.stockRoomId,jdbcType=BIGINT},
outbound_num = #{record.outboundNum,jdbcType=INTEGER},
recept_outbound_member_id = #{record.receptOutboundMemberId,jdbcType=BIGINT},
back_outbound_member_id = #{record.backOutboundMemberId,jdbcType=BIGINT},
delete_status = #{record.deleteStatus,jdbcType=INTEGER},
createtime = #{record.createtime,jdbcType=TIMESTAMP}
<if test="_parameter != null">
<include refid="Update_By_Example_Where_Clause" />
</if>
</update>
<update id="updateByPrimaryKeySelective" parameterType="com.macro.mall.model.VankeOutboundRecord">
update vanke_outbound_record
<set>
<if test="outboundNo != null">
outbound_no = #{outboundNo,jdbcType=VARCHAR},
</if>
<if test="memberId != null">
member_id = #{memberId,jdbcType=BIGINT},
</if>
<if test="departId != null">
depart_id = #{departId,jdbcType=BIGINT},
</if>
<if test="goodsId != null">
goods_id = #{goodsId,jdbcType=BIGINT},
</if>
<if test="goodsCategoryId != null">
goods_category_id = #{goodsCategoryId,jdbcType=BIGINT},
</if>
<if test="stockRoomId != null">
stock_room_id = #{stockRoomId,jdbcType=BIGINT},
</if>
<if test="outboundNum != null">
outbound_num = #{outboundNum,jdbcType=INTEGER},
</if>
<if test="receptOutboundMemberId != null">
recept_outbound_member_id = #{receptOutboundMemberId,jdbcType=BIGINT},
</if>
<if test="backOutboundMemberId != null">
back_outbound_member_id = #{backOutboundMemberId,jdbcType=BIGINT},
</if>
<if test="deleteStatus != null">
delete_status = #{deleteStatus,jdbcType=INTEGER},
</if>
<if test="createtime != null">
createtime = #{createtime,jdbcType=TIMESTAMP},
</if>
</set>
where id = #{id,jdbcType=BIGINT}
</update>
<update id="updateByPrimaryKey" parameterType="com.macro.mall.model.VankeOutboundRecord">
update vanke_outbound_record
set outbound_no = #{outboundNo,jdbcType=VARCHAR},
member_id = #{memberId,jdbcType=BIGINT},
depart_id = #{departId,jdbcType=BIGINT},
goods_id = #{goodsId,jdbcType=BIGINT},
goods_category_id = #{goodsCategoryId,jdbcType=BIGINT},
stock_room_id = #{stockRoomId,jdbcType=BIGINT},
outbound_num = #{outboundNum,jdbcType=INTEGER},
recept_outbound_member_id = #{receptOutboundMemberId,jdbcType=BIGINT},
back_outbound_member_id = #{backOutboundMemberId,jdbcType=BIGINT},
delete_status = #{deleteStatus,jdbcType=INTEGER},
createtime = #{createtime,jdbcType=TIMESTAMP}
where id = #{id,jdbcType=BIGINT}
</update>
</mapper>
\ No newline at end of file
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