Browse Source

投标直通车

master
陈裕财 3 years ago
parent
commit
32f16473ee
  1. 31
      xm-core/src/main/java/com/xm/core/entity/XmTaskExecuser.java
  2. 44
      xm-core/src/main/resources/mybatis/mapper/xm/core/dao/XmTaskExecuserMapper.xml

31
xm-core/src/main/java/com/xm/core/entity/XmTaskExecuser.java

@ -9,7 +9,7 @@ import java.math.BigDecimal;
/**
* 组织 com 顶级模块 xm 大模块 core 小模块 <br>
* 实体 XmTaskExecuser所有属性名: <br>
* "createTime","创建时间","taskId","任务id","userid","执行人id","startTime","加入时间","endTime","离开时间","status","执行人状态0候选排队中1执行任务中7放弃任务8黑名单","remarks","备注","createUserid","创建人","createUsername","创建人姓名","username","执行人姓名","matchScore","任务能力匹配分数","quoteWeekday","报价天数,不包括周六日","quoteAmount","报价金额","quoteTime","报价时间","projectId","项目编号","phaseId","阶段计划编号","skillRemark","技能说明","quoteWorkload","报价工作量单位人时","quoteStartTime","报价-开始工作日期","quoteEndTime","报价-结束工作日期","branchId","项目所属机构","phaseName","阶段计划名称","taskName","任务名称","distUserid","推荐人编号","distUsername","推荐人姓名","execUserBranchId","执行人归属公司","shareKey","分享码","sfeeRate","服务费率","sfee","众包服务费","provinceId","省编号","provinceName","省名称","cityId","城市编号","cityName","城市名称","areaId","区县编号","areaName","区县名称","gradeId","能力等级编号","guardId","保障等级编号","ilvlId","会员等级编号","creditId","信用等级编号","ctotalBids","投标总数","srvTimes","服务总次数","cmonthExp","本月获得经验值","cmonthBids","本月投标数","bidDirect","是否开启投标直通车";<br>
* "createTime","创建时间","taskId","任务id","userid","执行人id","startTime","加入时间","endTime","离开时间","status","执行人状态0候选排队中1执行任务中7放弃任务8黑名单","remarks","备注","createUserid","创建人","createUsername","创建人姓名","username","执行人姓名","matchScore","任务能力匹配分数100分,占比50%","quoteWeekday","报价天数,不包括周六日","quoteAmount","报价金额","quoteTime","报价时间","projectId","项目编号","phaseId","阶段计划编号","skillRemark","技能说明","quoteWorkload","报价工作量单位人时","quoteStartTime","报价-开始工作日期","quoteEndTime","报价-结束工作日期","branchId","项目所属机构","phaseName","阶段计划名称","taskName","任务名称","distUserid","推荐人编号","distUsername","推荐人姓名","execUserBranchId","执行人归属公司","shareKey","分享码","sfeeRate","服务费率","sfee","众包服务费","provinceId","省编号","provinceName","省名称","cityId","城市编号","cityName","城市名称","areaId","区县编号","areaName","区县名称","gradeId","能力等级编号","guardId","保障等级编号","ilvlId","会员等级编号","creditId","信用等级编号","ctotalBids","投标总数","srvTimes","服务总次数","cmonthExp","本月获得经验值","cmonthBids","本月投标数","bidDirect","是否开启投标直通车","skillIds","技能编号列表","skillNames","技能名称列表","upRate","好评率","adjustScore","雇主打分100分,占比50%,默认60分","finalScore","总得分(100分)=match_score*50%+adjust_score*50","adjustRemark","打分说明","csixBids","最近6个月投标次数","csixExp","最近6个月经验值总额","csixAt","最近6个月收入总额";<br>
* 当前主键(包括多主键):<br>
* task_id,userid;<br>
*/
@ -50,7 +50,7 @@ public class XmTaskExecuser implements java.io.Serializable {
@ApiModelProperty(notes="执行人姓名",allowEmptyValue=true,example="",allowableValues="")
String username;
@ApiModelProperty(notes="任务能力匹配分数",allowEmptyValue=true,example="",allowableValues="")
@ApiModelProperty(notes="任务能力匹配分数100分,占比50%",allowEmptyValue=true,example="",allowableValues="")
BigDecimal matchScore;
@ApiModelProperty(notes="报价天数,不包括周六日",allowEmptyValue=true,example="",allowableValues="")
@ -151,6 +151,33 @@ public class XmTaskExecuser implements java.io.Serializable {
@ApiModelProperty(notes="是否开启投标直通车",allowEmptyValue=true,example="",allowableValues="")
String bidDirect;
@ApiModelProperty(notes="技能编号列表",allowEmptyValue=true,example="",allowableValues="")
String skillIds;
@ApiModelProperty(notes="技能名称列表",allowEmptyValue=true,example="",allowableValues="")
String skillNames;
@ApiModelProperty(notes="好评率",allowEmptyValue=true,example="",allowableValues="")
Integer upRate;
@ApiModelProperty(notes="雇主打分100分,占比50%,默认60分",allowEmptyValue=true,example="",allowableValues="")
Integer adjustScore;
@ApiModelProperty(notes="总得分(100分)=match_score*50%+adjust_score*50",allowEmptyValue=true,example="",allowableValues="")
BigDecimal finalScore;
@ApiModelProperty(notes="打分说明",allowEmptyValue=true,example="",allowableValues="")
String adjustRemark;
@ApiModelProperty(notes="最近6个月投标次数",allowEmptyValue=true,example="",allowableValues="")
Integer csixBids;
@ApiModelProperty(notes="最近6个月经验值总额",allowEmptyValue=true,example="",allowableValues="")
BigDecimal csixExp;
@ApiModelProperty(notes="最近6个月收入总额",allowEmptyValue=true,example="",allowableValues="")
BigDecimal csixAt;
/**
*任务id,执行人id

44
xm-core/src/main/resources/mybatis/mapper/xm/core/dao/XmTaskExecuserMapper.xml

@ -158,7 +158,7 @@
insert into xm_task_execuser(
<include refid="columns"/>
) values (
#{createTime},#{taskId},#{userid},#{startTime},#{endTime},#{status},#{remarks},#{createUserid},#{createUsername},#{username},#{matchScore},#{quoteWeekday},#{quoteAmount},#{quoteTime},#{projectId},#{phaseId},#{skillRemark},#{quoteWorkload},#{quoteStartTime},#{quoteEndTime},#{branchId},#{phaseName},#{taskName},#{distUserid},#{distUsername},#{execUserBranchId},#{shareKey},#{sfeeRate},#{sfee},#{provinceId},#{provinceName},#{cityId},#{cityName},#{areaId},#{areaName},#{gradeId},#{guardId},#{ilvlId},#{creditId},#{ctotalBids},#{srvTimes},#{cmonthExp},#{cmonthBids},#{bidDirect}
#{createTime},#{taskId},#{userid},#{startTime},#{endTime},#{status},#{remarks},#{createUserid},#{createUsername},#{username},#{matchScore},#{quoteWeekday},#{quoteAmount},#{quoteTime},#{projectId},#{phaseId},#{skillRemark},#{quoteWorkload},#{quoteStartTime},#{quoteEndTime},#{branchId},#{phaseName},#{taskName},#{distUserid},#{distUsername},#{execUserBranchId},#{shareKey},#{sfeeRate},#{sfee},#{provinceId},#{provinceName},#{cityId},#{cityName},#{areaId},#{areaName},#{gradeId},#{guardId},#{ilvlId},#{creditId},#{ctotalBids},#{srvTimes},#{cmonthExp},#{cmonthBids},#{bidDirect},#{skillIds},#{skillNames},#{upRate},#{adjustScore},#{finalScore},#{adjustRemark},#{csixBids},#{csixExp},#{csixAt}
)
</insert>
@ -233,7 +233,7 @@
<!--sql片段 列-->
<sql id="columns">
create_time,task_id,userid,start_time,end_time,status,remarks,create_userid,create_username,username,match_score,quote_weekday,quote_amount,quote_time,project_id,phase_id,skill_remark,quote_workload,quote_start_time,quote_end_time,branch_id,phase_name,task_name,dist_userid,dist_username,exec_user_branch_id,share_key,sfee_rate,sfee,province_id,province_name,city_id,city_name,area_id,area_name,grade_id,guard_id,ilvl_id,credit_id,ctotal_bids,srv_times,cmonth_exp,cmonth_bids,bid_direct
create_time,task_id,userid,start_time,end_time,status,remarks,create_userid,create_username,username,match_score,quote_weekday,quote_amount,quote_time,project_id,phase_id,skill_remark,quote_workload,quote_start_time,quote_end_time,branch_id,phase_name,task_name,dist_userid,dist_username,exec_user_branch_id,share_key,sfee_rate,sfee,province_id,province_name,city_id,city_name,area_id,area_name,grade_id,guard_id,ilvl_id,credit_id,ctotal_bids,srv_times,cmonth_exp,cmonth_bids,bid_direct,skill_ids,skill_names,up_rate,adjust_score,final_score,adjust_remark,csix_bids,csix_exp,csix_at
</sql>
<!--sql片段 动态条件 YYYY-MM-DD HH24:MI:SS-->
@ -282,6 +282,15 @@
<if test="cmonthExp != null and cmonthExp != ''"> and res.cmonth_exp = #{cmonthExp} </if>
<if test="cmonthBids != null and cmonthBids != ''"> and res.cmonth_bids = #{cmonthBids} </if>
<if test="bidDirect != null and bidDirect != ''"> and res.bid_direct = #{bidDirect} </if>
<if test="skillIds != null and skillIds != ''"> and res.skill_ids = #{skillIds} </if>
<if test="skillNames != null and skillNames != ''"> and res.skill_names = #{skillNames} </if>
<if test="upRate != null and upRate != ''"> and res.up_rate = #{upRate} </if>
<if test="adjustScore != null and adjustScore != ''"> and res.adjust_score = #{adjustScore} </if>
<if test="finalScore != null and finalScore != ''"> and res.final_score = #{finalScore} </if>
<if test="adjustRemark != null and adjustRemark != ''"> and res.adjust_remark = #{adjustRemark} </if>
<if test="csixBids != null and csixBids != ''"> and res.csix_bids = #{csixBids} </if>
<if test="csixExp != null and csixExp != ''"> and res.csix_exp = #{csixExp} </if>
<if test="csixAt != null and csixAt != ''"> and res.csix_at = #{csixAt} </if>
</sql>
<!--sql片段 更新字段 -->
<sql id="set">
@ -326,7 +335,16 @@
srv_times = #{srvTimes},
cmonth_exp = #{cmonthExp},
cmonth_bids = #{cmonthBids},
bid_direct = #{bidDirect}
bid_direct = #{bidDirect},
skill_ids = #{skillIds},
skill_names = #{skillNames},
up_rate = #{upRate},
adjust_score = #{adjustScore},
final_score = #{finalScore},
adjust_remark = #{adjustRemark},
csix_bids = #{csixBids},
csix_exp = #{csixExp},
csix_at = #{csixAt}
</sql>
<sql id="someFieldSet">
<if test="createTime != null"> create_time = #{createTime}, </if>
@ -371,6 +389,15 @@
<if test="cmonthExp != null and cmonthExp != ''"> cmonth_exp = #{cmonthExp}, </if>
<if test="cmonthBids != null and cmonthBids != ''"> cmonth_bids = #{cmonthBids}, </if>
<if test="bidDirect != null and bidDirect != ''"> bid_direct = #{bidDirect}, </if>
<if test="skillIds != null and skillIds != ''"> skill_ids = #{skillIds}, </if>
<if test="skillNames != null and skillNames != ''"> skill_names = #{skillNames}, </if>
<if test="upRate != null and upRate != ''"> up_rate = #{upRate}, </if>
<if test="adjustScore != null and adjustScore != ''"> adjust_score = #{adjustScore}, </if>
<if test="finalScore != null and finalScore != ''"> final_score = #{finalScore}, </if>
<if test="adjustRemark != null and adjustRemark != ''"> adjust_remark = #{adjustRemark}, </if>
<if test="csixBids != null and csixBids != ''"> csix_bids = #{csixBids}, </if>
<if test="csixExp != null and csixExp != ''"> csix_exp = #{csixExp}, </if>
<if test="csixAt != null and csixAt != ''"> csix_at = #{csixAt}, </if>
</sql>
<!--sql片段 批量更新 -->
<sql id="batchSet">
@ -415,6 +442,15 @@
srv_times = #{item.srvTimes},
cmonth_exp = #{item.cmonthExp},
cmonth_bids = #{item.cmonthBids},
bid_direct = #{item.bidDirect}
bid_direct = #{item.bidDirect},
skill_ids = #{item.skillIds},
skill_names = #{item.skillNames},
up_rate = #{item.upRate},
adjust_score = #{item.adjustScore},
final_score = #{item.finalScore},
adjust_remark = #{item.adjustRemark},
csix_bids = #{item.csixBids},
csix_exp = #{item.csixExp},
csix_at = #{item.csixAt}
</sql>
</mapper>
Loading…
Cancel
Save