修改
This commit is contained in:
@@ -104,19 +104,9 @@ public class CachelineRegionRelationServiceImpl implements CachelineRegionRelati
|
|||||||
@Override
|
@Override
|
||||||
@Transactional(rollbackFor = Exception.class)
|
@Transactional(rollbackFor = Exception.class)
|
||||||
public void deleteAll(String[] ids) {
|
public void deleteAll(String[] ids) {
|
||||||
String currentUserId = SecurityUtils.getCurrentUserId();
|
|
||||||
String nickName = SecurityUtils.getCurrentNickName();
|
|
||||||
|
|
||||||
|
|
||||||
WQLObject wo = WQLObject.getWQLObject("sch_cacheline_region_relation");
|
WQLObject wo = WQLObject.getWQLObject("sch_cacheline_region_relation");
|
||||||
for (String relation_id: ids) {
|
for (String relation_id: ids) {
|
||||||
JSONObject param = new JSONObject();
|
wo.delete("relation_id = '" + relation_id + "'");
|
||||||
param.put("relation_id", String.valueOf(relation_id));
|
|
||||||
param.put("is_delete", "1");
|
|
||||||
param.put("update_optid", currentUserId);
|
|
||||||
param.put("update_optname", nickName);
|
|
||||||
param.put("update_time", DateUtil.now());
|
|
||||||
wo.update(param);
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user