|
|
@@ -38,7 +38,7 @@ public class SupplierController {
|
|
|
|
|
|
@WebLog
|
|
|
@RequestMapping(value = "/getPage")
|
|
|
- public Object getPage(@RequestBody Map<String, Object> map)throws Exception {
|
|
|
+ public Object getPage(@RequestBody Map<String, Object> map) throws Exception {
|
|
|
Connection connection = null;
|
|
|
try {
|
|
|
connection = dataSource.getConnection();
|
|
|
@@ -106,7 +106,9 @@ public class SupplierController {
|
|
|
jdbcClient.jdbcInsert(bank, connection);
|
|
|
}
|
|
|
try {
|
|
|
- mdmService.sendSupplier(model, false);
|
|
|
+ String code = mdmService.sendSupplier(model, false);
|
|
|
+ model.setSupplierNo(code);
|
|
|
+ jdbcClient.jdbcUpdateById(model, connection);
|
|
|
} catch (Exception ee) {
|
|
|
log.error(ee.getMessage());
|
|
|
}
|