| | |
| | | import com.zy.asrs.service.*; |
| | | import com.zy.common.model.WrkDto; |
| | | import com.zy.common.web.BaseController; |
| | | import com.zy.system.entity.User; |
| | | import org.springframework.beans.factory.annotation.Autowired; |
| | | import org.springframework.transaction.annotation.Transactional; |
| | | import org.springframework.web.bind.annotation.*; |
| | |
| | | if(Cools.isEmpty(locNo) || Cools.isEmpty(batch) || Cools.isEmpty(packageNo)){ |
| | | return R.error("有参数为空,无法入库"); |
| | | } |
| | | mobileService.plaPakin(locNo,batch,packageNo); |
| | | //测试 |
| | | if(true){ |
| | | User user = new User(); |
| | | user.setUsername("test"); |
| | | mobileService.plaPakin(locNo,batch,packageNo,user); |
| | | return R.ok(); |
| | | } |
| | | mobileService.plaPakin(locNo,batch,packageNo,getUser()); |
| | | return R.ok(); |
| | | } |
| | | |
| | |
| | | mobileService.plaPakout(locNo,batch,packageNo,orderNo,orderDetlId,wrkNo,anfme); |
| | | return R.ok(); |
| | | } |
| | | |
| | | public static void main(String[] args) { |
| | | String aa = "aabb"; |
| | | String[] ccs = aa.split("cc"); |
| | | System.out.println(ccs[0]); |
| | | } |
| | | |
| | | } |