Ver Fonte

过滤主体类型

li.shaoyi há 3 anos atrás
pai
commit
f1fa65aa0f

+ 2 - 1
src/services/go/ermcp/subject/index.ts

@@ -8,7 +8,8 @@ import { Ermcp3SubjectReq, Ermcp3SubjectRsp } from './interface';
  */
 export function QueryPaAreaSubject(req?: Ermcp3SubjectReq): Promise<Ermcp3SubjectRsp[]> {
     const param: Ermcp3SubjectReq = {
-        userid: getUserId()
+        userid: getUserId(),
+        subjecttype: 1,
     }
     if (req) {
         Object.assign(param, req);

+ 1 - 1
src/services/go/ermcp/subject/interface.ts

@@ -4,7 +4,7 @@
 export interface Ermcp3SubjectReq {
     userid: number    //  用户id
     subjectid?: number    //  主体ID(SEQ_ERMCP_PA_AREASUBJECT)
-    subjecttype?: string  //  主体类型 - 1:交易主体 2:业务部门
+    subjecttype?: number  //  主体类型 - 1:交易主体 2:业务部门
     subjectstatus?: number  // 主体状态 - 1:正常 2: 停用
 }