垛型参数管理更新
This commit is contained in:
@@ -112,19 +112,9 @@ public class CribbinginfoServiceImpl implements CribbinginfoService {
|
|||||||
@Override
|
@Override
|
||||||
@Transactional(rollbackFor = Exception.class)
|
@Transactional(rollbackFor = Exception.class)
|
||||||
public void deleteAll(Long[] ids) {
|
public void deleteAll(Long[] ids) {
|
||||||
Long currentUserId = SecurityUtils.getCurrentUserId();
|
|
||||||
String nickName = SecurityUtils.getNickName();
|
|
||||||
String now = DateUtil.now();
|
|
||||||
|
|
||||||
WQLObject wo = WQLObject.getWQLObject("md_me_cribbinginfo");
|
WQLObject wo = WQLObject.getWQLObject("md_me_cribbinginfo");
|
||||||
for (Long info_id: ids) {
|
for (Long info_id : ids) {
|
||||||
JSONObject param = new JSONObject();
|
wo.delete("info_id = '" + info_id + "'");
|
||||||
param.put("info_id", String.valueOf(info_id));
|
|
||||||
param.put("is_delete", "1");
|
|
||||||
param.put("update_optid", currentUserId);
|
|
||||||
param.put("update_optname", nickName);
|
|
||||||
param.put("update_time", now);
|
|
||||||
wo.update(param);
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user