remove return new HttpSuccess([]) more
This commit is contained in:
parent
bfae3e012d
commit
6642f395f0
13 changed files with 39 additions and 39 deletions
|
|
@ -247,9 +247,9 @@ export class PosLevelController extends Controller {
|
|||
select: ["id", "posLevelName", "posLevelRank", "posLevelAuthority", "posTypeId"],
|
||||
relations: ["posType"],
|
||||
});
|
||||
if (!posLevel) {
|
||||
return new HttpSuccess([]);
|
||||
}
|
||||
// if (!posLevel) {
|
||||
// return new HttpSuccess([]);
|
||||
// }
|
||||
const mapPosLevel = posLevel.map((item) => ({
|
||||
id: item.id,
|
||||
posLevelName: item.posLevelName,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue