|  | @@ -194,6 +194,8 @@ namespace OASystem.API.Controllers
 | 
												
													
														
															|  |                  .First();
 |  |                  .First();
 | 
												
													
														
															|  |              if (carDadaInfo != null) return Ok(JsonView(false, "该信息已存在,请勿重复添加!"));
 |  |              if (carDadaInfo != null) return Ok(JsonView(false, "该信息已存在,请勿重复添加!"));
 | 
												
													
														
															|  |              var carData = _mapper.Map<Res_CarData>(dto);
 |  |              var carData = _mapper.Map<Res_CarData>(dto);
 | 
												
													
														
															|  | 
 |  | +            carData.LastUpdateUserId = dto.CreateUserId;
 | 
												
													
														
															|  | 
 |  | +            carData.LastUpdateTime = DateTime.Now;
 | 
												
													
														
															|  |              EncryptionProcessor.EncryptProperties(carData);
 |  |              EncryptionProcessor.EncryptProperties(carData);
 | 
												
													
														
															|  |              int id = await _carDataRep.AddAsyncReturnId(carData);
 |  |              int id = await _carDataRep.AddAsyncReturnId(carData);
 | 
												
													
														
															|  |              if (id < 1) return Ok(JsonView(false, "添加失败!"));
 |  |              if (id < 1) return Ok(JsonView(false, "添加失败!"));
 | 
												
											
												
													
														
															|  | @@ -214,6 +216,8 @@ namespace OASystem.API.Controllers
 | 
												
													
														
															|  |              if (string.IsNullOrEmpty(dto.ContactTel)) return Ok(JsonView(false, "请检查联系方式是否填写正确!"));
 |  |              if (string.IsNullOrEmpty(dto.ContactTel)) return Ok(JsonView(false, "请检查联系方式是否填写正确!"));
 | 
												
													
														
															|  |  
 |  |  
 | 
												
													
														
															|  |              var carData = _mapper.Map<Res_CarData>(dto);
 |  |              var carData = _mapper.Map<Res_CarData>(dto);
 | 
												
													
														
															|  | 
 |  | +
 | 
												
													
														
															|  | 
 |  | +            carData.LastUpdateTime = DateTime.Now;
 | 
												
													
														
															|  |              EncryptionProcessor.EncryptProperties(carData);
 |  |              EncryptionProcessor.EncryptProperties(carData);
 | 
												
													
														
															|  |  
 |  |  
 | 
												
													
														
															|  |              var res = await _sqlSugar.Updateable(carData)
 |  |              var res = await _sqlSugar.Updateable(carData)
 | 
												
											
												
													
														
															|  | @@ -4236,6 +4240,8 @@ WHERE
 | 
												
													
														
															|  |  
 |  |  
 | 
												
													
														
															|  |              EncryptionProcessor.EncryptProperties(dto);
 |  |              EncryptionProcessor.EncryptProperties(dto);
 | 
												
													
														
															|  |              var translatorInfo = _mapper.Map<Res_TranslatorLibrary>(dto);
 |  |              var translatorInfo = _mapper.Map<Res_TranslatorLibrary>(dto);
 | 
												
													
														
															|  | 
 |  | +            translatorInfo.LastUpdateTime = translatorInfo.CreateTime;
 | 
												
													
														
															|  | 
 |  | +            translatorInfo.CreateUserId = currUserInfo.UserId;
 | 
												
													
														
															|  |  
 |  |  
 | 
												
													
														
															|  |              #endregion
 |  |              #endregion
 | 
												
													
														
															|  |  
 |  |  
 | 
												
											
												
													
														
															|  | @@ -4247,7 +4253,6 @@ WHERE
 | 
												
													
														
															|  |                  if (info != null) return Ok(JsonView(false, "该条数据已存在!"));
 |  |                  if (info != null) return Ok(JsonView(false, "该条数据已存在!"));
 | 
												
													
														
															|  |  
 |  |  
 | 
												
													
														
															|  |  
 |  |  
 | 
												
													
														
															|  | -                translatorInfo.CreateUserId = currUserInfo.UserId;
 |  | 
 | 
												
													
														
															|  |                  if (fileNames.Count > 0)
 |  |                  if (fileNames.Count > 0)
 | 
												
													
														
															|  |                  {
 |  |                  {
 | 
												
													
														
															|  |                      translatorInfo.Files = AesEncryptionHelper.Encrypt(JsonConvert.SerializeObject(fileNames));
 |  |                      translatorInfo.Files = AesEncryptionHelper.Encrypt(JsonConvert.SerializeObject(fileNames));
 | 
												
											
												
													
														
															|  | @@ -4303,7 +4308,7 @@ WHERE
 | 
												
													
														
															|  |                  {
 |  |                  {
 | 
												
													
														
															|  |                      translatorInfo.Files = AesEncryptionHelper.Encrypt(JsonConvert.SerializeObject(fileNames));
 |  |                      translatorInfo.Files = AesEncryptionHelper.Encrypt(JsonConvert.SerializeObject(fileNames));
 | 
												
													
														
															|  |                  }
 |  |                  }
 | 
												
													
														
															|  | -
 |  | 
 | 
												
													
														
															|  | 
 |  | +                translatorInfo.LastUpdateTime = DateTime.Now;
 | 
												
													
														
															|  |                  var upd = await _translatorRep
 |  |                  var upd = await _translatorRep
 | 
												
													
														
															|  |                      .UpdateAsync(x => x.Id == dto.Id, x => new Res_TranslatorLibrary()
 |  |                      .UpdateAsync(x => x.Id == dto.Id, x => new Res_TranslatorLibrary()
 | 
												
													
														
															|  |                      {
 |  |                      {
 | 
												
											
												
													
														
															|  | @@ -4320,6 +4325,8 @@ WHERE
 | 
												
													
														
															|  |                          Currency = translatorInfo.Currency,
 |  |                          Currency = translatorInfo.Currency,
 | 
												
													
														
															|  |                          Remark = translatorInfo.Remark,
 |  |                          Remark = translatorInfo.Remark,
 | 
												
													
														
															|  |                          Files = translatorInfo.Files,
 |  |                          Files = translatorInfo.Files,
 | 
												
													
														
															|  | 
 |  | +                        LastUpdateTime = translatorInfo.LastUpdateTime,
 | 
												
													
														
															|  | 
 |  | +                        LastUpdateUserId = translatorInfo.LastUpdateUserId,
 | 
												
													
														
															|  |                      });
 |  |                      });
 | 
												
													
														
															|  |  
 |  |  
 | 
												
													
														
															|  |                  if (upd) {
 |  |                  if (upd) {
 |