|
|
@ -5,13 +5,17 @@ import com.baomidou.mybatisplus.core.metadata.IPage; |
|
|
|
import com.baomidou.mybatisplus.extension.plugins.pagination.Page; |
|
|
|
import com.jianwei.common.core.domain.SearchParam; |
|
|
|
import com.jianwei.common.mybaitsplus.BeanToWrapper; |
|
|
|
import com.jianwei.common.utils.MaskUtil; |
|
|
|
import com.jianwei.common.utils.StringUtils; |
|
|
|
import com.kms.build.domain.BsSgcJsjdBuiAttendanceInformation; |
|
|
|
import com.kms.build.domain.BsSgcJsjdBuiRealName; |
|
|
|
import org.springframework.stereotype.Service; |
|
|
|
import com.jianwei.common.core.service.BaseService; |
|
|
|
import com.kms.build.mapper.BsSgcJsjdBuiSalaryPayableMapper; |
|
|
|
import com.kms.build.domain.BsSgcJsjdBuiSalaryPayable; |
|
|
|
|
|
|
|
import java.util.List; |
|
|
|
|
|
|
|
/** |
|
|
|
* 农民工工资发放管理Service接口 |
|
|
|
* |
|
|
@ -25,6 +29,16 @@ public class BsSgcJsjdBuiSalaryPayableService extends BaseService<BsSgcJsjdBuiSa |
|
|
|
if (StringUtils.isEmpty(sp.getData().getProCode())){ |
|
|
|
wrapper.isNull("pro_code"); |
|
|
|
} |
|
|
|
return getBaseMapper().selectPage(new Page<>(sp.getPageNum(),sp.getPageSize()),wrapper ); |
|
|
|
Page page = getBaseMapper().selectPage(new Page<>(sp.getPageNum(),sp.getPageSize()),wrapper ); |
|
|
|
|
|
|
|
List<BsSgcJsjdBuiSalaryPayable> records = page.getRecords(); |
|
|
|
for (BsSgcJsjdBuiSalaryPayable bsSgcJsjdBuiRealName:records){ |
|
|
|
bsSgcJsjdBuiRealName.setBankSerialNumber(MaskUtil.maskName(bsSgcJsjdBuiRealName.getName())); |
|
|
|
bsSgcJsjdBuiRealName.setCardBank(MaskUtil.maskIDCard(bsSgcJsjdBuiRealName.getCardBank())); |
|
|
|
bsSgcJsjdBuiRealName.setCardNo(MaskUtil.maskIDCard(bsSgcJsjdBuiRealName.getCardNo())); |
|
|
|
bsSgcJsjdBuiRealName.setIdNo(MaskUtil.maskIDCard(bsSgcJsjdBuiRealName.getIdNo())); |
|
|
|
bsSgcJsjdBuiRealName.setName(MaskUtil.maskName(bsSgcJsjdBuiRealName.getName())); |
|
|
|
} |
|
|
|
return page; |
|
|
|
} |
|
|
|
} |
|
|
|