Browse Source

地里位置限制

master
陈裕财 3 years ago
parent
commit
d829dfec75
  1. 16
      xm-core/src/main/java/com/xm/core/entity/XmTask.java
  2. 24
      xm-core/src/main/resources/mybatis/mapper/xm/core/dao/XmTaskMapper.xml

16
xm-core/src/main/java/com/xm/core/entity/XmTask.java
File diff suppressed because it is too large
View File

24
xm-core/src/main/resources/mybatis/mapper/xm/core/dao/XmTaskMapper.xml

@ -424,7 +424,7 @@
insert into xm_task( insert into xm_task(
<include refid="columns"/> <include refid="columns"/>
) values ( ) values (
#{id},#{name},#{parentTaskid},#{parentTaskname},#{projectId},#{projectName},#{level},#{sortLevel},#{executorUserid},#{executorUsername},#{preTaskid},#{preTaskname},#{startTime},#{endTime},#{milestone},#{description},#{remarks},#{createUserid},#{createUsername},#{createTime},#{rate},#{budgetAt},#{budgetWorkload},#{actAt},#{actWorkload},#{taskState},#{taskType},#{taskClass},#{toTaskCenter},#{actStartTime},#{actEndTime},#{bizProcInstId},#{bizFlowState},#{phaseId},#{phaseName},#{taskSkillNames},#{exeUsernames},#{taskSkillIds},#{exeUserids},#{taskOut},#{planType},#{settleSchemel},#{menuId},#{menuName},#{productId},#{cbranchId},#{cdeptid},#{tagIds},#{tagNames},#{ntype},#{childrenCnt},#{ltime},#{pidPaths},#{lvl},#{isTpl},#{keyPath},#{uniInnerPrice},#{uniOutPrice},#{calcType},#{ptype},#{wtype},#{bctrl},#{initWorkload},#{shareFee},#{oshare},#{crowd},#{browseUsers},#{execUsers},#{cityId},#{cityName},#{regionType},#{browseTimes},#{capaLvls},#{tranMode},#{supRequires},#{hot},#{top},#{urgent},#{crmSup},#{bidStep},#{interestLvls},#{filePaths},#{estate},#{efunds},#{etoPlatTime},#{etoDevTime},#{ebackTime},#{topStime},#{topEtime},#{hotStime},#{hotEtime},#{urgentStime},#{urgentEtime},#{quoteFinalAt}
#{id},#{name},#{parentTaskid},#{parentTaskname},#{projectId},#{projectName},#{level},#{sortLevel},#{executorUserid},#{executorUsername},#{preTaskid},#{preTaskname},#{startTime},#{endTime},#{milestone},#{description},#{remarks},#{createUserid},#{createUsername},#{createTime},#{rate},#{budgetAt},#{budgetWorkload},#{actAt},#{actWorkload},#{taskState},#{taskType},#{taskClass},#{toTaskCenter},#{actStartTime},#{actEndTime},#{bizProcInstId},#{bizFlowState},#{phaseId},#{phaseName},#{taskSkillNames},#{exeUsernames},#{taskSkillIds},#{exeUserids},#{taskOut},#{planType},#{settleSchemel},#{menuId},#{menuName},#{productId},#{cbranchId},#{cdeptid},#{tagIds},#{tagNames},#{ntype},#{childrenCnt},#{ltime},#{pidPaths},#{lvl},#{isTpl},#{keyPath},#{uniInnerPrice},#{uniOutPrice},#{calcType},#{ptype},#{wtype},#{bctrl},#{initWorkload},#{shareFee},#{oshare},#{crowd},#{browseUsers},#{execUsers},#{cityId},#{cityName},#{regionType},#{browseTimes},#{capaLvls},#{tranMode},#{supRequires},#{hot},#{top},#{urgent},#{crmSup},#{bidStep},#{interestLvls},#{filePaths},#{estate},#{efunds},#{etoPlatTime},#{etoDevTime},#{ebackTime},#{topStime},#{topEtime},#{hotStime},#{hotEtime},#{urgentStime},#{urgentEtime},#{quoteFinalAt},#{provinceId},#{provinceName},#{areaId},#{areaName}
) )
</insert> </insert>
@ -504,7 +504,7 @@
<!--sql片段 列--> <!--sql片段 列-->
<sql id="columns"> <sql id="columns">
id,name,parent_taskid,parent_taskname,project_id,project_name,level,sort_level,executor_userid,executor_username,pre_taskid,pre_taskname,start_time,end_time,milestone,description,remarks,create_userid,create_username,create_time,rate,budget_at,budget_workload,act_at,act_workload,task_state,task_type,task_class,to_task_center,act_start_time,act_end_time,biz_proc_inst_id,biz_flow_state,phase_id,phase_name,task_skill_names,exe_usernames,task_skill_ids,exe_userids,task_out,plan_type,settle_schemel,menu_id,menu_name,product_id,cbranch_id,cdeptid,tag_ids,tag_names,ntype,children_cnt,ltime,pid_paths,lvl,is_tpl,key_path,uni_inner_price,uni_out_price,calc_type,ptype,wtype,bctrl,init_workload,share_fee,oshare,crowd,browse_users,exec_users,city_id,city_name,region_type,browse_times,capa_lvls,tran_mode,sup_requires,hot,top,urgent,crm_sup,bid_step,interest_lvls,file_paths,estate,efunds,eto_plat_time,eto_dev_time,eback_time,top_stime,top_etime,hot_stime,hot_etime,urgent_stime,urgent_etime,quote_final_at
id,name,parent_taskid,parent_taskname,project_id,project_name,level,sort_level,executor_userid,executor_username,pre_taskid,pre_taskname,start_time,end_time,milestone,description,remarks,create_userid,create_username,create_time,rate,budget_at,budget_workload,act_at,act_workload,task_state,task_type,task_class,to_task_center,act_start_time,act_end_time,biz_proc_inst_id,biz_flow_state,phase_id,phase_name,task_skill_names,exe_usernames,task_skill_ids,exe_userids,task_out,plan_type,settle_schemel,menu_id,menu_name,product_id,cbranch_id,cdeptid,tag_ids,tag_names,ntype,children_cnt,ltime,pid_paths,lvl,is_tpl,key_path,uni_inner_price,uni_out_price,calc_type,ptype,wtype,bctrl,init_workload,share_fee,oshare,crowd,browse_users,exec_users,city_id,city_name,region_type,browse_times,capa_lvls,tran_mode,sup_requires,hot,top,urgent,crm_sup,bid_step,interest_lvls,file_paths,estate,efunds,eto_plat_time,eto_dev_time,eback_time,top_stime,top_etime,hot_stime,hot_etime,urgent_stime,urgent_etime,quote_final_at,province_id,province_name,area_id,area_name
</sql> </sql>
<!--sql片段 动态条件 YYYY-MM-DD HH24:MI:SS--> <!--sql片段 动态条件 YYYY-MM-DD HH24:MI:SS-->
@ -603,6 +603,10 @@
<if test="urgentStime != null"> and date_format(res.urgent_stime,'%Y-%m-%d') = date_format(#{urgentStime},'%Y-%m-%d') </if> <if test="urgentStime != null"> and date_format(res.urgent_stime,'%Y-%m-%d') = date_format(#{urgentStime},'%Y-%m-%d') </if>
<if test="urgentEtime != null"> and date_format(res.urgent_etime,'%Y-%m-%d') = date_format(#{urgentEtime},'%Y-%m-%d') </if> <if test="urgentEtime != null"> and date_format(res.urgent_etime,'%Y-%m-%d') = date_format(#{urgentEtime},'%Y-%m-%d') </if>
<if test="quoteFinalAt != null and quoteFinalAt != ''"> and res.quote_final_at = #{quoteFinalAt} </if> <if test="quoteFinalAt != null and quoteFinalAt != ''"> and res.quote_final_at = #{quoteFinalAt} </if>
<if test="provinceId != null and provinceId != ''"> and res.province_id = #{provinceId} </if>
<if test="provinceName != null and provinceName != ''"> and res.province_name = #{provinceName} </if>
<if test="areaId != null and areaId != ''"> and res.area_id = #{areaId} </if>
<if test="areaName != null and areaName != ''"> and res.area_name = #{areaName} </if>
</sql> </sql>
<!--sql片段 更新字段 --> <!--sql片段 更新字段 -->
<sql id="set"> <sql id="set">
@ -698,7 +702,11 @@
hot_etime = #{hotEtime}, hot_etime = #{hotEtime},
urgent_stime = #{urgentStime}, urgent_stime = #{urgentStime},
urgent_etime = #{urgentEtime}, urgent_etime = #{urgentEtime},
quote_final_at = #{quoteFinalAt}
quote_final_at = #{quoteFinalAt},
province_id = #{provinceId},
province_name = #{provinceName},
area_id = #{areaId},
area_name = #{areaName}
</sql> </sql>
<sql id="someFieldSet"> <sql id="someFieldSet">
<if test="name != null and name != ''"> name = #{name}, </if> <if test="name != null and name != ''"> name = #{name}, </if>
@ -794,6 +802,10 @@
<if test="urgentStime != null"> urgent_stime = #{urgentStime}, </if> <if test="urgentStime != null"> urgent_stime = #{urgentStime}, </if>
<if test="urgentEtime != null"> urgent_etime = #{urgentEtime}, </if> <if test="urgentEtime != null"> urgent_etime = #{urgentEtime}, </if>
<if test="quoteFinalAt != null and quoteFinalAt != ''"> quote_final_at = #{quoteFinalAt}, </if> <if test="quoteFinalAt != null and quoteFinalAt != ''"> quote_final_at = #{quoteFinalAt}, </if>
<if test="provinceId != null and provinceId != ''"> province_id = #{provinceId}, </if>
<if test="provinceName != null and provinceName != ''"> province_name = #{provinceName}, </if>
<if test="areaId != null and areaId != ''"> area_id = #{areaId}, </if>
<if test="areaName != null and areaName != ''"> area_name = #{areaName}, </if>
</sql> </sql>
<!--sql片段 批量更新 --> <!--sql片段 批量更新 -->
<sql id="batchSet"> <sql id="batchSet">
@ -889,6 +901,10 @@
hot_etime = #{item.hotEtime}, hot_etime = #{item.hotEtime},
urgent_stime = #{item.urgentStime}, urgent_stime = #{item.urgentStime},
urgent_etime = #{item.urgentEtime}, urgent_etime = #{item.urgentEtime},
quote_final_at = #{item.quoteFinalAt}
quote_final_at = #{item.quoteFinalAt},
province_id = #{item.provinceId},
province_name = #{item.provinceName},
area_id = #{item.areaId},
area_name = #{item.areaName}
</sql> </sql>
</mapper> </mapper>
Loading…
Cancel
Save