feat:平台账号
This commit is contained in:
@@ -36,10 +36,13 @@ public class ShopAccountDAO {
|
||||
shopAccountDO.setShopId(shopId);
|
||||
shopAccountDO.setSystemName(shopAccountEnum.getSystemName());
|
||||
shopAccountDO.setBoundPhone(partnerUserInfoDO.getMobile());
|
||||
shopAccountDO.setPasswordSalt(partnerUserInfoDO.getDownstreamSystemSalting());
|
||||
shopAccountDO.setPassword(partnerUserInfoDO.getDownstreamSystemPassword());
|
||||
//其他账户不使用统一密码
|
||||
if (ShopAccountEnum.getSpecialEnumList().contains(shopAccountEnum)){
|
||||
shopAccountDO.setPasswordSalt(partnerUserInfoDO.getDownstreamSystemSalting());
|
||||
shopAccountDO.setPassword(partnerUserInfoDO.getDownstreamSystemPassword());
|
||||
}
|
||||
shopAccountDO.setStatus(shopAccountEnum.getInitStatus().getCode());
|
||||
if (ShopAccountEnum.HuoMa.equals(shopAccountEnum)){
|
||||
if (ShopAccountEnum.HUOMA.equals(shopAccountEnum)){
|
||||
shopAccountDO.setEntryStatus(CommonConstants.ONE);
|
||||
}
|
||||
shopAccountDOS.add(shopAccountDO);
|
||||
@@ -116,5 +119,10 @@ public class ShopAccountDAO {
|
||||
}
|
||||
|
||||
|
||||
public List<ShopAccountDO> getALlFail(){
|
||||
return shopAccountMapper.getALlFail();
|
||||
}
|
||||
|
||||
|
||||
|
||||
}
|
||||
|
||||
@@ -69,6 +69,12 @@ public interface ShopAccountMapper extends Mapper<ShopAccountDO> {
|
||||
);
|
||||
|
||||
|
||||
/**
|
||||
* 查询云流水、新掌柜 POS失败的数据 重新推数据
|
||||
* @return
|
||||
*/
|
||||
List<ShopAccountDO> getALlFail();
|
||||
|
||||
|
||||
|
||||
}
|
||||
@@ -126,4 +126,11 @@
|
||||
#{shopId}
|
||||
</foreach>
|
||||
</update>
|
||||
|
||||
|
||||
<select id="getALlFail">
|
||||
select * from xfsg_shop_account WHERE
|
||||
system_name in ('火码POS','云流水','新掌柜')
|
||||
and status = 6
|
||||
</select>
|
||||
</mapper>
|
||||
Reference in New Issue
Block a user