String serviceType = null;
Integer type = omsdatas.getInteger("TYPE");
switch(type){
case 00:serviceType ="安装";break;
case 01:serviceType ="维修";break;
case 02:serviceType ="拆旧";break;
case 03:serviceType ="测量";break;
case 04:serviceType ="维修+拆旧";break;
case 05:serviceType ="安装+拆旧";break;
case 06:serviceType ="上样";break;
case 07:serviceType ="辅贴指导";break;
}