| | |
| | | if (Cools.isEmpty(orderDetl)) { |
| | | return R.error("单据明细有误,请检查"); |
| | | } |
| | | if (Cools.isEmpty(orderDetl.getAnfme())) { |
| | | return R.error("数量为空!"); |
| | | } |
| | | if (orderDetl.getAnfme() - (jsonOrderDetl.getAnfme() + orderDetl.getWorkQty()) < 0) { |
| | | return R.error("入库数量大于可入数量"); |
| | | } |
| | |
| | | datasource: |
| | | driver-class-name: com.microsoft.sqlserver.jdbc.SQLServerDriver |
| | | # url: jdbc:sqlserver://192.168.4.15:1433;databasename=phpsasrs |
| | | url: jdbc:sqlserver://127.0.0.1:1433;databasename=phpsasrs |
| | | url: jdbc:sqlserver://10.10.10.235:1433;databasename=phpsasrs |
| | | username: sa |
| | | password: sa@123 |
| | | mvc: |