mirror of
https://codeup.aliyun.com/67c68d4e484ca2f0a13ac3c1/ydc/jsowell-charger-web.git
synced 2026-06-13 11:49:49 +08:00
update
This commit is contained in:
@@ -153,9 +153,7 @@ public class CarVinInfoServiceImpl implements ICarVinInfoService {
|
|||||||
if (carVinInfo != null) {
|
if (carVinInfo != null) {
|
||||||
throw new BusinessException(ReturnCodeEnum.CODE_SELECT_INFO_IS_NULL);
|
throw new BusinessException(ReturnCodeEnum.CODE_SELECT_INFO_IS_NULL);
|
||||||
}
|
}
|
||||||
if (!StringUtils.equals("1", carVinInfo.getStatus())) {
|
carVinInfo = new CarVinInfo();
|
||||||
throw new BusinessException("", "");
|
|
||||||
}
|
|
||||||
// 绑定操作
|
// 绑定操作
|
||||||
carVinInfo.setVinCode(dto.getVinCode());
|
carVinInfo.setVinCode(dto.getVinCode());
|
||||||
carVinInfo.setStatus("1");
|
carVinInfo.setStatus("1");
|
||||||
|
|||||||
@@ -112,8 +112,18 @@
|
|||||||
</select>
|
</select>
|
||||||
|
|
||||||
<select id="getCarVinListByMemberId" resultType="com.jsowell.pile.vo.CarVinInfoVO">
|
<select id="getCarVinListByMemberId" resultType="com.jsowell.pile.vo.CarVinInfoVO">
|
||||||
select <include refid="Base_Column_List"/>
|
select
|
||||||
from car_vin_info
|
t1.id,
|
||||||
|
t1.vin_code as vinCode,
|
||||||
|
t1.status,
|
||||||
|
t1.member_id as memberId,
|
||||||
|
t2.mobile_number as phoneNumber,
|
||||||
|
t3.principal_balance as principalBalance,
|
||||||
|
t3.gift_balance as giftBalance
|
||||||
|
from
|
||||||
|
car_vin_info t1
|
||||||
|
join member_basic_info t2 on t1.member_id = t2.member_id and t1.del_flag = '0'
|
||||||
|
join member_wallet_info t3 on t2.member_id = t3.member_id and t2.status = '1'
|
||||||
where member_id = #{memberId,jdbcType=VARCHAR}
|
where member_id = #{memberId,jdbcType=VARCHAR}
|
||||||
and del_flag = '0'
|
and del_flag = '0'
|
||||||
</select>
|
</select>
|
||||||
|
|||||||
Reference in New Issue
Block a user