📄 gzrzrzjlvo.java
字号:
package gov.gdlt.ssgly.taxcore.taxevent.gzrz;
import java.math.BigDecimal;
import java.sql.Date;
import gov.gdlt.ssgly.taxcore.comm.event.*;
import gov.gdlt.ssgly.taxcore.comm.vo.*;
import gov.gdlt.ssgly.taxcore.comm.vo.BaseValueObject;
import gov.gdlt.ssgly.taxweb.comm.util.WebUtil;
import java.util.Map;
import javax.faces.context.FacesContext;
import gov.gdlt.ssgly.taxweb.mbean.gzrz.GZRZckrzMBean;
public class GZRZrzjlVO extends BaseValueObject{
private BigDecimal rz_xh; //日志序号
private String gly_dm; //管理员代码
private String rw_xh; //任务序号
private String sx_dm; //事项代码
private String sxms; //事项名称
private String zt_mc; //状态名称,对应事项代码中文名称
private String sj_lx; //审计类型
private String jl_sj; //记录时间
private String rz_bz; //日志备注
private Integer jl_lx;
private Integer jl_zt;
private String rwyx_jb;
private String rwlx_dm;
private String rwxl_dm;
private static final int LEN = 22;
public GZRZrzjlVO(){
}
public void setRwyx_jb(String rwyx_jb){
this.rwyx_jb = rwyx_jb;
}
public String getRwyx_jb(){
return rwyx_jb;
}
public void setRwlx_dm(String rwlx_dm){
this.rwlx_dm = rwlx_dm;
}
public String getRwlx_dm(){
return rwlx_dm;
}
public void setRwxl_dm(String rwxl_dm){
this.rwxl_dm = rwxl_dm;
}
public String getRwxl_dm(){
return rwxl_dm;
}
public void setJl_lx(Integer jl_lx){
this.jl_lx = jl_lx;
}
public Integer getJl_lx(){
return jl_lx;
}
public void setJl_zt(Integer jl_zt){
this.jl_zt = jl_zt;
}
public Integer getJl_zt(){
return jl_zt;
}
public String getFormatZt(){
String formatZt = "";
if(this.zt_mc != null && !this.zt_mc.trim().equals("")){
if(this.zt_mc.length()>LEN){
formatZt = this.zt_mc.substring(0,LEN) + "...";
}else{
formatZt = this.zt_mc;
}
}
return formatZt;
}
public String doString(String str){
final int len = 22;
int m = str.length()/len;
int n = str.length()%len;
String text = "";
for(int i=0; i<m; i++){
text += str.substring(i*len,(i+1)*len) + "\n";
}
text += str.substring(str.length()-n,str.length());
System.out.println("tesxt " + text);
return text;
}
public String getFormatBz(){
String formatBz = "";
if (this.rz_bz != null && !this.rz_bz.trim().equals("")) {
if (this.rz_bz.length() > LEN) {
formatBz = this.rz_bz.substring(0, 10) + "...";
} else {
formatBz = this.rz_bz;
}
}
return formatBz;
}
public void setZt_mc(String zt_mc){
this.zt_mc = zt_mc;
}
public String getZt_mc(){
if(this.jl_lx != null && this.jl_lx.intValue() == 2){
if(this.jl_zt != null){
if(this.jl_zt.intValue() == 1){
if(zt_mc != null){
if(zt_mc.length()>2){
if (!zt_mc.substring(0, 2).equals("接收"))
zt_mc = "接收:" + zt_mc;
}else
zt_mc = "接收:" + zt_mc;
}
}else if(this.jl_zt.intValue() == 2){
if(zt_mc != null){
if(zt_mc.length()>2){
if (!zt_mc.substring(0, 2).equals("办结"))
zt_mc = "办结:" + zt_mc;
}else
zt_mc = "办结:" + zt_mc;
}
}else if(this.jl_zt.intValue() == 3){
if(zt_mc != null){
if(zt_mc.length()>4){
if (!zt_mc.substring(0, 4).equals("逾期办结"))
zt_mc = "逾期办结:" + zt_mc;
}else
zt_mc = "逾期办结:" + zt_mc;
}
}
}
}
return zt_mc;
}
public String getGly_dm() {
return gly_dm;
}
public String getJl_sj() {
return jl_sj;
}
public String getRz_bz() {
return rz_bz;
}
public BigDecimal getRz_xh() {
return rz_xh;
}
public String getSx_dm() {
return sx_dm;
}
public String getRw_xh() {
return rw_xh;
}
public String getSj_lx() {
return sj_lx;
}
public String getSxms() {
return sxms;
}
public void setRz_xh(BigDecimal rz_xh) {
this.rz_xh = rz_xh;
}
public void setRz_bz(String rz_bz) {
this.rz_bz = rz_bz;
}
public void setJl_sj(String jl_sj) {
this.jl_sj = jl_sj;
}
public void setGly_dm(String gly_dm) {
this.gly_dm = gly_dm;
}
public void setSx_dm(String sx_dm) {
this.sx_dm = sx_dm;
}
public void setRw_xh(String rw_xh) {
if(rw_xh != null && !rw_xh.trim().equals("0"))
//this.rw_xh = "<a href=\"javascript:void(null)\" onclick=\"reloadPageWithParam(window.parent.parent,'../TaskManager/index.jsf','rwxh=" +
// rw_xh + "&source=RWGL&readonly=true&yxjb=" + this.rwyx_jb + "&rwlx=" + this.rwlx_dm + "&rwxl=" + this.rwxl_dm + "')\" class=\"a000000\">" + rw_xh +"</a>";
if(this.rwyx_jb != null && !this.rwyx_jb.trim().equals("") && this.rwlx_dm != null && !this.rwlx_dm.trim().equals("") && this.rwxl_dm != null && !this.rwxl_dm.trim().equals(""))
this.rw_xh = "<a href='javascript:void(null)'" + " title='点击此处查看任务'" +
" onclick=\"window.showModalDialog('../TaskManager/taskDetail.jsf?rwxh=" +
rw_xh + "&source=RWGL&readonly=true&yxjb=" + this.rwyx_jb +
"&rwlx=" + this.rwlx_dm + "&rwxl=" + this.rwxl_dm +
"','广东省地税','scroll=yes;toolbar=no;title=no;resizable=no;help=no;status=no;center=yes;dialogWidth=821px;dialogHeight=600px')\">"
+ rw_xh + "</a>";
else
this.rw_xh = "<span class=\"3Dtable-Content\">" + rw_xh + "</span>";
else
this.rw_xh = "<span class=\"3Dtable-Content\">核心系统</span>";
}
public void setSj_lx(String sj_lx) {
this.sj_lx = sj_lx;
}
public void setSxms(String sxms) {
this.sxms = sxms;
}
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -