@ -346,4 +346,13 @@ public interface ItemDao extends BaseDao<ItemEntity> {
*/
List<ItemDTO> selectListOfCategoryInfo(String oldCategoryName);
/**
* @describe: 内容审核-驳回满意度评价
* @author wangtong
* @date 2020/8/17 10:41
* @params [id]
* @return void
void rejectItemSatisfactionInfo(@Param("id") String id);
}
@ -1599,9 +1599,7 @@ public class ItemServiceImpl extends BaseServiceImpl<ItemDao, ItemEntity> implem
@Transactional
public Result rejectItemSatisfactionInfo(RejectRecordDTO dto) {
ItemEntity entity = baseDao.selectById(dto.getRelationId());
entity.setEvaluationContent(null);
entity.setUpdatedTime(new Date());
updateById(entity);
baseDao.rejectItemSatisfactionInfo(entity.getId());
return new Result();
@ -1063,4 +1063,7 @@
WHERE
FIND_IN_SET( #{oldCategoryName}, REPLACE(REPLACE(CATEGORY_FULL_NAME,',','uniquecode'),'-',',') )
</select>
<update id="rejectItemSatisfactionInfo">
update epdc_item set EVALUATION_SCORE = null,EVALUATION_CONTENT = null,EVALUATION_TIME = null where id = #{id}
</update>
</mapper>