浏览代码

verifyDocument

胡轶钦 5 年前
父节点
当前提交
357b933950
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1
    1
      src/main/resources/mapper/TaDocumentVerifyMapper.xml

+ 1
- 1
src/main/resources/mapper/TaDocumentVerifyMapper.xml 查看文件

5
     SELECT
5
     SELECT
6
 	a.* ,
6
 	a.* ,
7
 	IFNULL(b.name,b.nickname) as name,
7
 	IFNULL(b.name,b.nickname) as name,
8
-	b.phone as tel
8
+    IFNULL(b.tel,b.phone) as tel
9
     FROM
9
     FROM
10
 	ta_document_verify a
10
 	ta_document_verify a
11
 	LEFT JOIN ta_person b ON a.person_id = b.person_id
11
 	LEFT JOIN ta_person b ON a.person_id = b.person_id