|
|
|
@ -226,18 +226,18 @@ public class CrdnBean extends AbstractComponent {
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/**단속 정보를 삭제한다.
|
|
|
|
|
* @param crdnIDs 단속아이디 목록
|
|
|
|
|
* @param crdnIds 단속아이디 목록
|
|
|
|
|
* @return 저장 여부
|
|
|
|
|
* <ul><li>저장됐으면 true</li>
|
|
|
|
|
* <li>그렇지 않으면 false</li>
|
|
|
|
|
* </ul>
|
|
|
|
|
*/
|
|
|
|
|
public boolean remove(String... crdnIDs) {
|
|
|
|
|
if (isEmpty(crdnIDs)) return false;
|
|
|
|
|
public boolean remove(String... crdnIds) {
|
|
|
|
|
if (isEmpty(crdnIds)) return false;
|
|
|
|
|
|
|
|
|
|
Map<String, Object> paramMap = new HashMap<String, Object>();
|
|
|
|
|
List<String> crdnIdList = Arrays.asList(crdnIDs);
|
|
|
|
|
paramMap.put("crdnIDs", crdnIdList);
|
|
|
|
|
List<String> crdnIdList = Arrays.asList(crdnIds);
|
|
|
|
|
paramMap.put("crdnIds", crdnIdList);
|
|
|
|
|
paramMap.put("removedBy", UserInfo.current().getId());
|
|
|
|
|
|
|
|
|
|
return crdnUpdtMapper.deleteCrdn(paramMap) >= 1 ? true : false;
|
|
|
|
@ -307,7 +307,7 @@ public class CrdnBean extends AbstractComponent {
|
|
|
|
|
|
|
|
|
|
Map<String, Object> paramMap = new HashMap<String, Object>();
|
|
|
|
|
List<String> crdnIdList = Arrays.asList(crdn.getCrdnId());
|
|
|
|
|
paramMap.put("crdnIDs", crdnIdList);
|
|
|
|
|
paramMap.put("crdnIds", crdnIdList);
|
|
|
|
|
paramMap.put("removedBy", UserInfo.current().getId());
|
|
|
|
|
|
|
|
|
|
// 단속(TB_CRDN) 대장을 삭제 한다.
|
|
|
|
|