优化实名认证记录存储SQL
This commit is contained in:
-2
@@ -36,7 +36,6 @@ public class CaseEvidenceController extends BaseController {
|
||||
* @return
|
||||
*/
|
||||
@GetMapping("/{id}")
|
||||
@PreAuthorize("@ss.hasPermi('caseManagement:list:detail')")
|
||||
public AjaxResult getCaseDetailsById(@PathVariable Long id) {
|
||||
String username = this.getUsername();
|
||||
return caseEvidenceService.getCaseDetailsById(id,username);
|
||||
@@ -63,7 +62,6 @@ public class CaseEvidenceController extends BaseController {
|
||||
* @return
|
||||
*/
|
||||
@GetMapping("/all")
|
||||
@PreAuthorize("@ss.hasPermi('caseManagement:list')")
|
||||
public TableDataInfo getCaseListAll(@RequestParam String identityNum) {
|
||||
startPage();
|
||||
List<CaseEvidenceVO> list = caseEvidenceService.getCaseListAll(identityNum);
|
||||
|
||||
+1
-1
@@ -198,7 +198,7 @@ public class IdentityAuthenticationServiceImpl implements IdentityAuthentication
|
||||
authentication.setIdentityNo(idcardno);
|
||||
authentication.setCertificationTime(new Date());
|
||||
authentication.setCertificationStatus(0);
|
||||
authentication.setRequestId(objJSON.getString("RequestId"));
|
||||
authentication.setCreateBy(loginUser.getUsername());
|
||||
try {
|
||||
identityAuthenticationMapper.insertIdentityAuthentication(authentication);
|
||||
} catch (Exception e) {
|
||||
|
||||
+1
-1
@@ -20,7 +20,7 @@
|
||||
<if test="name != null and name != ''">name,</if>
|
||||
<if test="identityNo != null and identityNo != ''">identity_no,</if>
|
||||
certification_time,
|
||||
<if test="certificationStatus != null and certificationStatus != ''">certification_status,</if>
|
||||
<if test="certificationStatus != null">certification_status,</if>
|
||||
<if test="userName != null and userName != ''">user_name,</if>
|
||||
<if test="createBy != null and createBy != ''">create_by,</if>
|
||||
create_time
|
||||
|
||||
Reference in New Issue
Block a user