浏览代码

update

Signed-off-by: anderx <312518615@qq.com>
anderx 5 年之前
父节点
当前提交
685be188c7

+ 11 - 11
src/main/java/com/goafanti/common/dao/DemandCollectionMapper.java

@@ -9,68 +9,68 @@ public interface DemandCollectionMapper {
 
 	/**
 	 * This method was generated by MyBatis Generator. This method corresponds to the database table demand_collection
-	 * @mbg.generated  Sun Jul 12 15:34:35 CST 2020
+	 * @mbg.generated  Sun Jul 12 16:18:44 CST 2020
 	 */
 	long countByExample(DemandCollectionExample example);
 
 	/**
 	 * This method was generated by MyBatis Generator. This method corresponds to the database table demand_collection
-	 * @mbg.generated  Sun Jul 12 15:34:35 CST 2020
+	 * @mbg.generated  Sun Jul 12 16:18:44 CST 2020
 	 */
 	int deleteByExample(DemandCollectionExample example);
 
 	/**
 	 * This method was generated by MyBatis Generator. This method corresponds to the database table demand_collection
-	 * @mbg.generated  Sun Jul 12 15:34:35 CST 2020
+	 * @mbg.generated  Sun Jul 12 16:18:44 CST 2020
 	 */
 	int deleteByPrimaryKey(Integer id);
 
 	/**
 	 * This method was generated by MyBatis Generator. This method corresponds to the database table demand_collection
-	 * @mbg.generated  Sun Jul 12 15:34:35 CST 2020
+	 * @mbg.generated  Sun Jul 12 16:18:44 CST 2020
 	 */
 	int insert(DemandCollection record);
 
 	/**
 	 * This method was generated by MyBatis Generator. This method corresponds to the database table demand_collection
-	 * @mbg.generated  Sun Jul 12 15:34:35 CST 2020
+	 * @mbg.generated  Sun Jul 12 16:18:44 CST 2020
 	 */
 	int insertSelective(DemandCollection record);
 
 	/**
 	 * This method was generated by MyBatis Generator. This method corresponds to the database table demand_collection
-	 * @mbg.generated  Sun Jul 12 15:34:35 CST 2020
+	 * @mbg.generated  Sun Jul 12 16:18:44 CST 2020
 	 */
 	List<DemandCollection> selectByExample(DemandCollectionExample example);
 
 	/**
 	 * This method was generated by MyBatis Generator. This method corresponds to the database table demand_collection
-	 * @mbg.generated  Sun Jul 12 15:34:35 CST 2020
+	 * @mbg.generated  Sun Jul 12 16:18:44 CST 2020
 	 */
 	DemandCollection selectByPrimaryKey(Integer id);
 
 	/**
 	 * This method was generated by MyBatis Generator. This method corresponds to the database table demand_collection
-	 * @mbg.generated  Sun Jul 12 15:34:35 CST 2020
+	 * @mbg.generated  Sun Jul 12 16:18:44 CST 2020
 	 */
 	int updateByExampleSelective(@Param("record") DemandCollection record,
 			@Param("example") DemandCollectionExample example);
 
 	/**
 	 * This method was generated by MyBatis Generator. This method corresponds to the database table demand_collection
-	 * @mbg.generated  Sun Jul 12 15:34:35 CST 2020
+	 * @mbg.generated  Sun Jul 12 16:18:44 CST 2020
 	 */
 	int updateByExample(@Param("record") DemandCollection record, @Param("example") DemandCollectionExample example);
 
 	/**
 	 * This method was generated by MyBatis Generator. This method corresponds to the database table demand_collection
-	 * @mbg.generated  Sun Jul 12 15:34:35 CST 2020
+	 * @mbg.generated  Sun Jul 12 16:18:44 CST 2020
 	 */
 	int updateByPrimaryKeySelective(DemandCollection record);
 
 	/**
 	 * This method was generated by MyBatis Generator. This method corresponds to the database table demand_collection
-	 * @mbg.generated  Sun Jul 12 15:34:35 CST 2020
+	 * @mbg.generated  Sun Jul 12 16:18:44 CST 2020
 	 */
 	int updateByPrimaryKey(DemandCollection record);
 }

+ 15 - 15
src/main/java/com/goafanti/common/mapper/DemandCollectionMapper.xml

@@ -5,7 +5,7 @@
     <!--
       WARNING - @mbg.generated
       This element is automatically generated by MyBatis Generator, do not modify.
-      This element was generated on Sun Jul 12 15:34:35 CST 2020.
+      This element was generated on Sun Jul 12 16:18:44 CST 2020.
     -->
     <id column="id" jdbcType="INTEGER" property="id" />
     <result column="dwmc" jdbcType="VARCHAR" property="dwmc" />
@@ -108,7 +108,7 @@
     <!--
       WARNING - @mbg.generated
       This element is automatically generated by MyBatis Generator, do not modify.
-      This element was generated on Sun Jul 12 15:34:35 CST 2020.
+      This element was generated on Sun Jul 12 16:18:44 CST 2020.
     -->
     <where>
       <foreach collection="oredCriteria" item="criteria" separator="or">
@@ -142,7 +142,7 @@
     <!--
       WARNING - @mbg.generated
       This element is automatically generated by MyBatis Generator, do not modify.
-      This element was generated on Sun Jul 12 15:34:35 CST 2020.
+      This element was generated on Sun Jul 12 16:18:44 CST 2020.
     -->
     <where>
       <foreach collection="example.oredCriteria" item="criteria" separator="or">
@@ -176,7 +176,7 @@
     <!--
       WARNING - @mbg.generated
       This element is automatically generated by MyBatis Generator, do not modify.
-      This element was generated on Sun Jul 12 15:34:35 CST 2020.
+      This element was generated on Sun Jul 12 16:18:44 CST 2020.
     -->
     id, dwmc, dwxz, dwxz_value, htly, ssszp, ssszc, sssza, ssyq, yysjjyspt, yysjjyspt_value, 
     frdb, tyshxydm, jjgm, rygm, clsj, zczb, txdz, yb, lxr, lxdh, email, zyywjhxcp, ndxmzyywsr18, 
@@ -194,7 +194,7 @@
     <!--
       WARNING - @mbg.generated
       This element is automatically generated by MyBatis Generator, do not modify.
-      This element was generated on Sun Jul 12 15:34:35 CST 2020.
+      This element was generated on Sun Jul 12 16:18:44 CST 2020.
     -->
     select
     <if test="distinct">
@@ -213,7 +213,7 @@
     <!--
       WARNING - @mbg.generated
       This element is automatically generated by MyBatis Generator, do not modify.
-      This element was generated on Sun Jul 12 15:34:35 CST 2020.
+      This element was generated on Sun Jul 12 16:18:44 CST 2020.
     -->
     select 
     <include refid="Base_Column_List" />
@@ -224,7 +224,7 @@
     <!--
       WARNING - @mbg.generated
       This element is automatically generated by MyBatis Generator, do not modify.
-      This element was generated on Sun Jul 12 15:34:35 CST 2020.
+      This element was generated on Sun Jul 12 16:18:44 CST 2020.
     -->
     delete from demand_collection
     where id = #{id,jdbcType=INTEGER}
@@ -233,7 +233,7 @@
     <!--
       WARNING - @mbg.generated
       This element is automatically generated by MyBatis Generator, do not modify.
-      This element was generated on Sun Jul 12 15:34:35 CST 2020.
+      This element was generated on Sun Jul 12 16:18:44 CST 2020.
     -->
     delete from demand_collection
     <if test="_parameter != null">
@@ -244,7 +244,7 @@
     <!--
       WARNING - @mbg.generated
       This element is automatically generated by MyBatis Generator, do not modify.
-      This element was generated on Sun Jul 12 15:34:35 CST 2020.
+      This element was generated on Sun Jul 12 16:18:44 CST 2020.
     -->
     insert into demand_collection (id, dwmc, dwxz, 
       dwxz_value, htly, ssszp, 
@@ -315,7 +315,7 @@
     <!--
       WARNING - @mbg.generated
       This element is automatically generated by MyBatis Generator, do not modify.
-      This element was generated on Sun Jul 12 15:34:35 CST 2020.
+      This element was generated on Sun Jul 12 16:18:44 CST 2020.
     -->
     insert into demand_collection
     <trim prefix="(" suffix=")" suffixOverrides=",">
@@ -903,7 +903,7 @@
     <!--
       WARNING - @mbg.generated
       This element is automatically generated by MyBatis Generator, do not modify.
-      This element was generated on Sun Jul 12 15:34:35 CST 2020.
+      This element was generated on Sun Jul 12 16:18:44 CST 2020.
     -->
     select count(*) from demand_collection
     <if test="_parameter != null">
@@ -914,7 +914,7 @@
     <!--
       WARNING - @mbg.generated
       This element is automatically generated by MyBatis Generator, do not modify.
-      This element was generated on Sun Jul 12 15:34:35 CST 2020.
+      This element was generated on Sun Jul 12 16:18:44 CST 2020.
     -->
     update demand_collection
     <set>
@@ -1215,7 +1215,7 @@
     <!--
       WARNING - @mbg.generated
       This element is automatically generated by MyBatis Generator, do not modify.
-      This element was generated on Sun Jul 12 15:34:35 CST 2020.
+      This element was generated on Sun Jul 12 16:18:44 CST 2020.
     -->
     update demand_collection
     set id = #{record.id,jdbcType=INTEGER},
@@ -1322,7 +1322,7 @@
     <!--
       WARNING - @mbg.generated
       This element is automatically generated by MyBatis Generator, do not modify.
-      This element was generated on Sun Jul 12 15:34:35 CST 2020.
+      This element was generated on Sun Jul 12 16:18:44 CST 2020.
     -->
     update demand_collection
     <set>
@@ -1618,7 +1618,7 @@
     <!--
       WARNING - @mbg.generated
       This element is automatically generated by MyBatis Generator, do not modify.
-      This element was generated on Sun Jul 12 15:34:35 CST 2020.
+      This element was generated on Sun Jul 12 16:18:44 CST 2020.
     -->
     update demand_collection
     set dwmc = #{dwmc,jdbcType=VARCHAR},

文件差异内容过多而无法显示
+ 288 - 288
src/main/java/com/goafanti/common/model/DemandCollection.java


+ 16 - 16
src/main/java/com/goafanti/common/model/DemandCollectionExample.java

@@ -8,23 +8,23 @@ import java.util.List;
 public class DemandCollectionExample {
     /**
 	 * This field was generated by MyBatis Generator. This field corresponds to the database table demand_collection
-	 * @mbg.generated  Sun Jul 12 15:34:35 CST 2020
+	 * @mbg.generated  Sun Jul 12 16:18:44 CST 2020
 	 */
 	protected String orderByClause;
 	/**
 	 * This field was generated by MyBatis Generator. This field corresponds to the database table demand_collection
-	 * @mbg.generated  Sun Jul 12 15:34:35 CST 2020
+	 * @mbg.generated  Sun Jul 12 16:18:44 CST 2020
 	 */
 	protected boolean distinct;
 	/**
 	 * This field was generated by MyBatis Generator. This field corresponds to the database table demand_collection
-	 * @mbg.generated  Sun Jul 12 15:34:35 CST 2020
+	 * @mbg.generated  Sun Jul 12 16:18:44 CST 2020
 	 */
 	protected List<Criteria> oredCriteria;
 
 	/**
 	 * This method was generated by MyBatis Generator. This method corresponds to the database table demand_collection
-	 * @mbg.generated  Sun Jul 12 15:34:35 CST 2020
+	 * @mbg.generated  Sun Jul 12 16:18:44 CST 2020
 	 */
 	public DemandCollectionExample() {
 		oredCriteria = new ArrayList<Criteria>();
@@ -32,7 +32,7 @@ public class DemandCollectionExample {
 
 	/**
 	 * This method was generated by MyBatis Generator. This method corresponds to the database table demand_collection
-	 * @mbg.generated  Sun Jul 12 15:34:35 CST 2020
+	 * @mbg.generated  Sun Jul 12 16:18:44 CST 2020
 	 */
 	public void setOrderByClause(String orderByClause) {
 		this.orderByClause = orderByClause;
@@ -40,7 +40,7 @@ public class DemandCollectionExample {
 
 	/**
 	 * This method was generated by MyBatis Generator. This method corresponds to the database table demand_collection
-	 * @mbg.generated  Sun Jul 12 15:34:35 CST 2020
+	 * @mbg.generated  Sun Jul 12 16:18:44 CST 2020
 	 */
 	public String getOrderByClause() {
 		return orderByClause;
@@ -48,7 +48,7 @@ public class DemandCollectionExample {
 
 	/**
 	 * This method was generated by MyBatis Generator. This method corresponds to the database table demand_collection
-	 * @mbg.generated  Sun Jul 12 15:34:35 CST 2020
+	 * @mbg.generated  Sun Jul 12 16:18:44 CST 2020
 	 */
 	public void setDistinct(boolean distinct) {
 		this.distinct = distinct;
@@ -56,7 +56,7 @@ public class DemandCollectionExample {
 
 	/**
 	 * This method was generated by MyBatis Generator. This method corresponds to the database table demand_collection
-	 * @mbg.generated  Sun Jul 12 15:34:35 CST 2020
+	 * @mbg.generated  Sun Jul 12 16:18:44 CST 2020
 	 */
 	public boolean isDistinct() {
 		return distinct;
@@ -64,7 +64,7 @@ public class DemandCollectionExample {
 
 	/**
 	 * This method was generated by MyBatis Generator. This method corresponds to the database table demand_collection
-	 * @mbg.generated  Sun Jul 12 15:34:35 CST 2020
+	 * @mbg.generated  Sun Jul 12 16:18:44 CST 2020
 	 */
 	public List<Criteria> getOredCriteria() {
 		return oredCriteria;
@@ -72,7 +72,7 @@ public class DemandCollectionExample {
 
 	/**
 	 * This method was generated by MyBatis Generator. This method corresponds to the database table demand_collection
-	 * @mbg.generated  Sun Jul 12 15:34:35 CST 2020
+	 * @mbg.generated  Sun Jul 12 16:18:44 CST 2020
 	 */
 	public void or(Criteria criteria) {
 		oredCriteria.add(criteria);
@@ -80,7 +80,7 @@ public class DemandCollectionExample {
 
 	/**
 	 * This method was generated by MyBatis Generator. This method corresponds to the database table demand_collection
-	 * @mbg.generated  Sun Jul 12 15:34:35 CST 2020
+	 * @mbg.generated  Sun Jul 12 16:18:44 CST 2020
 	 */
 	public Criteria or() {
 		Criteria criteria = createCriteriaInternal();
@@ -90,7 +90,7 @@ public class DemandCollectionExample {
 
 	/**
 	 * This method was generated by MyBatis Generator. This method corresponds to the database table demand_collection
-	 * @mbg.generated  Sun Jul 12 15:34:35 CST 2020
+	 * @mbg.generated  Sun Jul 12 16:18:44 CST 2020
 	 */
 	public Criteria createCriteria() {
 		Criteria criteria = createCriteriaInternal();
@@ -102,7 +102,7 @@ public class DemandCollectionExample {
 
 	/**
 	 * This method was generated by MyBatis Generator. This method corresponds to the database table demand_collection
-	 * @mbg.generated  Sun Jul 12 15:34:35 CST 2020
+	 * @mbg.generated  Sun Jul 12 16:18:44 CST 2020
 	 */
 	protected Criteria createCriteriaInternal() {
 		Criteria criteria = new Criteria();
@@ -111,7 +111,7 @@ public class DemandCollectionExample {
 
 	/**
 	 * This method was generated by MyBatis Generator. This method corresponds to the database table demand_collection
-	 * @mbg.generated  Sun Jul 12 15:34:35 CST 2020
+	 * @mbg.generated  Sun Jul 12 16:18:44 CST 2020
 	 */
 	public void clear() {
 		oredCriteria.clear();
@@ -121,7 +121,7 @@ public class DemandCollectionExample {
 
 	/**
 	 * This class was generated by MyBatis Generator. This class corresponds to the database table demand_collection
-	 * @mbg.generated  Sun Jul 12 15:34:35 CST 2020
+	 * @mbg.generated  Sun Jul 12 16:18:44 CST 2020
 	 */
 	protected abstract static class GeneratedCriteria {
 		protected List<Criterion> criteria;
@@ -6487,7 +6487,7 @@ public class DemandCollectionExample {
 
 	/**
 	 * This class was generated by MyBatis Generator. This class corresponds to the database table demand_collection
-	 * @mbg.generated  Sun Jul 12 15:34:35 CST 2020
+	 * @mbg.generated  Sun Jul 12 16:18:44 CST 2020
 	 */
 	public static class Criterion {
 		private String condition;

+ 38 - 16
src/main/java/com/goafanti/demandCollection/bo/OutDemandCollection.java

@@ -98,6 +98,7 @@ public class OutDemandCollection {
 	private String zjyt;
 	private String zjqk;
 	private String xqjjfs;
+	private String xqjjfsValue;
 	private String createTime;
 
 	public String getId() {
@@ -957,23 +958,7 @@ public class OutDemandCollection {
 		this.nsqdsjxm = nsqdsjxm;
 	}
 
-	public String getSqskjzgbmxxdwgkfb() {
-		if (sqskjzgbmxxdwgkfb == null)
-			return "";
-		else if   (sqskjzgbmxxdwgkfb.equals("0"))
-			return "其他,请具体描述同意授权公开的范围内容";
-		else if (sqskjzgbmxxdwgkfb.equals("1"))
-			return "同意授权公开单位信息";
-		else if (sqskjzgbmxxdwgkfb.equals("2"))
-			return "同意授权公开成果信息";
-		else if (sqskjzgbmxxdwgkfb.equals("3"))
-			return "不同意授权";
-		return sqskjzgbmxxdwgkfb;
-	}
 
-	public void setSqskjzgbmxxdwgkfb(String sqskjzgbmxxdwgkfb) {
-		this.sqskjzgbmxxdwgkfb = sqskjzgbmxxdwgkfb;
-	}
 
 	public String getTbr() {
 		return tbr;
@@ -1269,6 +1254,19 @@ public class OutDemandCollection {
 	}
 
 	public String getXqjjfs() {
+		if (xqjjfs == null)
+			return "";
+		if (xqjjfs.equals("0"))
+			return xqjjfsValue;
+		else if (xqjjfs.equals("1"))
+			return "财政支持";
+		else if (xqjjfs.equals("2"))
+			return "银行贷款";
+		else if (xqjjfs.equals("3"))
+			return "风险投资";
+		else if (xqjjfs.equals("4"))
+			return "上市融资";
+		
 		return xqjjfs;
 	}
 
@@ -1339,5 +1337,29 @@ public class OutDemandCollection {
 	public void setYysjjysptValue(String yysjjysptValue) {
 		this.yysjjysptValue = yysjjysptValue;
 	}
+	public String getSqskjzgbmxxdwgkfb() {
+		if (sqskjzgbmxxdwgkfb == null)
+			return "";
+		else if   (sqskjzgbmxxdwgkfb.equals("0"))
+			return "其他,请具体描述同意授权公开的范围内容";
+		else if (sqskjzgbmxxdwgkfb.equals("1"))
+			return "同意授权公开单位信息";
+		else if (sqskjzgbmxxdwgkfb.equals("2"))
+			return "同意授权公开成果信息";
+		else if (sqskjzgbmxxdwgkfb.equals("3"))
+			return "不同意授权";
+		return sqskjzgbmxxdwgkfb;
+	}
 
+	public void setSqskjzgbmxxdwgkfb(String sqskjzgbmxxdwgkfb) {
+		this.sqskjzgbmxxdwgkfb = sqskjzgbmxxdwgkfb;
+	}
+
+	public String getXqjjfsValue() {
+		return xqjjfsValue;
+	}
+
+	public void setXqjjfsValue(String xqjjfsValue) {
+		this.xqjjfsValue = xqjjfsValue;
+	}
 }