权限管理
This commit is contained in:
parent
bc411b893a
commit
a9f0981fcd
|
|
@ -100,7 +100,7 @@ public class PmMainProjectController extends BaseController {
|
|||
@SysLog(title = "总包工程", businessType = OperaType.QUERY, logType = 0, module = "总包工程->总包工程下拉框")
|
||||
public TableDataInfo listAll(PmMainProject pmMainProject) {
|
||||
try {
|
||||
List<PmMainProjectVo> list = pmMainProjectService.selectMainProjectList(pmMainProject);
|
||||
List<PmMainProjectVo> list = pmMainProjectService.selectMainProjectListAll(pmMainProject);
|
||||
return getDataTable(list);
|
||||
} catch (Exception e) {
|
||||
log.error(e.toString(), e);
|
||||
|
|
|
|||
|
|
@ -38,4 +38,11 @@ public interface PmMainProjectMapper {
|
|||
* @return
|
||||
*/
|
||||
int delMainProject(PmMainProject pmMainProject);
|
||||
|
||||
/**
|
||||
* 总包工程下拉框
|
||||
* @param pmMainProject
|
||||
* @return
|
||||
*/
|
||||
List<PmMainProjectVo> selectMainProjectListAll(PmMainProject pmMainProject);
|
||||
}
|
||||
|
|
|
|||
|
|
@ -20,4 +20,11 @@ public interface PmMainProjectService {
|
|||
* 删除总工程
|
||||
*/
|
||||
int delMainProject(PmMainProject pmMainProject);
|
||||
|
||||
/**
|
||||
* 总包工程下拉框
|
||||
* @param pmMainProject
|
||||
* @return
|
||||
*/
|
||||
List<PmMainProjectVo> selectMainProjectListAll(PmMainProject pmMainProject);
|
||||
}
|
||||
|
|
|
|||
|
|
@ -88,4 +88,14 @@ public class PmMainProjectServiceImpl implements PmMainProjectService {
|
|||
}
|
||||
return pmMainProjectMapper.delMainProject(pmMainProject);
|
||||
}
|
||||
|
||||
/**
|
||||
* 总包工程下拉框
|
||||
* @param pmMainProject
|
||||
* @return
|
||||
*/
|
||||
@Override
|
||||
public List<PmMainProjectVo> selectMainProjectListAll(PmMainProject pmMainProject) {
|
||||
return pmMainProjectMapper.selectMainProjectListAll(pmMainProject);
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -45,4 +45,8 @@
|
|||
select id,main_pro_name,vol_level,create_user,update_user,create_time,update_time,pro_status
|
||||
from pm_main_project where is_active='1' and main_pro_name = #{mainProName}
|
||||
</select>
|
||||
<select id="selectMainProjectListAll" resultType="com.bonus.bmw.domain.vo.PmMainProjectVo">
|
||||
select id,main_pro_name
|
||||
from pm_main_project where is_active='1'
|
||||
</select>
|
||||
</mapper>
|
||||
|
|
|
|||
Loading…
Reference in New Issue