|
@@ -454,13 +454,15 @@ public class ProductInfoServiceImpl extends ServiceImpl<ProductInfoMapper, Produ
|
|
@DSTransactional
|
|
@DSTransactional
|
|
@Override
|
|
@Override
|
|
public void addByWdly(ProductInfoDto productInfoDto) {
|
|
public void addByWdly(ProductInfoDto productInfoDto) {
|
|
|
|
+ Long deptId = SecurityUtils.getDeptId();
|
|
//处理维多利亚扩展
|
|
//处理维多利亚扩展
|
|
String victoriatouristJson = productInfoDto.getVictoriatouristJson();
|
|
String victoriatouristJson = productInfoDto.getVictoriatouristJson();
|
|
if (ObjectUtil.isNotEmpty(victoriatouristJson)) {
|
|
if (ObjectUtil.isNotEmpty(victoriatouristJson)) {
|
|
JSONObject json = JSONObject.parseObject(victoriatouristJson);
|
|
JSONObject json = JSONObject.parseObject(victoriatouristJson);
|
|
- json.put("deptId", SecurityUtils.getDeptId());
|
|
|
|
|
|
+ json.put("deptId", deptId);
|
|
productInfoDto.setVictoriatouristJson(JSONObject.toJSONString(json, JSONWriter.Feature.WriteLongAsString));
|
|
productInfoDto.setVictoriatouristJson(JSONObject.toJSONString(json, JSONWriter.Feature.WriteLongAsString));
|
|
}
|
|
}
|
|
|
|
+ productInfoDto.setDeptId(deptId);
|
|
add(productInfoDto);
|
|
add(productInfoDto);
|
|
}
|
|
}
|
|
|
|
|