|
@@ -135,7 +135,7 @@ class RoomService extends CrudService {
|
|
return result;
|
|
return result;
|
|
}
|
|
}
|
|
|
|
|
|
- async updateshmai(id, shmaiid) {
|
|
|
|
|
|
+ async updateshmai({ id, shmaiid }) {
|
|
const res = await this.model.findById(id);
|
|
const res = await this.model.findById(id);
|
|
if (res) {
|
|
if (res) {
|
|
res.shmaiid = shmaiid;
|
|
res.shmaiid = shmaiid;
|