Example exampleUpdate = new Example(TrCustomerChangeEntity.class);
Example.Criteria criteriaUpdate = exampleUpdate.createCriteria();
criteriaUpdate.andEqualTo("isDel",0);
criteriaUpdate.andEqualTo("handleStatus","S");
criteriaUpdate.andEqualTo("customerCode",trc.getCustomerCode());
criteriaUpdate.andEqualTo("customLabelProId",2L);
sellUserCustomLabelRelaMapper.updateByExampleSelective(suclr3,exampleUpdate);
此时我需要移除customLabelProId入参重新赋值 或者更改这个入参 然后再用,类似如下操作
criteriaUpdate.andEqualTo("customLabelProId",3L);
sellUserCustomLabelRelaMapper.updateByExampleSelective(suclr3,exampleUpdate);
有什么方法么?
Example.Criteria criteriaUpdate = exampleUpdate.createCriteria();
criteriaUpdate.andEqualTo("isDel",0);
criteriaUpdate.andEqualTo("handleStatus","S");
criteriaUpdate.andEqualTo("customerCode",trc.getCustomerCode());
criteriaUpdate.andEqualTo("customLabelProId",2L);
sellUserCustomLabelRelaMapper.updateByExampleSelective(suclr3,exampleUpdate);
此时我需要移除customLabelProId入参重新赋值 或者更改这个入参 然后再用,类似如下操作
criteriaUpdate.andEqualTo("customLabelProId",3L);
sellUserCustomLabelRelaMapper.updateByExampleSelective(suclr3,exampleUpdate);
有什么方法么?