浏览代码

Merge branch 'dev' of http://192.168.1.220:10080/Amoy2/wlyy2.0 into dev

# Conflicts:
#	svr/svr-iot/src/main/java/com/yihu/iot/service/monitorPlatform/MonitorPlatformService.java
wangzhinan 4 年之前
父节点
当前提交
90c888f340

+ 1 - 1
business/base-service/src/main/java/com/yihu/jw/hospital/prescription/service/entrance/XzzxEntranceService.java

@ -1565,7 +1565,7 @@ public class XzzxEntranceService{
                        prescriptionInfoVO.setSerial(isEmty(infoJson.getString("SERIAL")));
                        prescriptionInfoVO.setSerial(isEmty(infoJson.getString("SERIAL")));
                    /*    prescriptionInfoVO.setGroupNo(isEmty(infoJson.getString("groupNo")));*/
                    /*    prescriptionInfoVO.setGroupNo(isEmty(infoJson.getString("groupNo")));*/
                        prescriptionInfoVO.setSpecification(isEmty(infoJson.getString("SPECIFICATION")));
                        prescriptionInfoVO.setSpecification(isEmty(infoJson.getString("SPECIFICATION")));
                        prescriptionInfoVO.setPackRetprice(infoJson.getDouble("PACKRETPRICE"));
                        prescriptionInfoVO.setPackRetprice(isEmty(infoJson.getString("PACKRETPRICE"))==null?0.0:infoJson.getDouble("PACKRETPRICE"));
                        prescriptionInfoVO.setHerbalCount(isEmty(infoJson.getString("HERBALCOUNT")));
                        prescriptionInfoVO.setHerbalCount(isEmty(infoJson.getString("HERBALCOUNT")));
                        prescriptionInfoVO.setPostCount(isEmty(infoJson.getString("POSTCOUNT")));
                        prescriptionInfoVO.setPostCount(isEmty(infoJson.getString("POSTCOUNT")));
                        prescriptionInfoVO.setDel(infoJson.getInteger("DEL"));
                        prescriptionInfoVO.setDel(infoJson.getInteger("DEL"));

+ 2 - 2
svr/svr-internet-hospital/src/main/java/com/yihu/jw/hospital/endpoint/file_upload/FileUploadEndpoint.java

@ -52,7 +52,7 @@ public class FileUploadEndpoint extends EnvelopRestEndpoint {
    public ObjEnvelop<UploadVO> uploadImg(@ApiParam(value = "文件", required = true)
    public ObjEnvelop<UploadVO> uploadImg(@ApiParam(value = "文件", required = true)
                                       @RequestParam(value = "file", required = true) MultipartFile file) throws Exception{
                                       @RequestParam(value = "file", required = true) MultipartFile file) throws Exception{
        UploadVO uploadVO = new UploadVO();
        UploadVO uploadVO = new UploadVO();
        if (isClose.equalsIgnoreCase("1")){
        if (isClose.equalsIgnoreCase("0")){
            // 得到文件的完整名称  xxx.txt
            // 得到文件的完整名称  xxx.txt
            String originalFilename = file.getOriginalFilename();
            String originalFilename = file.getOriginalFilename();
            InputStream inputStream = file.getInputStream();
            InputStream inputStream = file.getInputStream();
@ -74,7 +74,7 @@ public class FileUploadEndpoint extends EnvelopRestEndpoint {
    public ObjEnvelop<UploadVO> uploadAttachment(@ApiParam(value = "文件", required = true)
    public ObjEnvelop<UploadVO> uploadAttachment(@ApiParam(value = "文件", required = true)
                                       @RequestParam(value = "file", required = true) MultipartFile file) throws Exception{
                                       @RequestParam(value = "file", required = true) MultipartFile file) throws Exception{
        UploadVO uploadVO = new UploadVO();
        UploadVO uploadVO = new UploadVO();
        if (isClose.equalsIgnoreCase("1")){
        if (isClose.equalsIgnoreCase("0")){
            String originalFilename = file.getOriginalFilename();
            String originalFilename = file.getOriginalFilename();
            InputStream inputStream = file.getInputStream();
            InputStream inputStream = file.getInputStream();
            uploadVO = fileUploadService.uploadAttachment(inputStream,originalFilename,file.getSize(),fastdfs_file_url);
            uploadVO = fileUploadService.uploadAttachment(inputStream,originalFilename,file.getSize(),fastdfs_file_url);