工程和工程进度
This commit is contained in:
parent
5416362d4b
commit
445043ee65
|
|
@ -80,5 +80,7 @@ public class ProjectNew extends BaseEntity {
|
|||
@ApiModelProperty(value = "风险等级")
|
||||
private String riskLevel;
|
||||
|
||||
private String suggestion;
|
||||
|
||||
private String taskName;
|
||||
}
|
||||
|
|
|
|||
|
|
@ -18,10 +18,15 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|||
<result property="planCost" column="plan_cost" />
|
||||
<result property="actualCost" column="actual_cost" />
|
||||
<result property="riskLevel" column="risk_level" />
|
||||
<result property="suggestion" column="suggestion" />
|
||||
<result property="taskName" column="task_name" />
|
||||
</resultMap>
|
||||
|
||||
<sql id="selectProjectNewVo">
|
||||
select pro_id, sign_code, bid_code, pro_code, pro_name, status, plan_start_time, plan_end_time, start_time, end_time, diff_day, plan_cost, actual_cost, risk_level from tb_project_new
|
||||
select pro_id, sign_code, bid_code, pro_code, pro_name, status, plan_start_time,
|
||||
plan_end_time, start_time, end_time, diff_day, plan_cost, actual_cost, risk_level,
|
||||
suggestion, task_name
|
||||
from tb_project_new
|
||||
</sql>
|
||||
|
||||
<select id="selectProjectNewList" parameterType="com.securitycontrol.screen.domain.ProjectNew" resultMap="ProjectNewResult">
|
||||
|
|
@ -40,6 +45,8 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|||
<if test="planCost != null and planCost != ''"> and plan_cost = #{planCost}</if>
|
||||
<if test="actualCost != null "> and actual_cost = #{actualCost}</if>
|
||||
<if test="riskLevel != null and riskLevel != ''"> and risk_level = #{riskLevel}</if>
|
||||
<if test="suggestion != null and suggestion != ''"> and suggestion = #{suggestion}</if>
|
||||
<if test="taskName != null and taskName != ''"> and task_name = #{taskName}</if>
|
||||
</where>
|
||||
</select>
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue