Browse Source

0330

recovery
ma 4 years ago
parent
commit
24bc671d87
  1. 11
      tall/src/main/java/com/ccsens/tall/bean/po/ProRole.java
  2. 60
      tall/src/main/java/com/ccsens/tall/bean/po/ProRoleExample.java
  3. 1
      tall/src/main/java/com/ccsens/tall/service/ExportWbsService.java
  4. 1
      tall/src/main/java/com/ccsens/tall/service/TaskPluginService.java
  5. 1
      tall/src/main/java/com/ccsens/tall/service/TaskSubTimeService.java
  6. 4
      tall/src/main/resources/application.yml
  7. 25
      tall/src/main/resources/mapper_raw/ProRoleMapper.xml

11
tall/src/main/java/com/ccsens/tall/bean/po/ProRole.java

@ -24,8 +24,6 @@ public class ProRole implements Serializable {
private Long relevanceProjectId;
private Byte show;
private static final long serialVersionUID = 1L;
public Long getId() {
@ -108,14 +106,6 @@ public class ProRole implements Serializable {
this.relevanceProjectId = relevanceProjectId;
}
public Byte getShow() {
return show;
}
public void setShow(Byte show) {
this.show = show;
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder();
@ -132,7 +122,6 @@ public class ProRole implements Serializable {
sb.append(", updatedAt=").append(updatedAt);
sb.append(", recStatus=").append(recStatus);
sb.append(", relevanceProjectId=").append(relevanceProjectId);
sb.append(", show=").append(show);
sb.append("]");
return sb.toString();
}

60
tall/src/main/java/com/ccsens/tall/bean/po/ProRoleExample.java

@ -724,66 +724,6 @@ public class ProRoleExample {
addCriterion("relevance_project_id not between", value1, value2, "relevanceProjectId");
return (Criteria) this;
}
public Criteria andShowIsNull() {
addCriterion("show is null");
return (Criteria) this;
}
public Criteria andShowIsNotNull() {
addCriterion("show is not null");
return (Criteria) this;
}
public Criteria andShowEqualTo(Byte value) {
addCriterion("show =", value, "show");
return (Criteria) this;
}
public Criteria andShowNotEqualTo(Byte value) {
addCriterion("show <>", value, "show");
return (Criteria) this;
}
public Criteria andShowGreaterThan(Byte value) {
addCriterion("show >", value, "show");
return (Criteria) this;
}
public Criteria andShowGreaterThanOrEqualTo(Byte value) {
addCriterion("show >=", value, "show");
return (Criteria) this;
}
public Criteria andShowLessThan(Byte value) {
addCriterion("show <", value, "show");
return (Criteria) this;
}
public Criteria andShowLessThanOrEqualTo(Byte value) {
addCriterion("show <=", value, "show");
return (Criteria) this;
}
public Criteria andShowIn(List<Byte> values) {
addCriterion("show in", values, "show");
return (Criteria) this;
}
public Criteria andShowNotIn(List<Byte> values) {
addCriterion("show not in", values, "show");
return (Criteria) this;
}
public Criteria andShowBetween(Byte value1, Byte value2) {
addCriterion("show between", value1, value2, "show");
return (Criteria) this;
}
public Criteria andShowNotBetween(Byte value1, Byte value2) {
addCriterion("show not between", value1, value2, "show");
return (Criteria) this;
}
}
public static class Criteria extends GeneratedCriteria {

1
tall/src/main/java/com/ccsens/tall/service/ExportWbsService.java

@ -25,6 +25,7 @@ import org.springframework.transaction.annotation.Propagation;
import org.springframework.transaction.annotation.Transactional;
import java.io.*;
import java.io.File;
import java.math.BigDecimal;
import java.text.SimpleDateFormat;
import java.util.*;

1
tall/src/main/java/com/ccsens/tall/service/TaskPluginService.java

@ -27,6 +27,7 @@ import org.springframework.transaction.annotation.Transactional;
import javax.annotation.Resource;
import java.io.*;
import java.io.File;
import java.util.*;
import java.util.concurrent.atomic.AtomicReference;

1
tall/src/main/java/com/ccsens/tall/service/TaskSubTimeService.java

@ -23,7 +23,6 @@ import com.ccsens.util.cron.NatureToDate;
import com.ccsens.util.exception.BaseException;
import com.github.pagehelper.PageHelper;
import com.github.pagehelper.PageInfo;
import com.sun.org.apache.bcel.internal.generic.IAND;
import lombok.extern.slf4j.Slf4j;
import org.apache.commons.lang.StringUtils;
import org.springframework.amqp.core.AmqpTemplate;

4
tall/src/main/resources/application.yml

@ -1,5 +1,5 @@
spring:
profiles:
active: dev
include: util-dev,common
active: test
include: util-test,common

25
tall/src/main/resources/mapper_raw/ProRoleMapper.xml

@ -12,7 +12,6 @@
<result column="updated_at" jdbcType="TIMESTAMP" property="updatedAt" />
<result column="rec_status" jdbcType="TINYINT" property="recStatus" />
<result column="relevance_project_id" jdbcType="BIGINT" property="relevanceProjectId" />
<result column="show" jdbcType="TINYINT" property="show" />
</resultMap>
<sql id="Example_Where_Clause">
<where>
@ -74,7 +73,7 @@
</sql>
<sql id="Base_Column_List">
id, project_id, parent_id, name, description, sequence, created_at, updated_at, rec_status,
relevance_project_id, show
relevance_project_id
</sql>
<select id="selectByExample" parameterType="com.ccsens.tall.bean.po.ProRoleExample" resultMap="BaseResultMap">
select
@ -110,11 +109,11 @@
insert into t_pro_role (id, project_id, parent_id,
name, description, sequence,
created_at, updated_at, rec_status,
relevance_project_id, show)
relevance_project_id)
values (#{id,jdbcType=BIGINT}, #{projectId,jdbcType=BIGINT}, #{parentId,jdbcType=BIGINT},
#{name,jdbcType=VARCHAR}, #{description,jdbcType=VARCHAR}, #{sequence,jdbcType=INTEGER},
#{createdAt,jdbcType=TIMESTAMP}, #{updatedAt,jdbcType=TIMESTAMP}, #{recStatus,jdbcType=TINYINT},
#{relevanceProjectId,jdbcType=BIGINT}, #{show,jdbcType=TINYINT})
#{relevanceProjectId,jdbcType=BIGINT})
</insert>
<insert id="insertSelective" parameterType="com.ccsens.tall.bean.po.ProRole">
insert into t_pro_role
@ -149,9 +148,6 @@
<if test="relevanceProjectId != null">
relevance_project_id,
</if>
<if test="show != null">
show,
</if>
</trim>
<trim prefix="values (" suffix=")" suffixOverrides=",">
<if test="id != null">
@ -184,9 +180,6 @@
<if test="relevanceProjectId != null">
#{relevanceProjectId,jdbcType=BIGINT},
</if>
<if test="show != null">
#{show,jdbcType=TINYINT},
</if>
</trim>
</insert>
<select id="countByExample" parameterType="com.ccsens.tall.bean.po.ProRoleExample" resultType="java.lang.Long">
@ -228,9 +221,6 @@
<if test="record.relevanceProjectId != null">
relevance_project_id = #{record.relevanceProjectId,jdbcType=BIGINT},
</if>
<if test="record.show != null">
show = #{record.show,jdbcType=TINYINT},
</if>
</set>
<if test="_parameter != null">
<include refid="Update_By_Example_Where_Clause" />
@ -247,8 +237,7 @@
created_at = #{record.createdAt,jdbcType=TIMESTAMP},
updated_at = #{record.updatedAt,jdbcType=TIMESTAMP},
rec_status = #{record.recStatus,jdbcType=TINYINT},
relevance_project_id = #{record.relevanceProjectId,jdbcType=BIGINT},
show = #{record.show,jdbcType=TINYINT}
relevance_project_id = #{record.relevanceProjectId,jdbcType=BIGINT}
<if test="_parameter != null">
<include refid="Update_By_Example_Where_Clause" />
</if>
@ -283,9 +272,6 @@
<if test="relevanceProjectId != null">
relevance_project_id = #{relevanceProjectId,jdbcType=BIGINT},
</if>
<if test="show != null">
show = #{show,jdbcType=TINYINT},
</if>
</set>
where id = #{id,jdbcType=BIGINT}
</update>
@ -299,8 +285,7 @@
created_at = #{createdAt,jdbcType=TIMESTAMP},
updated_at = #{updatedAt,jdbcType=TIMESTAMP},
rec_status = #{recStatus,jdbcType=TINYINT},
relevance_project_id = #{relevanceProjectId,jdbcType=BIGINT},
show = #{show,jdbcType=TINYINT}
relevance_project_id = #{relevanceProjectId,jdbcType=BIGINT}
where id = #{id,jdbcType=BIGINT}
</update>
</mapper>
Loading…
Cancel
Save