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