| | |
| | | import com.baomidou.mybatisplus.annotations.TableId; |
| | | import com.baomidou.mybatisplus.annotations.TableName; |
| | | import com.baomidou.mybatisplus.enums.IdType; |
| | | import com.baomidou.mybatisplus.mapper.EntityWrapper; |
| | | import com.zy.asrs.service.*; |
| | | import com.zy.system.entity.User; |
| | | import com.zy.system.service.UserService; |
| | |
| | | |
| | | public Integer getStaNoCar$(){ |
| | | BasDevpService service = SpringUtils.getBean(BasDevpService.class); |
| | | BasDevp basDevp = service.selectById(this.sourceStaNo); |
| | | BasDevp basDevp = service.selectById(this.staNo); |
| | | if (!Cools.isEmpty(basDevp)){ |
| | | Integer devNoCar = basDevp.getDevNo(); |
| | | switch (devNoCar){ |
| | | case 1901: |
| | | return 122; |
| | | default: |
| | | return devNoCar; |
| | | if (basDevp.getDevNo()==1901){ |
| | | return 122; |
| | | } |
| | | return basDevp.getDevNo(); |
| | | } |
| | | return null; |
| | | } |