6 changed files with 54 additions and 32 deletions
			
			
		@ -0,0 +1,24 @@
					 | 
				
			||||
package com.hnac.hzims.message.config; | 
				
			||||
 | 
				
			||||
import lombok.Data; | 
				
			||||
import org.springframework.boot.context.properties.ConfigurationProperties; | 
				
			||||
import org.springframework.cloud.context.config.annotation.RefreshScope; | 
				
			||||
import org.springframework.stereotype.Component; | 
				
			||||
 | 
				
			||||
/** | 
				
			||||
 * @ClassName MessageStrategy | 
				
			||||
 * @description: | 
				
			||||
 * @author: hx | 
				
			||||
 * @create: 2023-04-14 10:27 | 
				
			||||
 * @Version 4.0 | 
				
			||||
 **/ | 
				
			||||
@Data | 
				
			||||
@Component | 
				
			||||
@ConfigurationProperties("hzims.push-strategy") | 
				
			||||
public class MessageStrategy { | 
				
			||||
 | 
				
			||||
    private Integer concentrateDuration; | 
				
			||||
 | 
				
			||||
    private String concentrateUnit; | 
				
			||||
 | 
				
			||||
} | 
				
			||||
@ -0,0 +1,12 @@
					 | 
				
			||||
package com.hnac.hzims.message.mapper; | 
				
			||||
 | 
				
			||||
import com.baomidou.mybatisplus.core.mapper.BaseMapper; | 
				
			||||
import com.hnac.hzims.message.entity.MessagePushRecordEntity; | 
				
			||||
 | 
				
			||||
/** | 
				
			||||
 * @author hx | 
				
			||||
 * @description 消息记录-无数据权限mapper | 
				
			||||
 */ | 
				
			||||
public interface MprNoAurhScopeMapper extends BaseMapper<MessagePushRecordEntity> { | 
				
			||||
 | 
				
			||||
} | 
				
			||||
					Loading…
					
					
				
		Reference in new issue