| | |
| | | import com.core.common.Cools; |
| | | import com.core.common.SpringUtils; |
| | | import com.zy.asrs.service.LocMastService; |
| | | import com.zy.asrs.service.MatCodeService; |
| | | import com.zy.asrs.service.MatService; |
| | | import com.zy.system.service.UserService; |
| | | import com.zy.system.entity.User; |
| | | import io.swagger.annotations.ApiModelProperty; |
| | |
| | | } |
| | | |
| | | public String getMatNo$(){ |
| | | MatCodeService service = SpringUtils.getBean(MatCodeService.class); |
| | | MatCode matCode = service.selectById(this.matNo); |
| | | if (!Cools.isEmpty(matCode)){ |
| | | return String.valueOf(matCode.getMatNo()); |
| | | MatService service = SpringUtils.getBean(MatService.class); |
| | | Mat mat = service.selectByMatnr(this.matNo); |
| | | if (!Cools.isEmpty(mat)){ |
| | | return String.valueOf(mat.getMatnr()); |
| | | } |
| | | return null; |
| | | } |