|
|
@@ -46,9 +46,9 @@ module.exports = app => {
|
|
|
return data;
|
|
|
}
|
|
|
|
|
|
- async getLatestSpssStash(spid, type) {
|
|
|
+ async getLatestSpssStash(spid, type, user_id) {
|
|
|
const data = await this.getAllDataByCondition({
|
|
|
- where: { spid, spss_type: type },
|
|
|
+ where: { spid, spss_type: type, user_id },
|
|
|
orders: [['create_time', 'desc']],
|
|
|
limit: 1,
|
|
|
offset: 0,
|