|
@@ -244,23 +244,23 @@ public class YhKhjbxxController {
|
|
|
daCustomer.setYhdz(user.getYhdz());
|
|
|
daCustomer.setLxdh(user.getLxdh());
|
|
|
daCustomer.setZjhm(user.getZjhm());
|
|
|
- if(yhzt.equals("1"))
|
|
|
+ if(yhzt.equals("1")||yhzt.equals("正式用户"))
|
|
|
{
|
|
|
daCustomer.setYhzt(YhztEnum.正式用户);
|
|
|
}
|
|
|
- if(yhzt.equals("0"))
|
|
|
+ if(yhzt.equals("0")||yhzt.equals("申请用户"))
|
|
|
{
|
|
|
daCustomer.setYhzt(YhztEnum.申请用户);
|
|
|
}
|
|
|
- if(yhzt.equals("2"))
|
|
|
+ if(yhzt.equals("2")||yhzt.equals("报停用户"))
|
|
|
{
|
|
|
daCustomer.setYhzt(YhztEnum.报停用户);
|
|
|
}
|
|
|
- if(yhzt.equals("3"))
|
|
|
+ if(yhzt.equals("3")||yhzt.equals("销户用户"))
|
|
|
{
|
|
|
daCustomer.setYhzt(YhztEnum.销户用户);
|
|
|
}
|
|
|
- if(yhzt.equals("4"))
|
|
|
+ if(yhzt.equals("4")||yhzt.equals("作废用户"))
|
|
|
{
|
|
|
daCustomer.setYhzt(YhztEnum.作废用户);
|
|
|
}
|
|
@@ -294,7 +294,7 @@ public class YhKhjbxxController {
|
|
|
|
|
|
daMeter.setLjffs(ljffs);
|
|
|
daMeter.setLjfje(new BigDecimal(ljfje));
|
|
|
- if(jfzt.equals("1"))
|
|
|
+ if(jfzt.equals("1")||jfzt.equals("正常"))
|
|
|
{
|
|
|
daMeter.setJfzt("1");
|
|
|
}
|
|
@@ -527,23 +527,23 @@ public class YhKhjbxxController {
|
|
|
YhCbkxx yhCbkxx = daCustomerAndMeter.getYhCbkxx();
|
|
|
|
|
|
YyCblr yyCblr = new YyCblr();
|
|
|
- if(daCustomerAndMeter.getYhKhjbxx().getYhzt().equals("1"))
|
|
|
+ if(daCustomerAndMeter.getYhKhjbxx().getYhzt().equals("1")||daCustomerAndMeter.getYhKhjbxx().getYhzt().equals("正式用户"))
|
|
|
{
|
|
|
yhKhjbxx.setYhzt(YhztEnum.正式用户);
|
|
|
yhCbkxx.setJfzt(JfztEnum.正常.toString());
|
|
|
yyCblr.setJfzt(JfztEnum.正常.getValue().toString());
|
|
|
}
|
|
|
|
|
|
- if(daCustomerAndMeter.getYhKhjbxx().getYhzt().equals("2")) {
|
|
|
+ if(daCustomerAndMeter.getYhKhjbxx().getYhzt().equals("2")||daCustomerAndMeter.getYhKhjbxx().getYhzt().equals("报停用户")) {
|
|
|
yhKhjbxx.setYhzt(YhztEnum.报停用户);
|
|
|
}
|
|
|
- if(daCustomerAndMeter.getYhKhjbxx().getYhzt().equals("3")) {
|
|
|
+ if(daCustomerAndMeter.getYhKhjbxx().getYhzt().equals("3")||daCustomerAndMeter.getYhKhjbxx().getYhzt().equals("销户用户")) {
|
|
|
yhKhjbxx.setYhzt(YhztEnum.销户用户);
|
|
|
}
|
|
|
- if(daCustomerAndMeter.getYhKhjbxx().getYhzt().equals("4")) {
|
|
|
+ if(daCustomerAndMeter.getYhKhjbxx().getYhzt().equals("4")||daCustomerAndMeter.getYhKhjbxx().getYhzt().equals("作废用户")) {
|
|
|
yhKhjbxx.setYhzt(YhztEnum.作废用户);
|
|
|
}
|
|
|
- if(daCustomerAndMeter.getYhCbkxx().getJfzt().equals("1"))
|
|
|
+ if(daCustomerAndMeter.getYhCbkxx().getJfzt().equals("1")||daCustomerAndMeter.getYhCbkxx().getJfzt().equals("正常"))
|
|
|
{
|
|
|
yhCbkxx.setJfzt("1");
|
|
|
yyCblr.setJfzt("1");
|