|
@@ -177,7 +177,9 @@ public interface ProjectMapper {
|
|
|
"projectType.fname_l2 as \"projectTypeName\" \n" +
|
|
|
"from CT_PRO_ProjectRole projectRole\n" +
|
|
|
"left join CT_PRO_ProjectType projectType on projectType.fid = projectRole.CFTypeID\n" +
|
|
|
- "order by projectRole.fnumber")
|
|
|
+ "where projectRole.FSTATE ='1' and projectRole.FNUMBER <> '001' \n" +
|
|
|
+ "order by projectRole.fnumber"
|
|
|
+ )
|
|
|
List<Map<String, String>> getProjectRoleList();
|
|
|
|
|
|
@Select("select * from CT_PRO_MemberManagement where FNUMBER =#{number}")
|
|
@@ -187,7 +189,12 @@ public interface ProjectMapper {
|
|
|
@Select("select fname_l2 as \"name\" ,fnumber as \"number\" ,fid as \"id\" from T_BD_PERSON where fid = #{personID}")
|
|
|
Map<String, String> getPerson(String personID);
|
|
|
|
|
|
- @Select("select fid as \"id\",FNAME_L2 as \"name\",FNUMBER as \"number\" from CT_PRO_ProjectType order by fnumber ")
|
|
|
+ @Select("select fid as \"id\",FNAME_L2 as \"name\",FNUMBER as \"number\" from CT_PRO_ProjectType where FSTATE ='1' and FNUMBER <> '001' order by fnumber ")
|
|
|
List<Map<String, String>> getProjectTypeList();
|
|
|
|
|
|
+ @Select("select fid as \"id\",FNAME_L2 as \"name\",FNUMBER as \"number\" from CT_PRO_ProjectType where fid = #{id}")
|
|
|
+ Map<String, String> getProjectTypeListById(String id);
|
|
|
+
|
|
|
+ @Select("select COUNT(1) from CT_PRO_MemberManagement where CFPROJECTROLEID = #{projectRole} and CFPTYPEID = #{proType}")
|
|
|
+ int isManagementByProjectRoleAndProType(String projectRole, String proType);
|
|
|
}
|