Browse Source

Merge branch 'test3' into test2

anderx 1 year ago
parent
commit
69a31c7797

+ 1 - 2
src/main/java/com/goafanti/business/service/impl/BusinessProjectServiceImpl.java

@@ -57,9 +57,8 @@ public class BusinessProjectServiceImpl extends BaseMybatisDao<BusinessProjectMa
 		bp.setStatus("0");
 		bp.setBoutique(Integer.valueOf(boutique));
 		bp.setFirstPayment(new BigDecimal("0"));
-		return businessProjectMapper.insert(bp);
+		return businessProjectMapper.insertSelective(bp);
 	}
-	@SuppressWarnings("unchecked")
 	@Override
 	public Pagination<BusinessProjectBo> listProject(String bname, String cid, String country,String province,String city,String district, String activityFlag,
 			String status,Integer type,Integer restrictStatus, Integer pNo, Integer pSize) {