往来单位状态
This commit is contained in:
parent
43ecf26853
commit
7126f3e744
|
|
@ -60,10 +60,10 @@ public class BmUnitInfoServiceImpl implements BmUnitInfoService {
|
|||
|
||||
@Override
|
||||
public AjaxResult updateBmUnitInfo(BmUnitInfo bmUnitInfo) {
|
||||
Integer count = bmUnitInfoMapper.selectByName(bmUnitInfo.getUnitName());
|
||||
if (count != 0) {
|
||||
return AjaxResult.error("往来单位名称已经存在,请重新修改提交!!!");
|
||||
}
|
||||
// Integer count = bmUnitInfoMapper.selectByName(bmUnitInfo.getUnitName());
|
||||
// if (count != 0) {
|
||||
// return AjaxResult.error("往来单位名称已经存在,请重新修改提交!!!");
|
||||
// }
|
||||
return AjaxResult.success(bmUnitInfoMapper.updateBmUnitInfo(bmUnitInfo));
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue