资金归集
This commit is contained in:
parent
21722c1b73
commit
07401992c6
|
@ -0,0 +1,12 @@
|
|||
package com.hzya.frame.plugin.zxBank.dao;
|
||||
|
||||
import com.hzya.frame.basedao.dao.IBaseDao;
|
||||
import com.hzya.frame.plugin.zxBank.entity.ZjgjEntity;
|
||||
|
||||
/**
|
||||
* @Description 资金归集
|
||||
* @Author xiangerlin
|
||||
* @Date 2025/4/11 11:07
|
||||
**/
|
||||
public interface IZjgjDao extends IBaseDao<ZjgjEntity,String> {
|
||||
}
|
|
@ -0,0 +1,15 @@
|
|||
package com.hzya.frame.plugin.zxBank.dao.impl;
|
||||
|
||||
import com.hzya.frame.basedao.dao.MybatisGenericDao;
|
||||
import com.hzya.frame.plugin.zxBank.dao.IZjgjDao;
|
||||
import com.hzya.frame.plugin.zxBank.entity.ZjgjEntity;
|
||||
import org.springframework.stereotype.Repository;
|
||||
|
||||
/**
|
||||
* @Description 资金归集
|
||||
* @Author xiangerlin
|
||||
* @Date 2025/4/11 11:07
|
||||
**/
|
||||
@Repository()
|
||||
public class ZjgjDaoImpl extends MybatisGenericDao<ZjgjEntity,String> implements IZjgjDao {
|
||||
}
|
|
@ -0,0 +1,11 @@
|
|||
package com.hzya.frame.plugin.zxBank.entity;
|
||||
|
||||
import com.hzya.frame.web.entity.BaseEntity;
|
||||
|
||||
/**
|
||||
* @Description 资金归集
|
||||
* @Author xiangerlin
|
||||
* @Date 2025/4/11 11:04
|
||||
**/
|
||||
public class ZjgjEntity extends BaseEntity {
|
||||
}
|
|
@ -0,0 +1,97 @@
|
|||
package com.hzya.frame.plugin.zxBank.plugin;
|
||||
|
||||
import com.alibaba.fastjson.JSONObject;
|
||||
import com.hzya.frame.base.PluginBaseEntity;
|
||||
import com.hzya.frame.web.entity.JsonResultEntity;
|
||||
import org.slf4j.Logger;
|
||||
import org.slf4j.LoggerFactory;
|
||||
|
||||
/**
|
||||
* @Description 资金归集审批结果通知司库
|
||||
* @Author xiangerlin
|
||||
* @Date 2025/4/11 09:48
|
||||
**/
|
||||
public class ZjgjPluginInitializer extends PluginBaseEntity {
|
||||
Logger logger = LoggerFactory.getLogger(getClass());
|
||||
/***
|
||||
* 插件初始化方法
|
||||
* @Author 👻👻👻👻👻👻👻👻 gjh
|
||||
* @Date 2023-08-02 10:48
|
||||
* @Param []
|
||||
* @return void
|
||||
**/
|
||||
@Override
|
||||
public void initialize() {
|
||||
logger.info(getPluginLabel() + "執行初始化方法initialize()");
|
||||
}
|
||||
|
||||
/****
|
||||
* 插件销毁方法
|
||||
* @author 👻👻👻👻👻👻👻👻 gjh
|
||||
* @date 2023-08-02 10:48
|
||||
* @return void
|
||||
**/
|
||||
@Override
|
||||
public void destroy() {
|
||||
logger.info(getPluginLabel() + "執行銷毀方法destroy()");
|
||||
}
|
||||
|
||||
/****
|
||||
* 插件的ID
|
||||
* @author 👻👻👻👻👻👻👻👻 gjh
|
||||
* @date 2023-08-02 10:48
|
||||
* @return void
|
||||
**/
|
||||
@Override
|
||||
public String getPluginId() {
|
||||
return "ZjgjPluginInitializer";
|
||||
}
|
||||
|
||||
/****
|
||||
* 插件的名称
|
||||
* @author 👻👻👻👻👻👻👻👻 gjh
|
||||
* @date 2023-08-02 10:48
|
||||
* @return void
|
||||
**/
|
||||
@Override
|
||||
public String getPluginName() {
|
||||
return "OA资金归集审批结果回传司库";
|
||||
}
|
||||
|
||||
/****
|
||||
* 插件的显示值
|
||||
* @author 👻👻👻👻👻👻👻👻 gjh
|
||||
* @date 2023-08-02 10:48
|
||||
* @return void
|
||||
**/
|
||||
@Override
|
||||
public String getPluginLabel() {
|
||||
return "OA资金归集审批结果回传司库";
|
||||
}
|
||||
|
||||
/***
|
||||
* 插件类型 1、场景插件
|
||||
* @Author 👻👻👻👻👻👻👻👻 gjh
|
||||
* @Date 2023-08-02 14:01
|
||||
* @Param []
|
||||
* @return java.lang.String
|
||||
**/
|
||||
@Override
|
||||
public String getPluginType() {
|
||||
return "1";
|
||||
}
|
||||
|
||||
/***
|
||||
* 执行业务代码
|
||||
* @Author 👻👻👻👻👻👻👻👻 gjh
|
||||
* @Date 2023-08-07 11:20
|
||||
* @param requestJson 执行业务代码的参数
|
||||
* @return void
|
||||
**/
|
||||
@Override
|
||||
public JsonResultEntity executeBusiness(JSONObject requestJson) throws Exception {
|
||||
logger.info("======开始执OA资金归集审批结果回传司库插件======");
|
||||
|
||||
return null;
|
||||
}
|
||||
}
|
|
@ -0,0 +1,12 @@
|
|||
package com.hzya.frame.plugin.zxBank.service;
|
||||
|
||||
import com.hzya.frame.basedao.service.IBaseService;
|
||||
import com.hzya.frame.plugin.zxBank.entity.ZjgjEntity;
|
||||
|
||||
/**
|
||||
* @Description 资金归集
|
||||
* @Author xiangerlin
|
||||
* @Date 2025/4/11 11:03
|
||||
**/
|
||||
public interface IZjgjService extends IBaseService<ZjgjEntity,String> {
|
||||
}
|
|
@ -0,0 +1,19 @@
|
|||
package com.hzya.frame.plugin.zxBank.service.impl;
|
||||
|
||||
import com.hzya.frame.basedao.service.impl.BaseService;
|
||||
import com.hzya.frame.plugin.zxBank.entity.ZjgjEntity;
|
||||
import com.hzya.frame.plugin.zxBank.service.IZjgjService;
|
||||
import org.apache.logging.log4j.LogManager;
|
||||
import org.apache.logging.log4j.Logger;
|
||||
import org.springframework.stereotype.Service;
|
||||
|
||||
/**
|
||||
* @Description
|
||||
* @Author xiangerlin
|
||||
* @Date 2025/4/11 11:04
|
||||
**/
|
||||
@Service
|
||||
public class ZjgjServiceImpl extends BaseService<ZjgjEntity,String> implements IZjgjService {
|
||||
Logger logger = LogManager.getLogger(getClass());
|
||||
|
||||
}
|
Loading…
Reference in New Issue