Commit b525eafd by 杨林龙

Merge remote-tracking branch 'origin/master'

2 parents a0177064 a86820b5
package cn.com.glsx.admin.modules.model; package cn.com.glsx.admin.modules.model;
import lombok.Data; import lombok.Data;
import org.omg.PortableInterceptor.INACTIVE;
/** /**
* @author zhouhaibao * @author zhouhaibao
...@@ -23,4 +24,5 @@ public class FenceApproDto extends BaseAreaDto{ ...@@ -23,4 +24,5 @@ public class FenceApproDto extends BaseAreaDto{
private String fenceType; private String fenceType;
private Integer fenceTypeId; private Integer fenceTypeId;
private Long bizId; private Long bizId;
private Integer isAdd;
} }
...@@ -94,7 +94,7 @@ ...@@ -94,7 +94,7 @@
and t5.status in (1,2,3) and t5.status in (1,2,3)
and t5.biz_type=2 and t5.biz_type=2
<if test="search.approvalStatus !=null and search.approvalStatus != ''"> <if test="search.approvalStatus !=null and search.approvalStatus != ''">
and t5.status=#{search.status} and t5.status=#{search.approvalStatus}
</if> </if>
<if test="search.keywords !=null and search.keywords != ''"> <if test="search.keywords !=null and search.keywords != ''">
and (t6.username like concat('%',#{search.keywords},'%') and (t6.username like concat('%',#{search.keywords},'%')
...@@ -119,7 +119,8 @@ ...@@ -119,7 +119,8 @@
tvd.biz_fence_type as fenceTypeId, tvd.biz_fence_type as fenceTypeId,
app.status as approvalStatus, app.status as approvalStatus,
td.dict_label as approvalResult, td.dict_label as approvalResult,
app.biz_id as bizId app.biz_id as bizId,
if(tvd.fence_id is null,'1','2') as isAdd
from t_approval app from t_approval app
left join t_electric_fence_copy tvd on app.biz_id = tvd.id and tvd.del_flag = 0 left join t_electric_fence_copy tvd on app.biz_id = tvd.id and tvd.del_flag = 0
left join t_trial_drive_shop shop on tvd.created_by=shop.created_by left join t_trial_drive_shop shop on tvd.created_by=shop.created_by
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!