Commit b71c8cc6 authored by chenzhao's avatar chenzhao

修改bug

parent 3c764c3f
...@@ -93,6 +93,11 @@ public class FireStationServiceImpl extends BaseService<FireStationDto, FireStat ...@@ -93,6 +93,11 @@ public class FireStationServiceImpl extends BaseService<FireStationDto, FireStat
* 新增 * 新增
***/ ***/
public FireStationDto add(FireStationDto model) { public FireStationDto add(FireStationDto model) {
/*bug 3072 微型消防站,新增页面多次点击保存报主键重复错误 2021-10-13 chenzhao */
if (model.getSequenceNbr() != null){
Update(model);
}
/*bug 3072 微型消防站,新增页面多次点击保存报主键重复错误 2021-10-13 chenzhao */
if (model.getBizCompanyId() != null) { if (model.getBizCompanyId() != null) {
OrgUsr orgUsr = orgUsrMapper.selectById(model.getBizCompanyId()); OrgUsr orgUsr = orgUsrMapper.selectById(model.getBizCompanyId());
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment