Commit b184242c authored by Junling Bu's avatar Junling Bu
Browse files

update[litemall-db]: 数据库跟新。

1. 数据库以后可能不会放在版本库中,因为5MB的数据文件会影响项目clone。
2. mybatis generator重新文件。
3. service的删除只会设置删除字段,而查询则是过滤删除字段。
parent 398f1830
...@@ -9,7 +9,7 @@ public class LitemallCategoryExample { ...@@ -9,7 +9,7 @@ public class LitemallCategoryExample {
* This field was generated by MyBatis Generator. * This field was generated by MyBatis Generator.
* This field corresponds to the database table litemall_category * This field corresponds to the database table litemall_category
* *
* @mbg.generated Fri Apr 06 22:55:36 CST 2018 * @mbg.generated Sat Apr 07 10:22:31 CST 2018
*/ */
protected String orderByClause; protected String orderByClause;
...@@ -17,7 +17,7 @@ public class LitemallCategoryExample { ...@@ -17,7 +17,7 @@ public class LitemallCategoryExample {
* This field was generated by MyBatis Generator. * This field was generated by MyBatis Generator.
* This field corresponds to the database table litemall_category * This field corresponds to the database table litemall_category
* *
* @mbg.generated Fri Apr 06 22:55:36 CST 2018 * @mbg.generated Sat Apr 07 10:22:31 CST 2018
*/ */
protected boolean distinct; protected boolean distinct;
...@@ -25,7 +25,7 @@ public class LitemallCategoryExample { ...@@ -25,7 +25,7 @@ public class LitemallCategoryExample {
* This field was generated by MyBatis Generator. * This field was generated by MyBatis Generator.
* This field corresponds to the database table litemall_category * This field corresponds to the database table litemall_category
* *
* @mbg.generated Fri Apr 06 22:55:36 CST 2018 * @mbg.generated Sat Apr 07 10:22:31 CST 2018
*/ */
protected List<Criteria> oredCriteria; protected List<Criteria> oredCriteria;
...@@ -33,7 +33,7 @@ public class LitemallCategoryExample { ...@@ -33,7 +33,7 @@ public class LitemallCategoryExample {
* This method was generated by MyBatis Generator. * This method was generated by MyBatis Generator.
* This method corresponds to the database table litemall_category * This method corresponds to the database table litemall_category
* *
* @mbg.generated Fri Apr 06 22:55:36 CST 2018 * @mbg.generated Sat Apr 07 10:22:31 CST 2018
*/ */
public LitemallCategoryExample() { public LitemallCategoryExample() {
oredCriteria = new ArrayList<Criteria>(); oredCriteria = new ArrayList<Criteria>();
...@@ -43,7 +43,7 @@ public class LitemallCategoryExample { ...@@ -43,7 +43,7 @@ public class LitemallCategoryExample {
* This method was generated by MyBatis Generator. * This method was generated by MyBatis Generator.
* This method corresponds to the database table litemall_category * This method corresponds to the database table litemall_category
* *
* @mbg.generated Fri Apr 06 22:55:36 CST 2018 * @mbg.generated Sat Apr 07 10:22:31 CST 2018
*/ */
public void setOrderByClause(String orderByClause) { public void setOrderByClause(String orderByClause) {
this.orderByClause = orderByClause; this.orderByClause = orderByClause;
...@@ -53,7 +53,7 @@ public class LitemallCategoryExample { ...@@ -53,7 +53,7 @@ public class LitemallCategoryExample {
* This method was generated by MyBatis Generator. * This method was generated by MyBatis Generator.
* This method corresponds to the database table litemall_category * This method corresponds to the database table litemall_category
* *
* @mbg.generated Fri Apr 06 22:55:36 CST 2018 * @mbg.generated Sat Apr 07 10:22:31 CST 2018
*/ */
public String getOrderByClause() { public String getOrderByClause() {
return orderByClause; return orderByClause;
...@@ -63,7 +63,7 @@ public class LitemallCategoryExample { ...@@ -63,7 +63,7 @@ public class LitemallCategoryExample {
* This method was generated by MyBatis Generator. * This method was generated by MyBatis Generator.
* This method corresponds to the database table litemall_category * This method corresponds to the database table litemall_category
* *
* @mbg.generated Fri Apr 06 22:55:36 CST 2018 * @mbg.generated Sat Apr 07 10:22:31 CST 2018
*/ */
public void setDistinct(boolean distinct) { public void setDistinct(boolean distinct) {
this.distinct = distinct; this.distinct = distinct;
...@@ -73,7 +73,7 @@ public class LitemallCategoryExample { ...@@ -73,7 +73,7 @@ public class LitemallCategoryExample {
* This method was generated by MyBatis Generator. * This method was generated by MyBatis Generator.
* This method corresponds to the database table litemall_category * This method corresponds to the database table litemall_category
* *
* @mbg.generated Fri Apr 06 22:55:36 CST 2018 * @mbg.generated Sat Apr 07 10:22:31 CST 2018
*/ */
public boolean isDistinct() { public boolean isDistinct() {
return distinct; return distinct;
...@@ -83,7 +83,7 @@ public class LitemallCategoryExample { ...@@ -83,7 +83,7 @@ public class LitemallCategoryExample {
* This method was generated by MyBatis Generator. * This method was generated by MyBatis Generator.
* This method corresponds to the database table litemall_category * This method corresponds to the database table litemall_category
* *
* @mbg.generated Fri Apr 06 22:55:36 CST 2018 * @mbg.generated Sat Apr 07 10:22:31 CST 2018
*/ */
public List<Criteria> getOredCriteria() { public List<Criteria> getOredCriteria() {
return oredCriteria; return oredCriteria;
...@@ -93,7 +93,7 @@ public class LitemallCategoryExample { ...@@ -93,7 +93,7 @@ public class LitemallCategoryExample {
* This method was generated by MyBatis Generator. * This method was generated by MyBatis Generator.
* This method corresponds to the database table litemall_category * This method corresponds to the database table litemall_category
* *
* @mbg.generated Fri Apr 06 22:55:36 CST 2018 * @mbg.generated Sat Apr 07 10:22:31 CST 2018
*/ */
public void or(Criteria criteria) { public void or(Criteria criteria) {
oredCriteria.add(criteria); oredCriteria.add(criteria);
...@@ -103,7 +103,7 @@ public class LitemallCategoryExample { ...@@ -103,7 +103,7 @@ public class LitemallCategoryExample {
* This method was generated by MyBatis Generator. * This method was generated by MyBatis Generator.
* This method corresponds to the database table litemall_category * This method corresponds to the database table litemall_category
* *
* @mbg.generated Fri Apr 06 22:55:36 CST 2018 * @mbg.generated Sat Apr 07 10:22:31 CST 2018
*/ */
public Criteria or() { public Criteria or() {
Criteria criteria = createCriteriaInternal(); Criteria criteria = createCriteriaInternal();
...@@ -115,7 +115,7 @@ public class LitemallCategoryExample { ...@@ -115,7 +115,7 @@ public class LitemallCategoryExample {
* This method was generated by MyBatis Generator. * This method was generated by MyBatis Generator.
* This method corresponds to the database table litemall_category * This method corresponds to the database table litemall_category
* *
* @mbg.generated Fri Apr 06 22:55:36 CST 2018 * @mbg.generated Sat Apr 07 10:22:31 CST 2018
*/ */
public Criteria createCriteria() { public Criteria createCriteria() {
Criteria criteria = createCriteriaInternal(); Criteria criteria = createCriteriaInternal();
...@@ -129,7 +129,7 @@ public class LitemallCategoryExample { ...@@ -129,7 +129,7 @@ public class LitemallCategoryExample {
* This method was generated by MyBatis Generator. * This method was generated by MyBatis Generator.
* This method corresponds to the database table litemall_category * This method corresponds to the database table litemall_category
* *
* @mbg.generated Fri Apr 06 22:55:36 CST 2018 * @mbg.generated Sat Apr 07 10:22:31 CST 2018
*/ */
protected Criteria createCriteriaInternal() { protected Criteria createCriteriaInternal() {
Criteria criteria = new Criteria(this); Criteria criteria = new Criteria(this);
...@@ -140,7 +140,7 @@ public class LitemallCategoryExample { ...@@ -140,7 +140,7 @@ public class LitemallCategoryExample {
* This method was generated by MyBatis Generator. * This method was generated by MyBatis Generator.
* This method corresponds to the database table litemall_category * This method corresponds to the database table litemall_category
* *
* @mbg.generated Fri Apr 06 22:55:36 CST 2018 * @mbg.generated Sat Apr 07 10:22:31 CST 2018
*/ */
public void clear() { public void clear() {
oredCriteria.clear(); oredCriteria.clear();
...@@ -183,7 +183,7 @@ public class LitemallCategoryExample { ...@@ -183,7 +183,7 @@ public class LitemallCategoryExample {
* This class was generated by MyBatis Generator. * This class was generated by MyBatis Generator.
* This class corresponds to the database table litemall_category * This class corresponds to the database table litemall_category
* *
* @mbg.generated Fri Apr 06 22:55:36 CST 2018 * @mbg.generated Sat Apr 07 10:22:31 CST 2018
*/ */
protected abstract static class GeneratedCriteria { protected abstract static class GeneratedCriteria {
protected List<Criterion> criteria; protected List<Criterion> criteria;
...@@ -1341,7 +1341,7 @@ public class LitemallCategoryExample { ...@@ -1341,7 +1341,7 @@ public class LitemallCategoryExample {
* This class was generated by MyBatis Generator. * This class was generated by MyBatis Generator.
* This class corresponds to the database table litemall_category * This class corresponds to the database table litemall_category
* *
* @mbg.generated do_not_delete_during_merge Fri Apr 06 22:55:36 CST 2018 * @mbg.generated do_not_delete_during_merge Sat Apr 07 10:22:31 CST 2018
*/ */
public static class Criteria extends GeneratedCriteria { public static class Criteria extends GeneratedCriteria {
/** /**
...@@ -1413,7 +1413,7 @@ public class LitemallCategoryExample { ...@@ -1413,7 +1413,7 @@ public class LitemallCategoryExample {
* This class was generated by MyBatis Generator. * This class was generated by MyBatis Generator.
* This class corresponds to the database table litemall_category * This class corresponds to the database table litemall_category
* *
* @mbg.generated Fri Apr 06 22:55:36 CST 2018 * @mbg.generated Sat Apr 07 10:22:31 CST 2018
*/ */
public static class Criterion { public static class Criterion {
private String condition; private String condition;
......
Supports Markdown
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