客户关系无法清空备注/转换关系/消费项目
This commit is contained in:
parent
06397d7456
commit
a3c0acfadb
@ -112,6 +112,15 @@ public class ByCustomerController extends BaseController {
|
|||||||
@Log(title = "本一-客户关系管理", businessType = BusinessType.UPDATE)
|
@Log(title = "本一-客户关系管理", businessType = BusinessType.UPDATE)
|
||||||
@PutMapping
|
@PutMapping
|
||||||
public AjaxResult edit(@RequestBody ByCustomer byCustomer) {
|
public AjaxResult edit(@RequestBody ByCustomer byCustomer) {
|
||||||
|
if (byCustomer.getZhgj().equals("") || byCustomer.getZhgj().equals(null)) {
|
||||||
|
byCustomer.setZhgj("无");
|
||||||
|
}
|
||||||
|
if (byCustomer.getBz().equals("") || byCustomer.getBz().equals(null)) {
|
||||||
|
byCustomer.setBz("无");
|
||||||
|
}
|
||||||
|
if (byCustomer.getXfxm().equals("") || byCustomer.getXfxm().equals(null)) {
|
||||||
|
byCustomer.setXfxm("无");
|
||||||
|
}
|
||||||
return toAjax(byCustomerService.updateByCustomer(byCustomer));
|
return toAjax(byCustomerService.updateByCustomer(byCustomer));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user