规范代码格式,采用generatorConfig.xml执行下就能自动生成

This commit is contained in:
季圣华
2019-04-30 23:13:17 +08:00
parent 1f628d7537
commit 38dbf19b22
7 changed files with 137 additions and 93 deletions

View File

@@ -322,7 +322,7 @@ public class DepotService {
logService.insertLog(BusinessConstants.LOG_INTERFACE_NAME_DEPOT,BusinessConstants.LOG_OPERATION_TYPE_EDIT+depotID,
((ServletRequestAttributes) RequestContextHolder.getRequestAttributes()).getRequest());
Depot depot = new Depot();
depot.setIsdefault(isDefault);
depot.setIsDefault(isDefault);
DepotExample example = new DepotExample();
example.createCriteria().andIdEqualTo(depotID);
int result=0;