|
|
@@ -11,6 +11,7 @@ import com.baomidou.mybatisplus.core.toolkit.StringUtils;
|
|
|
import com.zhongzheng.common.exception.CustomException;
|
|
|
import com.zhongzheng.common.type.EncryptHandler;
|
|
|
import com.zhongzheng.common.utils.DateUtils;
|
|
|
+import com.zhongzheng.common.utils.IdCardUtils;
|
|
|
import com.zhongzheng.common.utils.ServletUtils;
|
|
|
import com.zhongzheng.common.utils.ToolsUtils;
|
|
|
import com.zhongzheng.common.utils.http.HttpUtils;
|
|
|
@@ -315,7 +316,16 @@ public class OrderInvoiceServiceImpl extends ServiceImpl<OrderInvoiceMapper, Ord
|
|
|
|
|
|
@Override
|
|
|
public List<OrderInvoiceVo> selectList(OrderInvoiceQueryBo bo) {
|
|
|
- return baseMapper.selectListByBo(bo);
|
|
|
+ List<OrderInvoiceVo> orderInvoiceVos = baseMapper.selectListByBo(bo);
|
|
|
+ if (CollectionUtils.isNotEmpty(orderInvoiceVos)){
|
|
|
+ for (OrderInvoiceVo vo : orderInvoiceVos) {
|
|
|
+ if (StringUtils.isNotBlank(vo.getIdCard())){
|
|
|
+ //身份证号脱敏
|
|
|
+ vo.setIdCardStr(IdCardUtils.maskIdCard(vo.getIdCard()));
|
|
|
+ }
|
|
|
+ }
|
|
|
+ }
|
|
|
+ return orderInvoiceVos;
|
|
|
}
|
|
|
|
|
|
@Override
|