上传文件至 'op-modules/op-sap/src/main/java/com/op/sap/mapper'

highway
zhaoxl 1 year ago
parent dcf44bf0cb
commit 30d46a2944

@ -0,0 +1,81 @@
package com.op.sap.mapper;
import com.op.sap.domain.SapProRouteProcess;
import org.apache.ibatis.annotations.Mapper;
import java.util.List;
/**
* Mapper
*
* @author yinjinlu
* @date 2022-05-13
*/
@Mapper
public interface SapProRouteProcessMapper
{
/**
*
*
* @param recordId
* @return
*/
public SapProRouteProcess selectProRouteProcessByRecordId(String recordId);
/**
*
*
* @param proRouteProcess
* @return
*/
public List<SapProRouteProcess> selectProRouteProcessList(SapProRouteProcess proRouteProcess);
public SapProRouteProcess checkOrderNumExists(SapProRouteProcess proRouteProcess);
public SapProRouteProcess checkProcessExists(SapProRouteProcess proRouteProcess);
public SapProRouteProcess checkUpdateFlagUnique(SapProRouteProcess proRouteProcess);
public SapProRouteProcess findPreProcess(SapProRouteProcess proRouteProcess);
public SapProRouteProcess findNextProcess(SapProRouteProcess proRouteProcess);
/**
*
*
* @param proRouteProcess
* @return
*/
public int insertProRouteProcess(SapProRouteProcess proRouteProcess);
/**
*
*
* @param proRouteProcess
* @return
*/
public int updateProRouteProcess(SapProRouteProcess proRouteProcess);
/**
*
*
* @param recordId
* @return
*/
public int deleteProRouteProcessByRecordId(String recordId);
/**
*
*
* @param recordIds
* @return
*/
public int deleteProRouteProcessByRecordIds(String[] recordIds);
/**
* 线ID
* @param routeId
* @return
*/
public int deleteByRouteId(String routeId);
}

@ -0,0 +1,68 @@
package com.op.sap.mapper;
import com.op.sap.domain.SapProRouteProduct;
import org.apache.ibatis.annotations.Mapper;
import java.util.List;
/**
* Mapper
*
* @author Open Platform
* @date 2023-07-13
*/
@Mapper
public interface SapProRouteProductMapper {
/**
*
*
* @param recordId
* @return
*/
public SapProRouteProduct selectProRouteProductByRecordId(String recordId);
/**
*
*
* @param proRouteProduct
* @return
*/
public List<SapProRouteProduct> selectProRouteProductList(SapProRouteProduct proRouteProduct);
/**
*
*
* @param proRouteProduct
* @return
*/
public int insertProRouteProduct(SapProRouteProduct proRouteProduct);
/**
*
*
* @param proRouteProduct
* @return
*/
public int updateProRouteProduct(SapProRouteProduct proRouteProduct);
/**
*
*
* @param recordId
* @return
*/
public int deleteProRouteProductByRecordId(String recordId);
/**
*
*
* @param recordIds
* @return
*/
public int deleteProRouteProductByRecordIds(String[] recordIds);
public List<SapProRouteProduct> getRouteProdProductListUndo(SapProRouteProduct proRouteProduct);
List<SapProRouteProduct> getRouteProdProductListDo(SapProRouteProduct proRouteProduct);
void deleteByRouteId(SapProRouteProduct proRouteProduct);
}

@ -0,0 +1,119 @@
package com.op.sap.mapper;
import com.op.system.api.domain.SysDept;
import org.apache.ibatis.annotations.Param;
import java.util.List;
/**
*
*
* @author OP
*/
public interface SapSysDeptMapper {
/**
*
*
* @param dept
* @return
*/
public List<SysDept> selectDeptList(SysDept dept);
/**
* ID
*
* @param roleId ID
* @param deptCheckStrictly
* @return
*/
public List<Long> selectDeptListByRoleId(@Param("roleId") Long roleId,
@Param("deptCheckStrictly") boolean deptCheckStrictly);
/**
* ID
*
* @param deptId ID
* @return
*/
public SysDept selectDeptById(Long deptId);
/**
* ID
*
* @param deptId ID
* @return
*/
public List<SysDept> selectChildrenDeptById(Long deptId);
/**
* ID
*
* @param deptId ID
* @return
*/
public int selectNormalChildrenDeptById(Long deptId);
/**
*
*
* @param deptId ID
* @return
*/
public int hasChildByDeptId(Long deptId);
/**
*
*
* @param deptId ID
* @return
*/
public int checkDeptExistUser(Long deptId);
/**
*
*
* @param deptName
* @param parentId ID
* @return
*/
public SysDept checkDeptNameUnique(@Param("deptName") String deptName, @Param("parentId") Long parentId);
/**
*
*
* @param dept
* @return
*/
public int insertDept(SysDept dept);
/**
*
*
* @param dept
* @return
*/
public int updateDept(SysDept dept);
/**
*
*
* @param deptIds ID
*/
public void updateDeptStatusNormal(Long[] deptIds);
/**
*
*
* @param depts
* @return
*/
public int updateDeptChildren(@Param("depts") List<SysDept> depts);
/**
*
*
* @param deptId ID
* @return
*/
public int deleteDeptById(Long deptId);
}

@ -0,0 +1,132 @@
package com.op.sap.mapper;
import com.op.sap.domain.SapSysUser;
import org.apache.ibatis.annotations.Param;
import java.util.List;
import java.util.Map;
/**
*
*
* @author OP
*/
public interface SapSysUserMapper {
/**
*
*
* @param sysUser
* @return
*/
public List<SapSysUser> selectUserList(SapSysUser sysUser);
/**
*
*
* @param user
* @return
*/
public List<SapSysUser> selectAllocatedList(SapSysUser user);
/**
*
*
* @param user
* @return
*/
public List<SapSysUser> selectUnallocatedList(SapSysUser user);
/**
*
*
* @param userName
* @return
*/
public SapSysUser selectUserByUserName(String userName);
/**
* ID
*
* @param userId ID
* @return
*/
public SapSysUser selectUserById(Long userId);
/**
*
*
* @param user
* @return
*/
public int insertUser(SapSysUser user);
/**
*
*
* @param user
* @return
*/
public int updateUser(SapSysUser user);
/**
*
*
* @param userName
* @param avatar
* @return
*/
public int updateUserAvatar(@Param("userName") String userName, @Param("avatar") String avatar);
/**
*
*
* @param userName
* @param password
* @return
*/
public int resetUserPwd(@Param("userName") String userName, @Param("password") String password);
/**
* ID
*
* @param userId ID
* @return
*/
public int deleteUserById(Long userId);
/**
*
*
* @param userIds ID
* @return
*/
public int deleteUserByIds(Long[] userIds);
/**
*
*
* @param userName
* @return
*/
public SapSysUser checkUserNameUnique(String userName);
/**
*
*
* @param phonenumber
* @return
*/
public SapSysUser checkPhoneUnique(String phonenumber);
/**
* email
*
* @param email
* @return
*/
public SapSysUser checkEmailUnique(String email);
public List<Map<String, String>> getPoolNameList(SapSysUser user);
public String getPoolName(String poolName);
}
Loading…
Cancel
Save