liuyuhang_branch
parent
c8b737855a
commit
2176d7dde4
@ -0,0 +1,23 @@
|
||||
package com.wsk.dao;
|
||||
|
||||
import com.wsk.pojo.ShopCar;
|
||||
|
||||
public interface ShopCarMapper {
|
||||
int deleteByPrimaryKey(Integer id);
|
||||
|
||||
int insert(ShopCar record);
|
||||
|
||||
int insertSelective(ShopCar record);
|
||||
|
||||
ShopCar selectByPrimaryKey(Integer id);
|
||||
|
||||
int updateByPrimaryKeySelective(ShopCar record);
|
||||
|
||||
int updateByPrimaryKey(ShopCar record);
|
||||
|
||||
int getCounts(int uid);
|
||||
|
||||
// List<ShopCar> selectByUid(int uid, int start);
|
||||
|
||||
ShopCar selectByUid(int uid);
|
||||
}
|
@ -0,0 +1,46 @@
|
||||
package com.wsk.pojo;
|
||||
|
||||
import java.io.Serializable;
|
||||
import java.util.Date;
|
||||
|
||||
public class ShopCar implements Serializable {
|
||||
private Integer id;
|
||||
|
||||
private Date modified;
|
||||
|
||||
private Integer display;
|
||||
|
||||
private Integer uid;
|
||||
|
||||
public Integer getId() {
|
||||
return id;
|
||||
}
|
||||
|
||||
public void setId(Integer id) {
|
||||
this.id = id;
|
||||
}
|
||||
|
||||
public Date getModified() {
|
||||
return modified == null ? null : (Date) modified.clone();
|
||||
}
|
||||
|
||||
public void setModified(Date modified) {
|
||||
this.modified = modified == null ? null : (Date) modified.clone();
|
||||
}
|
||||
|
||||
public Integer getDisplay() {
|
||||
return display;
|
||||
}
|
||||
|
||||
public void setDisplay(Integer display) {
|
||||
this.display = display;
|
||||
}
|
||||
|
||||
public Integer getUid() {
|
||||
return uid;
|
||||
}
|
||||
|
||||
public void setUid(Integer uid) {
|
||||
this.uid = uid;
|
||||
}
|
||||
}
|
@ -0,0 +1,26 @@
|
||||
package com.wsk.service;
|
||||
|
||||
import com.wsk.pojo.ShopCar;
|
||||
|
||||
/**
|
||||
* Created by wsk1103 on 2017/5/13.
|
||||
*/
|
||||
public interface ShopCarService {
|
||||
int deleteByPrimaryKey(Integer id);
|
||||
|
||||
int insert(ShopCar record);
|
||||
|
||||
int insertSelective(ShopCar record);
|
||||
|
||||
ShopCar selectByPrimaryKey(Integer id);
|
||||
|
||||
int updateByPrimaryKeySelective(ShopCar record);
|
||||
|
||||
int updateByPrimaryKey(ShopCar record);
|
||||
|
||||
int getCounts(int uid);
|
||||
|
||||
// List<ShopCar> selectByUid(int uid, int start);
|
||||
|
||||
ShopCar selectByUid(int uid);
|
||||
}
|
Loading…
Reference in new issue