11
This commit is contained in:
parent
4589aaa0db
commit
dcd3420743
@ -60,7 +60,11 @@ public class MemberApplyController extends BaseController {
|
||||
@Log(title = "提交通告主认证申请", businessType = BusinessType.INSERT)
|
||||
@PostMapping("/toApply")
|
||||
public AjaxResult toApply(@RequestBody MemberApply memberApply) {
|
||||
memberApplyService.toApply(memberApply);
|
||||
try{
|
||||
memberApplyService.toApply(memberApply);
|
||||
}catch (Exception e){
|
||||
return error(e.getMessage());
|
||||
}
|
||||
return success();
|
||||
}
|
||||
|
||||
|
@ -38,6 +38,9 @@
|
||||
<if test="entity.approvalStatus == 10"> and approval_status != 0</if>
|
||||
<if test="entity.approvalStatus != null and entity.approvalStatus != '' and entity.approvalStatus != 10"> and approval_status = #{entity.approvalStatus}</if>
|
||||
</where>
|
||||
<if test="entity.approvalStatus == 10">
|
||||
order by approval_time desc
|
||||
</if>
|
||||
</select>
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user