|
|
@@ -261,6 +261,7 @@ public class VendorServiceImpl extends CommonBaseServiceImpl<VendorMapper, Vendo
|
|
|
* @param id
|
|
|
*/
|
|
|
@Override
|
|
|
+ @Transactional
|
|
|
public void deleteById(Long id) {
|
|
|
if(id != null && id > 0){
|
|
|
String code = getMapper().getCodeById(id, new Long(1));
|
|
|
@@ -272,6 +273,7 @@ public class VendorServiceImpl extends CommonBaseServiceImpl<VendorMapper, Vendo
|
|
|
map.put("v_res","");
|
|
|
vendorMapper.check(map);
|
|
|
Object result = map.get("v_res");
|
|
|
+ System.out.println("result:" + result);
|
|
|
if(!StringUtils.isEmpty(result)){
|
|
|
throw new BizException(BizExceptionCode.USING_EXISTS.getCode(),result.toString());
|
|
|
}else{
|