id类型调整,异常打印

pro
wj 2 years ago
parent 7efba33fc0
commit 2d623577f1

@ -49,6 +49,7 @@ import com.glxp.api.util.*;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiOperation;
import lombok.RequiredArgsConstructor;
import lombok.extern.slf4j.Slf4j;
import org.apache.ibatis.session.ExecutorType;
import org.apache.ibatis.session.SqlSession;
import org.apache.ibatis.session.SqlSessionFactory;
@ -74,6 +75,7 @@ import java.util.List;
@RestController
@Api(tags = "同步下载相关")
@RequiredArgsConstructor
@Slf4j
public class SpsSyncDownloadController {
@Resource
@ -376,6 +378,7 @@ public class SpsSyncDownloadController {
basicDownloadService.insertDownloadStatus(downloadStatus);
return ResultVOUtils.success();
} catch (Exception e) {
log.error("",e);
e.printStackTrace();
return ResultVOUtils.error(ResultEnum.NOT_NETWORK, e.getMessage());
}

@ -20,7 +20,7 @@ public class ThrBusTypeOriginEntity {
/**
* id
*/
@TableId(value = "id", type = IdType.AUTO)
@TableId(value = "id", type = IdType.INPUT)
private Long id;
/**
*

Loading…
Cancel
Save