IConstructionCreditService.java 1.85 KB
package com.trash.business.service;

import java.util.List;

import com.alibaba.fastjson.JSONArray;
import com.trash.business.domain.ConstructionCredit;
import com.trash.business.mapper.SmsMapper;

/**
 * 三查机制Service接口
 * 
 * @author trash
 * @date 2023-04-21
 */
public interface IConstructionCreditService 
{
    /**
     * 查询三查机制
     * 
     * @param id 三查机制ID
     * @return 三查机制
     */
    ConstructionCredit selectConstructionCreditById(Long id);

    /**
     * 查询三查机制列表
     * 
     * @param constructionCredit 三查机制
     * @return 三查机制集合
     */
    List<ConstructionCredit> selectConstructionCreditList(ConstructionCredit constructionCredit);

    /**
     * 新增三查机制
     * 
     * @param constructionCredit 三查机制
     * @return 结果
     */
    int insertConstructionCredit(ConstructionCredit constructionCredit);

    /**
     * 修改三查机制
     * 
     * @param constructionCredit 三查机制
     * @return 结果
     */
    int updateConstructionCredit(ConstructionCredit constructionCredit);

    /**
     * 批量删除三查机制
     * 
     * @param ids 需要删除的三查机制ID
     * @return 结果
     */
    int deleteConstructionCreditByIds(Long[] ids);

    /**
     * 删除三查机制信息
     * 
     * @param id 三查机制ID
     * @return 结果
     */
    int deleteConstructionCreditById(Long id);

	List<String> getNames(ConstructionCredit constructionCredit);
	List<String> getTypes(ConstructionCredit constructionCredit);
	List<String> getPlaces(ConstructionCredit constructionCredit);

	List<ConstructionCredit> selectConstructionCreditHistory(ConstructionCredit constructionCredit);
	
	void sendCreditSMS(String objectId , String name,String reason,long lost,JSONArray array,String smsType,SmsMapper smsMapper,String phone,String phone1);
}