|
|
@ -40,6 +40,7 @@ import com.epmet.entity.ProjectSatisfactionDetailEntity; |
|
|
|
import com.epmet.feign.EpmetUserFeignClient; |
|
|
|
import com.epmet.redis.ProjectSatisfactionDetailRedis; |
|
|
|
import com.epmet.service.ProjectSatisfactionDetailService; |
|
|
|
import lombok.extern.slf4j.Slf4j; |
|
|
|
import org.apache.commons.lang3.StringUtils; |
|
|
|
import org.springframework.beans.BeanUtils; |
|
|
|
import org.springframework.beans.factory.annotation.Autowired; |
|
|
@ -57,6 +58,7 @@ import java.util.stream.Collectors; |
|
|
|
* @since v1.0.0 2020-05-11 |
|
|
|
*/ |
|
|
|
@Service |
|
|
|
@Slf4j |
|
|
|
public class ProjectSatisfactionDetailServiceImpl extends BaseServiceImpl<ProjectSatisfactionDetailDao, ProjectSatisfactionDetailEntity> implements ProjectSatisfactionDetailService { |
|
|
|
|
|
|
|
@Autowired |
|
|
@ -198,6 +200,7 @@ public class ProjectSatisfactionDetailServiceImpl extends BaseServiceImpl<Projec |
|
|
|
throw new RenException(EpmetErrorCode.SERVER_ERROR.getCode()); |
|
|
|
} else { |
|
|
|
if (!textSyncScanResult.getData().isAllPass()) { |
|
|
|
log.error(String.format(ProjectConstant.REVIEW_PROJECT,comment)); |
|
|
|
throw new RenException(EpmetErrorCode.TEXT_SCAN_FAILED.getCode()); |
|
|
|
} |
|
|
|
} |
|
|
|