weaver-hrm-organization/src/com/engine/organization/mapper/resource/JclOrgCustomTemplateMapper....

44 lines
1.3 KiB
Java
Raw Normal View History

2023-01-12 11:30:25 +08:00
package com.engine.organization.mapper.resource;
import com.engine.organization.entity.hrmresource.po.JclOrgCustomTemplatePO;
import org.apache.ibatis.annotations.Param;
2023-01-12 11:30:25 +08:00
import java.util.Collection;
2023-01-12 11:30:25 +08:00
import java.util.List;
/**
* @author Mlin
* @description 针对表jcl_org_custom_template的数据库操作Mapper
* @createDate 2023-01-12 10:28:52
* @Entity com.engine.organization.entity.hrmresource.po.JclOrgCustomTemplate
*/
public interface JclOrgCustomTemplateMapper {
int deleteByPrimaryKey(Long id);
int insert(JclOrgCustomTemplatePO record);
int insertSelective(JclOrgCustomTemplatePO record);
JclOrgCustomTemplatePO selectByPrimaryKey(Long id);
int updateByPrimaryKeySelective(JclOrgCustomTemplatePO record);
int updateByPrimaryKey(JclOrgCustomTemplatePO record);
List<JclOrgCustomTemplatePO> listAllByCreator(@Param("creator") Integer creator);
2023-01-12 11:30:25 +08:00
List<Long> listAllId();
List<Long> listAllIdByCreator(@Param("creator") Integer creator);
int deleteByIds(@Param("ids") Collection<Long> ids);
2024-07-24 15:41:32 +08:00
int updateUsed(@Param("overall")Integer overall,@Param("isused")String isused,@Param("id") String id,@Param("creator") String creator);
2023-01-13 08:50:27 +08:00
JclOrgCustomTemplatePO queryIsusedTemp(@Param("isused")String isused,@Param("creator") String creator);
2024-07-24 15:41:32 +08:00
JclOrgCustomTemplatePO queryOverAll();
2023-01-12 11:30:25 +08:00
}