Merge branch 'master' of http://175.27.215.92:3000/yinq/aucma-mes-back
commit
8331cdadf2
@ -0,0 +1,17 @@
|
||||
package com.aucma.base.mapper;
|
||||
|
||||
import com.aucma.common.annotation.DataSource;
|
||||
import com.aucma.common.enums.DataSourceType;
|
||||
import org.springframework.stereotype.Repository;
|
||||
|
||||
/**
|
||||
* @ClassName : PublicMapper
|
||||
* @Description :
|
||||
* @Author :
|
||||
* @Date: 2024-03-30 17:29
|
||||
*/
|
||||
@Repository
|
||||
public interface PublicMapper {
|
||||
@DataSource(value = DataSourceType.SLAVE)
|
||||
int DeleteDOORFOAMREMACHINE(Long dates);
|
||||
}
|
@ -0,0 +1,11 @@
|
||||
<?xml version="1.0" encoding="UTF-8" ?>
|
||||
<!DOCTYPE mapper
|
||||
PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
||||
"http://mybatis.org/dtd/mybatis-3-mapper.dtd">
|
||||
<mapper namespace="com.aucma.base.mapper.PublicMapper">
|
||||
<delete id="DeleteDOORFOAMREMACHINE" parameterType="Long">
|
||||
delete
|
||||
from DOOR_FOAMREMACHINE
|
||||
where (sysdate-#{dates})>CREATED_TIME
|
||||
</delete>
|
||||
</mapper>
|
Loading…
Reference in New Issue