统一修改包

This commit is contained in:
chenbowen
2025-09-22 03:45:00 +08:00
parent c9dfb6dacf
commit 7f573cff41
527 changed files with 2626 additions and 2626 deletions

View File

@@ -0,0 +1,16 @@
package com.zt.plat.module.qms;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
/**
* 项目的启动类
*/
@SpringBootApplication
public class QmsServerApplication {
public static void main(String[] args) {
SpringApplication.run(QmsServerApplication.class, args);
}
}

View File

@@ -0,0 +1,12 @@
package com.zt.plat.module.qms.api.task;
import com.zt.plat.framework.common.pojo.CommonResult;
import com.zt.plat.module.qms.api.task.dto.QmsBpmDTO;
import com.alibaba.fastjson.JSONObject;
public interface BMPCallbackInterface {
CommonResult<JSONObject> callback(QmsBpmDTO reqDTO);
}

View File

@@ -0,0 +1,24 @@
package com.zt.plat.module.qms.api.task;
import com.zt.plat.framework.common.pojo.CommonResult;
import com.zt.plat.framework.common.util.spring.SpringUtils;
import com.zt.plat.module.qms.api.task.dto.QmsBpmDTO;
import com.alibaba.fastjson.JSONObject;
import org.springframework.validation.annotation.Validated;
import org.springframework.web.bind.annotation.RestController;
import static com.zt.plat.module.qms.enums.QmsBpmConstant.BPM_CALLBACK_BEAN_NAME;
@RestController
@Validated
public class QmsApiImpl implements QmsApi{
@Override
public CommonResult<JSONObject> bpmCallback(QmsBpmDTO reqDTO) {
JSONObject variables = reqDTO.getVariables();
String beanName = variables.getString(BPM_CALLBACK_BEAN_NAME);
BMPCallbackInterface bean = SpringUtils.getBean(beanName);
return bean.callback(reqDTO);
}
}

Some files were not shown because too many files have changed in this diff Show More