|
|
|
@ -12,6 +12,7 @@ import org.springframework.stereotype.Component;
|
|
|
|
|
import cokr.xit.fims.crdn.CrdnCvlcpt;
|
|
|
|
|
import cokr.xit.fims.crdn.CrdnQuery;
|
|
|
|
|
import cokr.xit.fims.crdn.dao.Crdn01Mapper;
|
|
|
|
|
import cokr.xit.fims.crdn.dao.Crdn05Mapper;
|
|
|
|
|
import cokr.xit.foundation.AbstractComponent;
|
|
|
|
|
import cokr.xit.foundation.UserInfo;
|
|
|
|
|
import cokr.xit.foundation.data.DataObject;
|
|
|
|
@ -25,6 +26,9 @@ public class Crdn01Bean extends AbstractComponent {
|
|
|
|
|
@Resource(name = "crdn01Mapper")
|
|
|
|
|
private Crdn01Mapper crdn01Mapper;
|
|
|
|
|
|
|
|
|
|
@Resource(name = "crdn05Mapper")
|
|
|
|
|
private Crdn05Mapper crdn05Mapper;
|
|
|
|
|
|
|
|
|
|
public boolean remove(String... crdnIDs) {
|
|
|
|
|
if (isEmpty(crdnIDs)) return false;
|
|
|
|
|
|
|
|
|
@ -33,7 +37,7 @@ public class Crdn01Bean extends AbstractComponent {
|
|
|
|
|
paramMap.put("crdnIDs", crdnIdList);
|
|
|
|
|
paramMap.put("removedBy", UserInfo.current().getId());
|
|
|
|
|
|
|
|
|
|
return crdn01Mapper.remove(paramMap) == 1 ? true : false;
|
|
|
|
|
return crdn05Mapper.removeCrdn(paramMap) == 1 ? true : false;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
public DataObject getCivilComplaintOriginalInfo(CrdnQuery crdnQuery) {
|
|
|
|
|