|
@@ -9,6 +9,7 @@ import cn.hutool.extra.template.TemplateEngine;
|
|
|
import cn.hutool.extra.template.TemplateUtil;
|
|
|
import cn.hutool.poi.word.Word07Writer;
|
|
|
import com.zhongzheng.common.utils.DateUtils;
|
|
|
+import com.zhongzheng.common.utils.SecurityUtils;
|
|
|
import org.apache.poi.xwpf.usermodel.BreakType;
|
|
|
import org.apache.poi.xwpf.usermodel.ParagraphAlignment;
|
|
|
import org.springframework.stereotype.Service;
|
|
@@ -163,6 +164,15 @@ public class UserProfileServiceImpl extends ServiceImpl<UserProfileMapper, UserP
|
|
|
return baseMapper.getInfo(bo);
|
|
|
}
|
|
|
|
|
|
+ @Override
|
|
|
+ public boolean updateAuditByEditBo(UserProfileEditBo bo) {
|
|
|
+ UserProfile update = BeanUtil.toBean(bo,UserProfile.class);
|
|
|
+ update.setId(bo.getId());
|
|
|
+ update.setCreateByName("SAAS-"+ SecurityUtils.getUsername());
|
|
|
+ update.setUpdateTime(DateUtils.getNowTime());
|
|
|
+ return this.updateById(update);
|
|
|
+ }
|
|
|
+
|
|
|
/**
|
|
|
* 远程读取image转换为Base64字符串
|
|
|
*
|