| | |
| | | import com.java110.utils.exception.DAOException; |
| | | import com.java110.utils.util.DateUtil; |
| | | import org.slf4j.Logger; |
| | | import org.slf4j.LoggerFactory; |
| | | import com.java110.core.log.LoggerFactory; |
| | | import org.springframework.stereotype.Service; |
| | | |
| | | import java.util.List; |
| | |
| | | * @throws DAOException DAO异常 |
| | | */ |
| | | @Override |
| | | public void saveStoreAttrInfoInstance(Map info) throws DAOException { |
| | | public int saveStoreAttrInfoInstance(Map info) throws DAOException { |
| | | logger.debug("保存商户属性信息Instance 入参 info : {}",info); |
| | | |
| | | int saveFlag = sqlSessionTemplate.insert("storeAttrServiceDaoImpl.saveStoreAttrInfoInstance",info); |
| | |
| | | if(saveFlag < 1){ |
| | | throw new DAOException(ResponseConstant.RESULT_PARAM_ERROR,"保存商户属性信息Instance数据失败:"+ JSONObject.toJSONString(info)); |
| | | } |
| | | return saveFlag; |
| | | } |
| | | |
| | | /** |
| | | * 保存商户属性信息 到 instance |
| | | * @param info bId 信息 |
| | | * @throws DAOException DAO异常 |
| | | */ |
| | | @Override |
| | | public int saveStoreAttrInfo(Map info) throws DAOException { |
| | | logger.debug("保存商户属性信息Instance 入参 info : {}",info); |
| | | |
| | | int saveFlag = sqlSessionTemplate.insert("storeAttrServiceDaoImpl.saveStoreAttrInfo",info); |
| | | |
| | | if(saveFlag < 1){ |
| | | throw new DAOException(ResponseConstant.RESULT_PARAM_ERROR,"保存商户属性信息Instance数据失败:"+ JSONObject.toJSONString(info)); |
| | | } |
| | | return saveFlag; |
| | | } |
| | | |
| | | |
| | |
| | | * @throws DAOException DAO异常 |
| | | */ |
| | | @Override |
| | | public void updateStoreAttrInfoInstance(Map info) throws DAOException { |
| | | public int updateStoreAttrInfoInstance(Map info) throws DAOException { |
| | | logger.debug("修改商户属性信息Instance 入参 info : {}",info); |
| | | |
| | | int saveFlag = sqlSessionTemplate.update("storeAttrServiceDaoImpl.updateStoreAttrInfoInstance",info); |
| | |
| | | if(saveFlag < 1){ |
| | | throw new DAOException(ResponseConstant.RESULT_PARAM_ERROR,"修改商户属性信息Instance数据失败:"+ JSONObject.toJSONString(info)); |
| | | } |
| | | return saveFlag; |
| | | } |
| | | |
| | | /** |