9.4
This commit is contained in:
parent
6f65725ca1
commit
bfe54b47a6
@ -14,7 +14,7 @@
|
|||||||
FROM
|
FROM
|
||||||
active_price main
|
active_price main
|
||||||
LEFT JOIN active_price_oil apo ON main.id = apo.active_id
|
LEFT JOIN active_price_oil apo ON main.id = apo.active_id
|
||||||
LEFT JOIN t_account ta on main.createBy = ta.acct_id
|
LEFT JOIN t_account ta on main.create_by = ta.acct_id
|
||||||
<where>
|
<where>
|
||||||
<if test="entity.chainStorId != null and entity.chainStorId != ''">
|
<if test="entity.chainStorId != null and entity.chainStorId != ''">
|
||||||
AND main.chain_stor_id = #{entity.chainStorId}
|
AND main.chain_stor_id = #{entity.chainStorId}
|
||||||
|
@ -58,6 +58,7 @@ public class ActivePriceOilServiceImpl extends ServiceImpl<ActivePriceOilMapper,
|
|||||||
AccountInfo nowAccountInfo = TokenUtil.getNowAccountInfo();
|
AccountInfo nowAccountInfo = TokenUtil.getNowAccountInfo();
|
||||||
item.setChainStoreId(nowAccountInfo.getChainStoreId());
|
item.setChainStoreId(nowAccountInfo.getChainStoreId());
|
||||||
item.setStoreId(nowAccountInfo.getStoreId());
|
item.setStoreId(nowAccountInfo.getStoreId());
|
||||||
|
item.setOilId(item.getId());
|
||||||
});
|
});
|
||||||
saveBatch(oilList);
|
saveBatch(oilList);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user