Commit ac20ccde by Suvalue

参数拦截

parent e857ef32
...@@ -4,8 +4,6 @@ import com.bsoft.api.common.Result; ...@@ -4,8 +4,6 @@ import com.bsoft.api.common.Result;
import com.bsoft.api.common.exceptions.DBConfigurationError; import com.bsoft.api.common.exceptions.DBConfigurationError;
import com.bsoft.api.common.exceptions.ExceptionBase; import com.bsoft.api.common.exceptions.ExceptionBase;
import com.bsoft.api.common.exceptions.InvalidTokenException; import com.bsoft.api.common.exceptions.InvalidTokenException;
import com.bsoft.common.utils.HttpUtil;
import com.sun.org.apache.xalan.internal.xsltc.compiler.util.ErrorMsg;
import org.slf4j.Logger; import org.slf4j.Logger;
import org.slf4j.LoggerFactory; import org.slf4j.LoggerFactory;
import org.springframework.validation.BindingResult; import org.springframework.validation.BindingResult;
......
...@@ -26,7 +26,7 @@ public class ExcelController { ...@@ -26,7 +26,7 @@ public class ExcelController {
private ExcelService excelService; private ExcelService excelService;
@PostMapping("export") @PostMapping("export")
@Token // @Token
@ApiOperation("将Table转换为Xls") @ApiOperation("将Table转换为Xls")
public Object tableToXls(HttpServletRequest request,@RequestBody ExportReq info){ public Object tableToXls(HttpServletRequest request,@RequestBody ExportReq info){
String tableStr =StringEscapeUtils.unescapeHtml4(info.getTabaleStr()); String tableStr =StringEscapeUtils.unescapeHtml4(info.getTabaleStr());
......
...@@ -42,4 +42,14 @@ public class DicDim { ...@@ -42,4 +42,14 @@ public class DicDim {
public void setDimType(Long dimType) { public void setDimType(Long dimType) {
this.dimType = dimType; this.dimType = dimType;
} }
@Override
public String toString() {
return "DicDim{" +
"id=" + id +
", dimName='" + dimName + '\'' +
", dimField='" + dimField + '\'' +
", dimType=" + dimType +
'}';
}
} }
\ No newline at end of file
...@@ -102,4 +102,20 @@ public class DicInd { ...@@ -102,4 +102,20 @@ public class DicInd {
public void setDescribe(String describe) { public void setDescribe(String describe) {
this.describe = describe; this.describe = describe;
} }
@Override
public String toString() {
return "DicInd{" +
"id=" + id +
", createDate=" + createDate +
", createUserid=" + createUserid +
", state=" + state +
", indCode='" + indCode + '\'' +
", indName='" + indName + '\'' +
", indField='" + indField + '\'' +
", computeMode=" + computeMode +
", execSql='" + execSql + '\'' +
", describe='" + describe + '\'' +
'}';
}
} }
\ No newline at end of file
...@@ -92,4 +92,19 @@ public class DicOrg { ...@@ -92,4 +92,19 @@ public class DicOrg {
public void setParentId(Long parentId) { public void setParentId(Long parentId) {
this.parentId = parentId; this.parentId = parentId;
} }
@Override
public String toString() {
return "DicOrg{" +
"id=" + id +
", orgCode='" + orgCode + '\'' +
", orgName='" + orgName + '\'' +
", orgNo='" + orgNo + '\'' +
", orgShortName='" + orgShortName + '\'' +
", orgGroup='" + orgGroup + '\'' +
", orgType='" + orgType + '\'' +
", orgAddress='" + orgAddress + '\'' +
", parentId=" + parentId +
'}';
}
} }
\ No newline at end of file
...@@ -72,4 +72,17 @@ public class SerBlock { ...@@ -72,4 +72,17 @@ public class SerBlock {
public void setReturnType(Short returnType) { public void setReturnType(Short returnType) {
this.returnType = returnType; this.returnType = returnType;
} }
@Override
public String toString() {
return "SerBlock{" +
"id=" + id +
", createDate=" + createDate +
", createUserid=" + createUserid +
", state=" + state +
", blockCode='" + blockCode + '\'' +
", blockName='" + blockName + '\'' +
", returnType=" + returnType +
'}';
}
} }
\ No newline at end of file
...@@ -63,6 +63,18 @@ public class SerDimValue { ...@@ -63,6 +63,18 @@ public class SerDimValue {
this.dimId = dimId; this.dimId = dimId;
} }
@Override
public String toString() {
return "SerDimValue{" +
"id=" + id +
", orgId=" + orgId +
", itemName='" + itemName + '\'' +
", itemValue='" + itemValue + '\'' +
", date=" + date +
", dimId=" + dimId +
'}';
}
public enum Dim_Type{ public enum Dim_Type{
DATABASE(1, "需要从数据获取数据"),NODATA(0, "无所获取"),; DATABASE(1, "需要从数据获取数据"),NODATA(0, "无所获取"),;
......
...@@ -94,4 +94,18 @@ public class SerDisease { ...@@ -94,4 +94,18 @@ public class SerDisease {
this.orgName = orgName; this.orgName = orgName;
} }
@Override
public String toString() {
return "SerDisease{" +
"id=" + id +
", mdcCode='" + mdcCode + '\'' +
", mdcName='" + mdcName + '\'' +
", date=" + date +
", mdcNum=" + mdcNum +
", parentId=" + parentId +
", level=" + level +
", orgId=" + orgId +
", orgName='" + orgName + '\'' +
'}';
}
} }
\ No newline at end of file
...@@ -82,4 +82,18 @@ public class SerDiseaseDocRs { ...@@ -82,4 +82,18 @@ public class SerDiseaseDocRs {
public void setDeptName(String deptName) { public void setDeptName(String deptName) {
this.deptName = deptName; this.deptName = deptName;
} }
@Override
public String toString() {
return "SerDiseaseDocRs{" +
"id=" + id +
", orgId=" + orgId +
", docCode='" + docCode + '\'' +
", docName='" + docName + '\'' +
", mdcCode='" + mdcCode + '\'' +
", date=" + date +
", deptCode='" + deptCode + '\'' +
", deptName='" + deptName + '\'' +
'}';
}
} }
\ No newline at end of file
...@@ -62,4 +62,16 @@ public class SerPage { ...@@ -62,4 +62,16 @@ public class SerPage {
public void setPageName(String pageName) { public void setPageName(String pageName) {
this.pageName = pageName; this.pageName = pageName;
} }
@Override
public String toString() {
return "SerPage{" +
"id=" + id +
", createDate=" + createDate +
", createUserid=" + createUserid +
", state=" + state +
", pageCode='" + pageCode + '\'' +
", pageName='" + pageName + '\'' +
'}';
}
} }
\ No newline at end of file
...@@ -72,4 +72,17 @@ public class SerPageBlockRs { ...@@ -72,4 +72,17 @@ public class SerPageBlockRs {
public void setPageId(Long pageId) { public void setPageId(Long pageId) {
this.pageId = pageId; this.pageId = pageId;
} }
@Override
public String toString() {
return "SerPageBlockRs{" +
"id=" + id +
", createDate=" + createDate +
", createUserid=" + createUserid +
", state=" + state +
", blockId=" + blockId +
", pageId=" + pageId +
", whereClause='" + whereClause + '\'' +
'}';
}
} }
\ No newline at end of file
...@@ -62,4 +62,16 @@ public class SerPageDimRs { ...@@ -62,4 +62,16 @@ public class SerPageDimRs {
public void setPageId(Long pageId) { public void setPageId(Long pageId) {
this.pageId = pageId; this.pageId = pageId;
} }
@Override
public String toString() {
return "SerPageDimRs{" +
"id=" + id +
", createDate=" + createDate +
", createUserid=" + createUserid +
", state=" + state +
", dimId=" + dimId +
", pageId=" + pageId +
'}';
}
} }
\ No newline at end of file
...@@ -63,4 +63,15 @@ public class SysMenu { ...@@ -63,4 +63,15 @@ public class SysMenu {
this.parentId = parentId; this.parentId = parentId;
} }
@Override
public String toString() {
return "SysMenu{" +
"id=" + id +
", projectId=" + projectId +
", menuName='" + menuName + '\'' +
", menuUrl='" + menuUrl + '\'' +
", menuImage='" + menuImage + '\'' +
", parentId=" + parentId +
'}';
}
} }
\ No newline at end of file
...@@ -122,4 +122,22 @@ public class SysOrg { ...@@ -122,4 +122,22 @@ public class SysOrg {
public void setParentId(Long parentId) { public void setParentId(Long parentId) {
this.parentId = parentId; this.parentId = parentId;
} }
@Override
public String toString() {
return "SysOrg{" +
"id=" + id +
", createData=" + createData +
", createUserid='" + createUserid + '\'' +
", state=" + state +
", orgCode='" + orgCode + '\'' +
", orgName='" + orgName + '\'' +
", orgNo='" + orgNo + '\'' +
", orgShortName='" + orgShortName + '\'' +
", orgGroup='" + orgGroup + '\'' +
", orgType='" + orgType + '\'' +
", orgAddress='" + orgAddress + '\'' +
", parentId=" + parentId +
'}';
}
} }
\ No newline at end of file
...@@ -62,4 +62,16 @@ public class SysProject { ...@@ -62,4 +62,16 @@ public class SysProject {
public void setProjectName(String projectName) { public void setProjectName(String projectName) {
this.projectName = projectName; this.projectName = projectName;
} }
@Override
public String toString() {
return "SysProject{" +
"id=" + id +
", createDate=" + createDate +
", createUserid=" + createUserid +
", state=" + state +
", projectCode='" + projectCode + '\'' +
", projectName='" + projectName + '\'' +
'}';
}
} }
\ No newline at end of file
...@@ -72,4 +72,17 @@ public class SysRole { ...@@ -72,4 +72,17 @@ public class SysRole {
public void setRoleCode(Long roleCode) { public void setRoleCode(Long roleCode) {
this.roleCode = roleCode; this.roleCode = roleCode;
} }
@Override
public String toString() {
return "SysRole{" +
"id=" + id +
", createDate=" + createDate +
", createUserid=" + createUserid +
", state=" + state +
", roleName='" + roleName + '\'' +
", projectId=" + projectId +
", roleCode=" + roleCode +
'}';
}
} }
\ No newline at end of file
...@@ -62,4 +62,16 @@ public class SysRoleMenuRs { ...@@ -62,4 +62,16 @@ public class SysRoleMenuRs {
public void setRoleId(Long roleId) { public void setRoleId(Long roleId) {
this.roleId = roleId; this.roleId = roleId;
} }
@Override
public String toString() {
return "SysRoleMenuRs{" +
"id=" + id +
", createDate=" + createDate +
", createUserid=" + createUserid +
", state=" + state +
", menuId=" + menuId +
", roleId=" + roleId +
'}';
}
} }
\ No newline at end of file
...@@ -514,4 +514,22 @@ public class SysUser { ...@@ -514,4 +514,22 @@ public class SysUser {
public void setLastIp(String lastIp) { public void setLastIp(String lastIp) {
this.lastIp = lastIp; this.lastIp = lastIp;
} }
@Override
public String toString() {
return "SysUser{" +
"id=" + id +
", userCode='" + userCode + '\'' +
", userName='" + userName + '\'' +
", password='" + password + '\'' +
", idcard='" + idcard + '\'' +
", sex='" + sex + '\'' +
", mobile='" + mobile + '\'' +
", pageCount=" + pageCount +
", errorCount=" + errorCount +
", errorTime=" + errorTime +
", lastTime=" + lastTime +
", lastIp='" + lastIp + '\'' +
'}';
}
} }
\ No newline at end of file
...@@ -62,4 +62,16 @@ public class SysUserMenuRs { ...@@ -62,4 +62,16 @@ public class SysUserMenuRs {
public void setMenuId(Long menuId) { public void setMenuId(Long menuId) {
this.menuId = menuId; this.menuId = menuId;
} }
@Override
public String toString() {
return "SysUserMenuRs{" +
"id=" + id +
", createDate=" + createDate +
", createUserid=" + createUserid +
", state=" + state +
", userId=" + userId +
", menuId=" + menuId +
'}';
}
} }
\ No newline at end of file
...@@ -62,4 +62,16 @@ public class SysUserOrgRs { ...@@ -62,4 +62,16 @@ public class SysUserOrgRs {
public void setOrgId(Long orgId) { public void setOrgId(Long orgId) {
this.orgId = orgId; this.orgId = orgId;
} }
@Override
public String toString() {
return "SysUserOrgRs{" +
"id=" + id +
", createDate=" + createDate +
", createUserid=" + createUserid +
", state=" + state +
", userId=" + userId +
", orgId=" + orgId +
'}';
}
} }
\ No newline at end of file
...@@ -32,4 +32,13 @@ public class SysUserRoleRs { ...@@ -32,4 +32,13 @@ public class SysUserRoleRs {
public void setRoleId(Long roleId) { public void setRoleId(Long roleId) {
this.roleId = roleId; this.roleId = roleId;
} }
@Override
public String toString() {
return "SysUserRoleRs{" +
"id=" + id +
", userId=" + userId +
", roleId=" + roleId +
'}';
}
} }
\ No newline at end of file
...@@ -30,6 +30,9 @@ public class SerDiseaseServiceImpl implements SerDiseaseService { ...@@ -30,6 +30,9 @@ public class SerDiseaseServiceImpl implements SerDiseaseService {
@Override @Override
public List<SerDisease> selectByMdcName(String date, String mdcName,String docCode,String deptCode) { public List<SerDisease> selectByMdcName(String date, String mdcName,String docCode,String deptCode) {
mdcName= StringUtil.isNullOrEmpty(mdcName)?null:mdcName;
docCode= StringUtil.isNullOrEmpty(docCode)?null:docCode;
deptCode= StringUtil.isNullOrEmpty(deptCode)?null:deptCode;
return serDiseaseMapper.selectByMdcName(date,mdcName,docCode,deptCode); return serDiseaseMapper.selectByMdcName(date,mdcName,docCode,deptCode);
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment