作者 kgy

Merge remote-tracking branch 'kgy/master' into master

@@ -162,6 +162,7 @@ public class InformationBaseServiceImpl implements InformationBaseService { @@ -162,6 +162,7 @@ public class InformationBaseServiceImpl implements InformationBaseService {
162 String[] split = ids.split(","); 162 String[] split = ids.split(",");
163 for (String s : split) { 163 for (String s : split) {
164 Synthesize_no_1 synthesize_no_1 = no_1Service.getById(s); 164 Synthesize_no_1 synthesize_no_1 = no_1Service.getById(s);
  165 + String projectName = synthesize_no_1.getProjectName();
165 synthesize_no_1.setId(null); 166 synthesize_no_1.setId(null);
166 synthesize_no_1.setTime(new Date()); 167 synthesize_no_1.setTime(new Date());
167 synthesize_no_1.setNewTime(new Date()); 168 synthesize_no_1.setNewTime(new Date());
@@ -169,6 +170,7 @@ public class InformationBaseServiceImpl implements InformationBaseService { @@ -169,6 +170,7 @@ public class InformationBaseServiceImpl implements InformationBaseService {
169 synthesize_no_1.setUserId(UserContext.get().getId()); 170 synthesize_no_1.setUserId(UserContext.get().getId());
170 synthesize_no_1.setDeleteState("3"); 171 synthesize_no_1.setDeleteState("3");
171 synthesize_no_1.setModelCase(null); 172 synthesize_no_1.setModelCase(null);
  173 + synthesize_no_1.setProjectName(projectName+"[副本]");
172 no_1Service.save(synthesize_no_1); 174 no_1Service.save(synthesize_no_1);
173 Synthesize_no_1Img synthesize_no_1Img = synthesize_no_1ImgMapper.selectById(s); 175 Synthesize_no_1Img synthesize_no_1Img = synthesize_no_1ImgMapper.selectById(s);
174 if (!StringUtils.isEmpty(synthesize_no_1Img)) { 176 if (!StringUtils.isEmpty(synthesize_no_1Img)) {
@@ -56,6 +56,9 @@ public class UserServiceImpl extends ServiceImpl<UserMapper, User> implements Us @@ -56,6 +56,9 @@ public class UserServiceImpl extends ServiceImpl<UserMapper, User> implements Us
56 String sign = JwtUtil.sign(user); 56 String sign = JwtUtil.sign(user);
57 map.put("token",sign); 57 map.put("token",sign);
58 map.put("state",user.getStatus()); 58 map.put("state",user.getStatus());
  59 + map.put("userName",user.getName());
  60 + map.put("companyName",user.getCompanyName());
  61 + map.put("department",user.getDepartment());
59 return map; 62 return map;
60 } 63 }
61 } 64 }