医院版本

This commit is contained in:
zhuchunyun 2025-02-28 23:30:45 +08:00
parent f481156d44
commit 18e223a7b1
5 changed files with 9 additions and 10 deletions

View File

@ -1014,9 +1014,9 @@ public class PatientScriptServiceImpl implements PatientScriptService {
// 图片文件
placeholders.put("image4", Pictures.ofLocal(patientScript.getResImage().replace("Net","Net4")).size(260, 260).create());
placeholders.put("kydw", Optional.ofNullable(patientScript.getKydw()).orElse(" "));
placeholders.put("fzr", Optional.ofNullable(patientScript.getFzr()).orElse(" "));
placeholders.put("phone", Optional.ofNullable(patientScript.getPhone()).orElse(" "));
placeholders.put("kydw", Optional.ofNullable(patientScript.getKydw()).orElse(" ")+" ");
placeholders.put("fzr", Optional.ofNullable(patientScript.getFzr()).orElse(" ")+" ");
placeholders.put("phone", Optional.ofNullable(patientScript.getPhone()).orElse(" ")+" ");
String brainInfo = "";
for (int i = 0; i < brainList.length; i++) {
if (i==brainList.length-1){

View File

@ -29,6 +29,9 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
<result property="createTime" column="create_time" />
<result property="createId" column="create_id" />
<result property="isAll" column="is_all" />
<result property="kydw" column="kydw" />
<result property="fzr" column="fzr"/>
<result property="phone" column="phone"/>
</resultMap>
<update id="updateStatus" parameterType="com.ruoyi.script.entity.PatientScript">

View File

@ -3,7 +3,7 @@ cd /data
cd /data
echo "执行源文件处理脚本"
python dealTest.py --base_dir ${playground} --output_dir ${playground}/BIDS_output --json_dir ${playground}/BIDS_output/sub-001/func/sub-001_task-rest_bold.json
python dealTest.py --base_dir ${playground} --output_dir ${playground}/BIDS_output --json_dir ${playground}/BIDS_output/sub-001/func/
rm -rf ./${playground}/BIDS_output/config.json
cp ./README ${playground}/BIDS_output/
echo "通过源文件进行二次处理"

View File

@ -26,7 +26,7 @@ public class FileUploadUtils
/**
* 默认大小 50M
*/
public static final long DEFAULT_MAX_SIZE = 5000 * 1024 * 1024;
public static final long DEFAULT_MAX_SIZE = 50000 * 1024 * 1024;
/**
* 默认的文件名最大长度 100
@ -206,10 +206,6 @@ public class FileUploadUtils
throws FileSizeLimitExceededException, InvalidExtensionException
{
long size = file.getSize();
if (size > DEFAULT_MAX_SIZE)
{
throw new FileSizeLimitExceededException(DEFAULT_MAX_SIZE / 1024 / 1024);
}
String fileName = file.getOriginalFilename();
String extension = getExtension(file);

View File

@ -6,5 +6,5 @@ public interface Constants {
// 常量密钥
String SECRET_KEY = "jinanshandongdianliangxinxijishu";
//密钥存储文件地址
String KEY_FILE_PATH = "D:/overdue.txt";
String KEY_FILE_PATH = "/opt/overdue.txt";
}