Commit d0f260f9 authored by suntao's avatar suntao

报错启动 fix

parent 678a2f56
...@@ -137,6 +137,11 @@ public class OrderService { ...@@ -137,6 +137,11 @@ public class OrderService {
}); });
} }
/**
*
* @param approveVo
* @return Tuple<Boolean 审批结果 true 审批完成 false 审批操作失败, Boolean 资产计划配置 true 配置没问题 false 配置需要检查>
*/
public Tuple<Boolean, Boolean> approveOpt(ApproveVo approveVo) { public Tuple<Boolean, Boolean> approveOpt(ApproveVo approveVo) {
if (StringUtils.isEmpty(approveVo.getAmount())) { if (StringUtils.isEmpty(approveVo.getAmount())) {
......
...@@ -10,7 +10,7 @@ import org.springframework.stereotype.Component; ...@@ -10,7 +10,7 @@ import org.springframework.stereotype.Component;
* *
* @author: suntao * @author: suntao
*/ */
@Component //@Component
@FeignClient(name = "PayCenter", url = "${api.https}", fallback = XYQBCenter.Fallback.class) //@FeignClient(name = "PayCenter", url = "${api.https}", fallback = XYQBCenter.Fallback.class)
public class PayCenter { public class PayCenter {
} }
...@@ -14,6 +14,11 @@ import java.util.Date; ...@@ -14,6 +14,11 @@ import java.util.Date;
public class FundingAssetAllocationsPrograms { public class FundingAssetAllocationsPrograms {
@Id
@Column(name = "id")
@GeneratedValue(strategy = GenerationType.IDENTITY)
private Long id;
/** /**
* 资金方ID * 资金方ID
*/ */
......
...@@ -15,6 +15,7 @@ public class FundingCorpPolicy { ...@@ -15,6 +15,7 @@ public class FundingCorpPolicy {
/** /**
* 资方id * 资方id
*/ */
@Id
@Column(name = "funding_corp_id") @Column(name = "funding_corp_id")
private Long fundingCorpId; private Long fundingCorpId;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment