Commit a017dd5e authored by fangxinjiang's avatar fangxinjiang

Merge remote-tracking branch 'origin/develop' into develop

parents 60c421aa 0c267d10
...@@ -60,6 +60,8 @@ public interface TDispatchInfoMapper extends BaseMapper<TDispatchInfo> { ...@@ -60,6 +60,8 @@ public interface TDispatchInfoMapper extends BaseMapper<TDispatchInfo> {
**/ **/
List<TDispatchAuditExportVo> exportAuditDispatch(@Param("tDispatchInfo") TDispatchInfoSearchVo tDispatchInfo); List<TDispatchAuditExportVo> exportAuditDispatch(@Param("tDispatchInfo") TDispatchInfoSearchVo tDispatchInfo);
long selectExportCount(@Param("tDispatchInfo") TDispatchInfoSearchVo tDispatchInfo);
/** /**
* 导出社保花名册数据查询 * 导出社保花名册数据查询
* @Author fxj * @Author fxj
......
...@@ -198,7 +198,7 @@ public class TDispatchInfoServiceImpl extends ServiceImpl<TDispatchInfoMapper, T ...@@ -198,7 +198,7 @@ public class TDispatchInfoServiceImpl extends ServiceImpl<TDispatchInfoMapper, T
String fileName = "派单审核导出" + DateUtil.getThisTime() + CommonConstants.XLSX; String fileName = "派单审核导出" + DateUtil.getThisTime() + CommonConstants.XLSX;
//获取要导出的列表 //获取要导出的列表
List<TDispatchAuditExportVo> list = new ArrayList<>(); List<TDispatchAuditExportVo> list = new ArrayList<>();
long count = noPageCountDiy(searchVo); long count = baseMapper.selectExportCount(searchVo);
ServletOutputStream out = null; ServletOutputStream out = null;
try { try {
out = response.getOutputStream(); out = response.getOutputStream();
......
...@@ -517,10 +517,10 @@ ...@@ -517,10 +517,10 @@
AND a.CREATE_NAME = #{tDispatchInfo.createName} AND a.CREATE_NAME = #{tDispatchInfo.createName}
</if> </if>
<if test="tDispatchInfo.socialHouseholdName != null and tDispatchInfo.socialHouseholdName.trim() != ''"> <if test="tDispatchInfo.socialHouseholdName != null and tDispatchInfo.socialHouseholdName.trim() != ''">
AND a.SOCIAL_HOUSEHOLD_NAME like CONCAT(CONCAT(#{tDispatchInfo.socialHouseholdName}), '%') AND a.SOCIAL_HOUSEHOLD_NAME like CONCAT(#{tDispatchInfo.settleDomainName}, '%')
</if> </if>
<if test="tDispatchInfo.providentHouseholdName != null and tDispatchInfo.providentHouseholdName.trim() != ''"> <if test="tDispatchInfo.providentHouseholdName != null and tDispatchInfo.providentHouseholdName.trim() != ''">
AND a.PROVIDENT_HOUSEHOLD_NAME like CONCAT(CONCAT(#{tDispatchInfo.providentHouseholdName}), '%') AND a.PROVIDENT_HOUSEHOLD_NAME like CONCAT(#{tDispatchInfo.providentHouseholdName}, '%')
</if> </if>
<if test="tDispatchInfo.createTimeStart != null"> <if test="tDispatchInfo.createTimeStart != null">
AND a.CREATE_TIME <![CDATA[ >= ]]> #{tDispatchInfo.createTimeStart} AND a.CREATE_TIME <![CDATA[ >= ]]> #{tDispatchInfo.createTimeStart}
...@@ -650,8 +650,8 @@ ...@@ -650,8 +650,8 @@
left join t_social_info b on a.SOCIAL_ID = b.ID left join t_social_info b on a.SOCIAL_ID = b.ID
left join t_provident_fund c on a.FUND_ID = C.ID left join t_provident_fund c on a.FUND_ID = C.ID
<where> <where>
a.DELETE_FLAG = '0' a.DELETE_FLAG = '0' and a.STATUS = '1'
<include refid="tDispatchInfo_where"/> <include refid="tDispatchInfoAudit_where"/>
</where> </where>
order by a.CREATE_TIME desc order by a.CREATE_TIME desc
<if test="tDispatchInfo.limitStart != null"> <if test="tDispatchInfo.limitStart != null">
...@@ -659,6 +659,16 @@ ...@@ -659,6 +659,16 @@
</if> </if>
</select> </select>
<select id="selectExportCount" resultType="java.lang.Long">
SELECT
count(1)
from t_dispatch_info a
<where>
a.DELETE_FLAG = '0' and a.STATUS = '1'
<include refid="tDispatchInfoAudit_where"/>
</where>
</select>
<resultMap id="socialHandleExportMap" type="com.yifu.cloud.plus.v1.yifu.social.vo.SocialHandleExportVo"> <resultMap id="socialHandleExportMap" type="com.yifu.cloud.plus.v1.yifu.social.vo.SocialHandleExportVo">
<result property="empName" column="EMP_NAME"/> <result property="empName" column="EMP_NAME"/>
<result property="empIdcard" column="EMP_IDCARD"/> <result property="empIdcard" column="EMP_IDCARD"/>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment