Commit e419a64b authored by dengguangman's avatar dengguangman

Merge remote-tracking branch 'origin/master'

parents 5e703f1e dfad06c9
...@@ -96,7 +96,7 @@ public class BusinessFileController extends BaseController { ...@@ -96,7 +96,7 @@ public class BusinessFileController extends BaseController {
// 上传并返回文件全路径 // 上传并返回文件全路径
String fileName = FileUploadUtils.upload(filePath, file); String fileName = FileUploadUtils.upload(filePath, file);
String url = serverConfig.getUrl() + fileName; // String url = serverConfig.getUrl() + fileName;
AjaxResult ajax = AjaxResult.success(); AjaxResult ajax = AjaxResult.success();
ajax.put("url", fileName); ajax.put("url", fileName);
return ajax; return ajax;
......
...@@ -387,21 +387,13 @@ ul, li { ...@@ -387,21 +387,13 @@ ul, li {
} }
.common-title{ .common-title{
border-left: 2px solid #445781;
padding-left: 8px;
font-size: 16px; font-size: 16px;
color: #232323; height: 16px;
line-height: 16px;
font-weight: 700; font-weight: 700;
line-height: 0.9; color: #232323;
position: relative;
padding: 0 0 0 8px;
&:before{
position: absolute;
left: 0;
top: 0;
width: 2px;
height: 14px;
background: #445781;
content:"";
}
} }
.pagination-box{ .pagination-box{
......
...@@ -355,9 +355,9 @@ export default { ...@@ -355,9 +355,9 @@ export default {
transition: all .3s cubic-bezier(.645, .045, .355, 1); transition: all .3s cubic-bezier(.645, .045, .355, 1);
transform-origin: 100% 50%; transform-origin: 100% 50%;
&:before { &:before {
transform: scale(.6); transform: scale(.95);
display: inline-block; display: inline-block;
vertical-align: -3px; vertical-align: -2.5px;
} }
} }
} }
......
...@@ -2,6 +2,7 @@ package com.dsk.system.domain.customer.vo; ...@@ -2,6 +2,7 @@ package com.dsk.system.domain.customer.vo;
import com.baomidou.mybatisplus.annotation.FieldFill; import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.TableField; import com.baomidou.mybatisplus.annotation.TableField;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data; import lombok.Data;
import java.io.Serializable; import java.io.Serializable;
...@@ -57,6 +58,7 @@ public class CustomerFollowRecordListVo implements Serializable { ...@@ -57,6 +58,7 @@ public class CustomerFollowRecordListVo implements Serializable {
private String content; private String content;
@TableField(fill = FieldFill.INSERT) @TableField(fill = FieldFill.INSERT)
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
private Date createTime; private Date createTime;
......
...@@ -65,7 +65,7 @@ public class BusinessContactsServiceImpl implements IBusinessContactsService ...@@ -65,7 +65,7 @@ public class BusinessContactsServiceImpl implements IBusinessContactsService
LoginUser loginUser = SecurityUtils.getLoginUser(); LoginUser loginUser = SecurityUtils.getLoginUser();
if (ObjectUtil.isEmpty(loginUser)) throw new BaseException("请登录"); if (ObjectUtil.isEmpty(loginUser)) throw new BaseException("请登录");
//维护人员为当前登录用户 //维护人员为当前登录用户
businessContacts.setAccendant(loginUser.getUsername()); businessContacts.setAccendant(loginUser.getUser().getNickName());
return businessContactsMapper.insertBusinessContacts(businessContacts); return businessContactsMapper.insertBusinessContacts(businessContacts);
} }
......
...@@ -148,7 +148,8 @@ public class BusinessInfoServiceImpl implements IBusinessInfoService { ...@@ -148,7 +148,8 @@ public class BusinessInfoServiceImpl implements IBusinessInfoService {
row++; row++;
if (count > 0) { if (count > 0) {
//如果存在,跳过该项目,不保存 //如果存在,跳过该项目,不保存
result.add("第" + row + "行的" + businessInfo.getProjectName() + "的项目已存在,跳过该项目,保存下一条"); // result.add("第" + row + "行的" + businessInfo.getProjectName() + "的项目已存在,跳过该项目,保存下一条");
log.info("第" + row + "行的" + businessInfo.getProjectName() + "的项目已存在,跳过该项目,保存下一条");
errorCount++; errorCount++;
} else { } else {
//保存到数据库 //保存到数据库
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment