src/com/business/BrokenBusiness.java

(完整代码) 2KB

package com.business;
import java.util.List;
import com.dao.BrokenDAO;
import com.entity.BrokenEntity;
public class BrokenBusiness {
/** Spring IOC DAO 注入 Business * */
private BrokenDAO brokenDAO;
public BrokenDAO getBrokenDAO() { return brokenDAO; }
public void setBrokenDAO(BrokenDAO brokenDAO) { this.brokenDAO = brokenDAO; }
/** save * */
public void save(BrokenEntity broken) {this.brokenDAO.save(broken);}
/** update * */
public void update(BrokenEntity broken) {this.brokenDAO.update(broken);}
/** delete * */
public void delete(BrokenEntity broken) {this.brokenDAO.delete(broken);}
/** show * */
public List<BrokenEntity> show() {return brokenDAO.show();}
/** check * */
public List<BrokenEntity> checkEquipmentid(String name) {return this.brokenDAO.queryByEquipmentid(name);}
/** check * */
public List<BrokenEntity> checkReason(String name) {return this.brokenDAO.queryByReason(name);}
/** check * */
public List<BrokenEntity> checkAddtime(String name) {return this.brokenDAO.queryByAddtime(name);}
/** check * */
public List<BrokenEntity> checkNum(String name) {return this.brokenDAO.queryByNum(name);}
/** check * */
public List<BrokenEntity> checkAdminid(String name) {return this.brokenDAO.queryByAdminid(name);}
/** check * */
public List<BrokenEntity> checkUsersid(String name) {return this.brokenDAO.queryByUsersid(name);}
/** check * */
public List<BrokenEntity> checkMemo(String name) {return this.brokenDAO.queryByMemo(name);}
/** check * */
public List<BrokenEntity> checkByLikeEquipmentid(String name) {return this.brokenDAO.queryLikeByEquipmentid(name);}
/** check * */
public List<BrokenEntity> checkByLikeReason(String name) {return this.brokenDAO.queryLikeByReason(name);}
/** check * */
public List<BrokenEntity> checkByLikeAddtime(String name) {return this.brokenDAO.queryLikeByAddtime(name);}
/** check * */
public List<BrokenEntity> checkByLikeNum(String name) {return this.brokenDAO.queryLikeByNum(name);}
/** check * */
public List<BrokenEntity> checkByLikeAdminid(String name) {return this.brokenDAO.queryLikeByAdminid(name);}
/** check * */
public List<BrokenEntity> checkByLikeUsersid(String name) {return this.brokenDAO.queryLikeByUsersid(name);}
/** check * */
public List<BrokenEntity> checkByLikeMemo(String name) {return this.brokenDAO.queryLikeByMemo(name);}
/** checkId * */
public BrokenEntity checkId(String id) {return this.brokenDAO.queryById(id);}
}

24 小时内免费解锁 3 个项目,之后 1 算力/个。 规则说明

AI 解读 AI

登录后可用,每次 10 算力,解读结果公开显示在下面。

还没有人解读过这个文件。