优化实名认证记录存储SQL

This commit is contained in:
gy b
2023-10-11 19:14:55 +08:00
parent 69e6b062d7
commit 5e0a84ae10
3 changed files with 2 additions and 4 deletions
@@ -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);
@@ -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) {
@@ -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