package cn.superdesk.uniorder.service.thirdpart.szhtxx.electronicInvoice;


import cn.hutool.core.date.DateTime;
import cn.superdesk.uniorder.common.rest.response.R;
import cn.superdesk.uniorder.common.security.dto.LoginSysUser;
import cn.superdesk.uniorder.dao.entity.thirdpart.szhtxx.electronicInvoice.SzhtxxElectronicInvoiceFptxxExtendInfo;
import cn.superdesk.uniorder.dto.param.thirdpart.szhtxx.electronicInvoice.SzhtxxElectronicInvoiceFptxxExtendInfoQueryCriteria;
import cn.superdesk.uniorder.service.base.BaseService;
import com.github.pagehelper.PageInfo;

import java.util.List;
import java.util.Map;


/**
 * @Description:
 * @Author: linjinyu
 * @Email linjinyu@avic-s.com
 * @CreateDate: 2022-03-17 13:52:19
 * @UpdateUser: linjinyu
 * @UpdateDate: 2022-03-17 13:52:19
 * @UpdateRemark: 修改内容
 * @Version: 1.0
 */
public interface SzhtxxElectronicInvoiceFptxxExtendInfoService extends BaseService<SzhtxxElectronicInvoiceFptxxExtendInfo> {


    /****************************************** extends BaseService 部分 start ******************************************/

    int insertSelective(SzhtxxElectronicInvoiceFptxxExtendInfo entity);

//    int addSzhtxxElectronicInvoiceFptxxExtendInfo(SzhtxxElectronicInvoiceFptxxExtendInfo entity);

    int updateByPrimaryKeySelective(SzhtxxElectronicInvoiceFptxxExtendInfo entity);

//    int updateByPrimaryKeySelectiveWithRet(SzhtxxElectronicInvoiceFptxxExtendInfo entity);
//
//    int updateSzhtxxElectronicInvoiceFptxxExtendInfo(SzhtxxElectronicInvoiceFptxxExtendInfo entity);

    @Deprecated
    void deleteObj(Long id);

    @Deprecated
    SzhtxxElectronicInvoiceFptxxExtendInfo findById(Long id);

    SzhtxxElectronicInvoiceFptxxExtendInfo findByFpqqlsh(String fpqqlsh);

    @Deprecated
    PageInfo<SzhtxxElectronicInvoiceFptxxExtendInfo> findByPaging(Map<String, Object> conditions, Integer pageNun, Integer pageSize);

    @Deprecated
    List<SzhtxxElectronicInvoiceFptxxExtendInfo> findAll(Map<String, Object> queryMap);

    /****************************************** extends BaseService 部分   end ******************************************/

    int saveOrUpdateByFpqqlsh(SzhtxxElectronicInvoiceFptxxExtendInfo entity);







    int updateUpdateUserInfo(String fpqqlsh, LoginSysUser loginSysUser, DateTime now);

    int deleteSzhtxxElectronicInvoiceFptxxExtendInfo(Long id);

    SzhtxxElectronicInvoiceFptxxExtendInfo findSzhtxxElectronicInvoiceFptxxExtendInfoById(Long id);

    R<List<SzhtxxElectronicInvoiceFptxxExtendInfo>> pageQuery(Map<String, Object> conditions, int pageNun, int pageSize);

    R<List<SzhtxxElectronicInvoiceFptxxExtendInfo>> pageQueryGenericParam(SzhtxxElectronicInvoiceFptxxExtendInfoQueryCriteria criteria);


}
