|
@ -8,6 +8,7 @@ import com.epmet.commons.tools.page.PageData; |
|
|
import com.epmet.commons.tools.utils.ConvertUtils; |
|
|
import com.epmet.commons.tools.utils.ConvertUtils; |
|
|
import com.epmet.dao.IcEventReplyDao; |
|
|
import com.epmet.dao.IcEventReplyDao; |
|
|
import com.epmet.dto.IcEventReplyDTO; |
|
|
import com.epmet.dto.IcEventReplyDTO; |
|
|
|
|
|
import com.epmet.dto.form.IcEventReplyFormDTO; |
|
|
import com.epmet.dto.result.IcEventProcessListResultDTO; |
|
|
import com.epmet.dto.result.IcEventProcessListResultDTO; |
|
|
import com.epmet.entity.IcEventReplyEntity; |
|
|
import com.epmet.entity.IcEventReplyEntity; |
|
|
import com.epmet.service.IcEventReplyService; |
|
|
import com.epmet.service.IcEventReplyService; |
|
@ -46,8 +47,8 @@ public class IcEventReplyServiceImpl extends BaseServiceImpl<IcEventReplyDao, Ic |
|
|
return ConvertUtils.sourceToTarget(entityList, IcEventReplyDTO.class); |
|
|
return ConvertUtils.sourceToTarget(entityList, IcEventReplyDTO.class); |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
private QueryWrapper<IcEventReplyEntity> getWrapper(Map<String, Object> params){ |
|
|
private QueryWrapper<IcEventReplyEntity> getWrapper(Map<String, Object> params) { |
|
|
String id = (String)params.get(FieldConstant.ID_HUMP); |
|
|
String id = (String) params.get(FieldConstant.ID_HUMP); |
|
|
|
|
|
|
|
|
QueryWrapper<IcEventReplyEntity> wrapper = new QueryWrapper<>(); |
|
|
QueryWrapper<IcEventReplyEntity> wrapper = new QueryWrapper<>(); |
|
|
wrapper.eq(StringUtils.isNotBlank(id), FieldConstant.ID, id); |
|
|
wrapper.eq(StringUtils.isNotBlank(id), FieldConstant.ID, id); |
|
@ -99,4 +100,16 @@ public class IcEventReplyServiceImpl extends BaseServiceImpl<IcEventReplyDao, Ic |
|
|
return list; |
|
|
return list; |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
@Override |
|
|
|
|
|
public void updateByReplyId(IcEventReplyFormDTO formDTO) { |
|
|
|
|
|
if (null != formDTO.getId()) { |
|
|
|
|
|
IcEventReplyEntity entity = baseDao.selectById(formDTO.getId()); |
|
|
|
|
|
entity.setManageStatus(formDTO.getManageStatus()); |
|
|
|
|
|
entity.setManageResi(formDTO.getManageResi()); |
|
|
|
|
|
entity.setManageResiTel(formDTO.getManageResiTel()); |
|
|
|
|
|
entity.setManageTime(formDTO.getManageTime()); |
|
|
|
|
|
baseDao.updateById(entity); |
|
|
|
|
|
} |
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
} |
|
|
} |