Browse Source

投标直通车

master
陈裕财 3 years ago
parent
commit
dcfc743bd2
  1. 1
      xm-core/src/main/java/com/xm/core/ctrl/XmTaskBidOrderController.java
  2. 2
      xm-core/src/main/resources/mybatis/mapper/xm/core/dao/XmTaskMapper.xml

1
xm-core/src/main/java/com/xm/core/ctrl/XmTaskBidOrderController.java

@ -161,6 +161,7 @@ public class XmTaskBidOrderController {
order.setTaskBudgetAt(xmTaskDb.getBudgetAt()); order.setTaskBudgetAt(xmTaskDb.getBudgetAt());
order.setName(xmTaskDb.getName()); order.setName(xmTaskDb.getName());
order.setBizType("1"); order.setBizType("1");
order.setOtype("7");
BigDecimal originFee=BigDecimal.ZERO; BigDecimal originFee=BigDecimal.ZERO;
ItemVo itemVo=itemService.getDict("sysParam","crowd_task_bid_sfee"); ItemVo itemVo=itemService.getDict("sysParam","crowd_task_bid_sfee");
BigDecimal bidFeeRate=BigDecimal.valueOf(0.1); BigDecimal bidFeeRate=BigDecimal.valueOf(0.1);

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

@ -40,6 +40,8 @@
<if test=" actStartTimeEnd !=null "> and res.act_start_time &lt; #{actStartTimeEnd} </if> <if test=" actStartTimeEnd !=null "> and res.act_start_time &lt; #{actStartTimeEnd} </if>
<if test=" actEndTimeStart !=null "> and res.act_end_time &gt; #{actEndTimeStart} </if> <if test=" actEndTimeStart !=null "> and res.act_end_time &gt; #{actEndTimeStart} </if>
<if test=" actEndTimeEnd !=null "> and res.act_end_time &lt; #{actEndTimeEnd} </if> <if test=" actEndTimeEnd !=null "> and res.act_end_time &lt; #{actEndTimeEnd} </if>
<if test=" startBudgetAt !=null "> and res.budget_at &gt;= #{startBudgetAt} </if>
<if test=" endBudgetAt !=null "> and res.budget_at &lt; #{endBudgetAt} </if>
<if test="parent != null and parent != ''"> and (res.parent_taskid = '' or res.parent_taskid IS NULL)</if> <if test="parent != null and parent != ''"> and (res.parent_taskid = '' or res.parent_taskid IS NULL)</if>
<if test="pidPathsLike"> <if test="pidPathsLike">
and res.pid_paths like concat(#{pidPathsLike},'%') and res.pid_paths like concat(#{pidPathsLike},'%')

Loading…
Cancel
Save