修复提交报错的bug

master
huan.xu 4 years ago
parent 5417d726d7
commit 2bff674480
  1. 3
      blockchain-server/blockchain-server-yyyf/src/main/java/com/blockchain/server/yyyf/feign/EosFeign.java
  2. 5
      blockchain-server/blockchain-server-yyyf/src/main/resources/bootstrap.yml
  3. 2
      blockchain-server/blockchain-server-yyyf/src/main/resources/mapper/AssessUserMapper.xml
  4. 6
      blockchain-server/blockchain-server-yyyf/src/main/resources/mapper/AssetsReporterMapper.xml

@ -4,11 +4,12 @@ import com.blockchain.common.base.dto.ResultDTO;
import com.blockchain.server.yyyf.feign.dto.EosWalletDTO;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestParam;
import java.util.List;
@FeignClient("dapp-eos-server")
public interface EosFeign {
@GetMapping("/inner/walletTx/selectWalletByUserOpenId")
ResultDTO<List<EosWalletDTO>> selectWalletByWalletType(String userOpenId);
ResultDTO<List<EosWalletDTO>> selectWalletByWalletType(@RequestParam("userOpenId") String userOpenId);
}

@ -22,7 +22,10 @@ spring:
name: dapp-yyyf-server
#以渔有方配置
yyyf:
url: http://10.1.129.60:9090/yyyf-server-app
#测试环境
#url: http://10.1.129.60:9090/yyyf-server-app
#线上环境
url: http://www.iyyyf.com
#在线同步
integral: /api/bd/v1.0/integral
#成绩同步(单个)

@ -128,7 +128,7 @@
<select id="selectCurrentUserTimeMoneyDto" resultMap="UserTimeMoneyDtoMap">
SELECT au.id,au.user_id,au.q_user_id,au.alipay_init_money,au.wechat_init_money,au.bankcard_init_money,au.start_time,m.wx_pay,m.ali_pay,m.bank_card,m.btc,m.eth,m.usdt,m.eos
from yyyf_server_assess_user au,yyyf_money m
where au.id=m.assess_user_id and au.q_user_id=#{qUserId} and au.id={assessUserId}
where au.id=m.assess_user_id and au.q_user_id=#{qUserId} and au.id=#{assessUserId}
</select>
</mapper>

@ -20,11 +20,11 @@
<foreach collection="list" item="assetsReporter" index="index" separator=",">
(
#{assetsReporter.id},
#{assetsReporter.assess_user_id},
#{assetsReporter.coin_name},
#{assetsReporter.assessUserId},
#{assetsReporter.coinName},
#{assetsReporter.days},
#{assetsReporter.assets},
#{assetsReporter.create_time}
#{assetsReporter.createTime}
)
</foreach>
</insert>

Loading…
Cancel
Save