From 621ac326055cce2e835175a620a48f5999607ec8 Mon Sep 17 00:00:00 2001 From: YuanYe <418471657@qq.com> Date: Mon, 15 Jul 2024 16:51:32 +0800 Subject: [PATCH] 1 --- .../src/main/java/com/hfkj/dao/BsOrderOutsideMapper.java | 5 +++++ .../java/com/hfkj/dao/BsOrderOutsideSqlProvider.java | 5 +++++ .../src/main/java/com/hfkj/entity/BsOrderOutside.java | 9 +++++++++ .../main/java/com/hfkj/entity/BsOrderOutsideExample.java | 5 +++++ 4 files changed, 24 insertions(+) diff --git a/service/src/main/java/com/hfkj/dao/BsOrderOutsideMapper.java b/service/src/main/java/com/hfkj/dao/BsOrderOutsideMapper.java index 0fcbcdc..7e691cf 100644 --- a/service/src/main/java/com/hfkj/dao/BsOrderOutsideMapper.java +++ b/service/src/main/java/com/hfkj/dao/BsOrderOutsideMapper.java @@ -3,6 +3,10 @@ package com.hfkj.dao; import com.hfkj.entity.BsOrderOutside; import com.hfkj.entity.BsOrderOutsideExample; import java.util.List; +import javax.persistence.Column; +import javax.persistence.GeneratedValue; +import javax.persistence.Id; +import javax.persistence.Table; import org.apache.ibatis.annotations.Delete; import org.apache.ibatis.annotations.DeleteProvider; import org.apache.ibatis.annotations.Insert; @@ -16,6 +20,7 @@ import org.apache.ibatis.annotations.SelectProvider; import org.apache.ibatis.annotations.Update; import org.apache.ibatis.annotations.UpdateProvider; import org.apache.ibatis.type.JdbcType; +import org.hibernate.validator.constraints.NotEmpty; import org.springframework.stereotype.Repository; /** diff --git a/service/src/main/java/com/hfkj/dao/BsOrderOutsideSqlProvider.java b/service/src/main/java/com/hfkj/dao/BsOrderOutsideSqlProvider.java index d5c00c4..01701c2 100644 --- a/service/src/main/java/com/hfkj/dao/BsOrderOutsideSqlProvider.java +++ b/service/src/main/java/com/hfkj/dao/BsOrderOutsideSqlProvider.java @@ -6,7 +6,12 @@ import com.hfkj.entity.BsOrderOutsideExample.Criterion; import com.hfkj.entity.BsOrderOutsideExample; import java.util.List; import java.util.Map; +import javax.persistence.Column; +import javax.persistence.GeneratedValue; +import javax.persistence.Id; +import javax.persistence.Table; import org.apache.ibatis.jdbc.SQL; +import org.hibernate.validator.constraints.NotEmpty; public class BsOrderOutsideSqlProvider { diff --git a/service/src/main/java/com/hfkj/entity/BsOrderOutside.java b/service/src/main/java/com/hfkj/entity/BsOrderOutside.java index 51909d7..df9d07d 100644 --- a/service/src/main/java/com/hfkj/entity/BsOrderOutside.java +++ b/service/src/main/java/com/hfkj/entity/BsOrderOutside.java @@ -2,6 +2,11 @@ package com.hfkj.entity; import java.io.Serializable; import java.util.Date; +import javax.persistence.Column; +import javax.persistence.GeneratedValue; +import javax.persistence.Id; +import javax.persistence.Table; +import org.hibernate.validator.constraints.NotEmpty; /** * bs_order_outside @@ -12,10 +17,14 @@ import java.util.Date; * 代码由工具生成 * **/ +@Table(name="bs_order_outside") public class BsOrderOutside implements Serializable { /** * 主键 */ + @Id + @GeneratedValue + @GeneratedValue(generator = "JDBC") private Long id; /** diff --git a/service/src/main/java/com/hfkj/entity/BsOrderOutsideExample.java b/service/src/main/java/com/hfkj/entity/BsOrderOutsideExample.java index 962cf19..9a1faab 100644 --- a/service/src/main/java/com/hfkj/entity/BsOrderOutsideExample.java +++ b/service/src/main/java/com/hfkj/entity/BsOrderOutsideExample.java @@ -3,6 +3,11 @@ package com.hfkj.entity; import java.util.ArrayList; import java.util.Date; import java.util.List; +import javax.persistence.Column; +import javax.persistence.GeneratedValue; +import javax.persistence.Id; +import javax.persistence.Table; +import org.hibernate.validator.constraints.NotEmpty; public class BsOrderOutsideExample { protected String orderByClause;