更新头像附件等
This commit is contained in:
parent
22eca6bee6
commit
7fec6bd9b4
|
|
@ -41,6 +41,7 @@ public class TbUserImgAppController {
|
||||||
|
|
||||||
@ResponseBody
|
@ResponseBody
|
||||||
@PostMapping("/edit")
|
@PostMapping("/edit")
|
||||||
|
@ApiOperation(value = "更新用户附件", httpMethod = "POST")
|
||||||
public Result<String> editSave(@RequestBody TbUserImg tbUserImg)
|
public Result<String> editSave(@RequestBody TbUserImg tbUserImg)
|
||||||
{
|
{
|
||||||
int effectiveRows = tbUserImgService.updateTbUserImg(tbUserImg);
|
int effectiveRows = tbUserImgService.updateTbUserImg(tbUserImg);
|
||||||
|
|
|
||||||
|
|
@ -150,7 +150,7 @@
|
||||||
<if test="choosingStandard != null">choosing_standard = #{choosingStandard},</if>
|
<if test="choosingStandard != null">choosing_standard = #{choosingStandard},</if>
|
||||||
<if test="createTime != null">create_time = #{createTime},</if>
|
<if test="createTime != null">create_time = #{createTime},</if>
|
||||||
<if test="updateTime != null">update_time = #{updateTime},</if>
|
<if test="updateTime != null">update_time = #{updateTime},</if>
|
||||||
<if test="remark != null">remark = #{remark},</if>
|
<if test="remark != null">remark = #{remark}</if>
|
||||||
</trim>
|
</trim>
|
||||||
where id = #{id}
|
where id = #{id}
|
||||||
</update>
|
</update>
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue