Browse Source

10/26

master
wangpengfei 2 years ago
parent
commit
9bc0f4ea39
  1. 2
      yxt_supervise/supervise-crm/supervise-crm-biz/src/main/java/com/yxt/supervise/crm/biz/projectinformation/ProjectInformationMapper.java

2
yxt_supervise/supervise-crm/supervise-crm-biz/src/main/java/com/yxt/supervise/crm/biz/projectinformation/ProjectInformationMapper.java

@ -18,7 +18,7 @@ import java.util.Map;
@Mapper
public interface ProjectInformationMapper extends BaseMapper<ProjectInformation> {
IPage<ProjectInformationVo> selectPageVo(IPage<ProjectInformation> page, @Param(Constants.WRAPPER) Wrapper<ProjectInformation> qw);
@Select("select * from project_information info join user_project up on up.projectSid =info.sid where userSid #{userSid}")
@Select("select info.* from project_information info join user_project up on up.projectSid =info.sid where up.userSid= #{userSid}")
List<ProjectInformationVo> listAll(@Param("userSid")String userSid);
ProjectInformationVo getProjectBySid( @Param("sid") String sid);
@Select("select p.*,i.enterpriseName as enterpriseName from project_information p left join enterprise_project e on e.projectSid=p.sid left join enterprise_information i on i.sid=e.enterpriseSid left join user_project u on u.projectSid =p.sid where u.userSid=#{sid}")

Loading…
Cancel
Save