|
|
|
@ -485,9 +485,22 @@ public class DmYdjh implements Serializable {
|
|
|
|
public void setZtForSl(){
|
|
|
|
public void setZtForSl(){
|
|
|
|
this.zt=ZyjhzxEnum.SLFK.code;
|
|
|
|
this.zt=ZyjhzxEnum.SLFK.code;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
public void setForPwpg(){
|
|
|
|
public void setForPwpg(){
|
|
|
|
|
|
|
|
//由于未知原因会导致已抛丸报工的数据被修正为抛丸派工状态,这里做一下处理
|
|
|
|
|
|
|
|
ZyjhzxEnum enumByCode = ZyjhzxEnum.getEnumByCode(this.zt);
|
|
|
|
|
|
|
|
if (enumByCode!=null&&enumByCode.computeCode<ZyjhzxEnum.PWPG.computeCode){
|
|
|
|
this.zt=ZyjhzxEnum.PWPG.code;
|
|
|
|
this.zt=ZyjhzxEnum.PWPG.code;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
public static void main(String[] args) {
|
|
|
|
|
|
|
|
DmYdjh dmYdjh = new DmYdjh();
|
|
|
|
|
|
|
|
dmYdjh.setZt("21");
|
|
|
|
|
|
|
|
dmYdjh.setForPwpg();
|
|
|
|
|
|
|
|
System.out.println(dmYdjh);
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
public void setZtForPwfk(){
|
|
|
|
public void setZtForPwfk(){
|
|
|
|
this.zt=ZyjhzxEnum.PWFK.code;
|
|
|
|
this.zt=ZyjhzxEnum.PWFK.code;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|