| 12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485 |
- package com.zhcs.dt.service.system.loginimg.impl;
- import java.util.List;
- import javax.annotation.Resource;
- import org.springframework.stereotype.Service;
- import com.zhcs.dt.dao.DaoSupport;
- import com.zhcs.dt.entity.Page;
- import com.zhcs.dt.service.system.loginimg.LogInImgManager;
- import com.zhcs.dt.util.PageData;
- /**
- * 说明: 登录页面背景图片
- * 创建人:FH Q313596790
- * 创建时间:2016-06-03
- * @version
- */
- @Service("loginimgService")
- public class LogInImgService implements LogInImgManager{
- @Resource(name = "daoSupport")
- private DaoSupport dao;
-
- /**新增
- * @param pd
- * @throws Exception
- */
- public void save(PageData pd)throws Exception{
- dao.save("LogInImgMapper.save", pd);
- }
-
- /**删除
- * @param pd
- * @throws Exception
- */
- public void delete(PageData pd)throws Exception{
- dao.delete("LogInImgMapper.delete", pd);
- }
-
- /**修改
- * @param pd
- * @throws Exception
- */
- public void edit(PageData pd)throws Exception{
- dao.update("LogInImgMapper.edit", pd);
- }
-
- /**列表
- * @param page
- * @throws Exception
- */
- @SuppressWarnings("unchecked")
- public List<PageData> list(Page page)throws Exception{
- return (List<PageData>)dao.findForList("LogInImgMapper.datalistPage", page);
- }
-
- /**列表(全部)
- * @param pd
- * @throws Exception
- */
- @SuppressWarnings("unchecked")
- public List<PageData> listAll(PageData pd)throws Exception{
- return (List<PageData>)dao.findForList("LogInImgMapper.listAll", pd);
- }
-
- /**通过id获取数据
- * @param pd
- * @throws Exception
- */
- public PageData findById(PageData pd)throws Exception{
- return (PageData)dao.findForObject("LogInImgMapper.findById", pd);
- }
-
- /**批量删除
- * @param ArrayDATA_IDS
- * @throws Exception
- */
- public void deleteAll(String[] ArrayDATA_IDS)throws Exception{
- dao.delete("LogInImgMapper.deleteAll", ArrayDATA_IDS);
- }
-
- }
|