소스 검색

优化实名认证记录存储SQL

gy b 2 년 전
부모
커밋
5e0a84ae10

+ 0
- 2
ruoyi-admin/src/main/java/com/ruoyi/web/controller/wisdomarbitrate/CaseEvidenceController.java 파일 보기

36
      * @return
36
      * @return
37
      */
37
      */
38
     @GetMapping("/{id}")
38
     @GetMapping("/{id}")
39
-     @PreAuthorize("@ss.hasPermi('caseManagement:list:detail')")
40
     public AjaxResult getCaseDetailsById(@PathVariable Long id) {
39
     public AjaxResult getCaseDetailsById(@PathVariable Long id) {
41
         String username = this.getUsername();
40
         String username = this.getUsername();
42
         return caseEvidenceService.getCaseDetailsById(id,username);
41
         return caseEvidenceService.getCaseDetailsById(id,username);
63
      * @return
62
      * @return
64
      */
63
      */
65
     @GetMapping("/all")
64
     @GetMapping("/all")
66
-    @PreAuthorize("@ss.hasPermi('caseManagement:list')")
67
     public TableDataInfo getCaseListAll(@RequestParam String identityNum) {
65
     public TableDataInfo getCaseListAll(@RequestParam String identityNum) {
68
         startPage();
66
         startPage();
69
         List<CaseEvidenceVO> list = caseEvidenceService.getCaseListAll(identityNum);
67
         List<CaseEvidenceVO> list = caseEvidenceService.getCaseListAll(identityNum);

+ 1
- 1
ruoyi-system/src/main/java/com/ruoyi/wisdomarbitrate/service/impl/IdentityAuthenticationServiceImpl.java 파일 보기

198
                             authentication.setIdentityNo(idcardno);
198
                             authentication.setIdentityNo(idcardno);
199
                             authentication.setCertificationTime(new Date());
199
                             authentication.setCertificationTime(new Date());
200
                             authentication.setCertificationStatus(0);
200
                             authentication.setCertificationStatus(0);
201
-                            authentication.setRequestId(objJSON.getString("RequestId"));
201
+                            authentication.setCreateBy(loginUser.getUsername());
202
                             try {
202
                             try {
203
                                 identityAuthenticationMapper.insertIdentityAuthentication(authentication);
203
                                 identityAuthenticationMapper.insertIdentityAuthentication(authentication);
204
                             } catch (Exception e) {
204
                             } catch (Exception e) {

+ 1
- 1
ruoyi-system/src/main/resources/mapper/wisdomarbitrate/IdentityAuthenticationMapper.xml 파일 보기

20
         <if test="name != null and name != ''">name,</if>
20
         <if test="name != null and name != ''">name,</if>
21
         <if test="identityNo != null and identityNo != ''">identity_no,</if>
21
         <if test="identityNo != null and identityNo != ''">identity_no,</if>
22
         certification_time,
22
         certification_time,
23
-        <if test="certificationStatus != null and certificationStatus != ''">certification_status,</if>
23
+        <if test="certificationStatus != null">certification_status,</if>
24
         <if test="userName != null and userName != ''">user_name,</if>
24
         <if test="userName != null and userName != ''">user_name,</if>
25
         <if test="createBy != null  and createBy != ''">create_by,</if>
25
         <if test="createBy != null  and createBy != ''">create_by,</if>
26
         create_time
26
         create_time