| | |
| | | import com.yc.crm.custom.entity.T480601HEntity; |
| | | import com.yc.service.BaseService; |
| | | import org.springframework.stereotype.Service; |
| | | import org.springframework.transaction.annotation.Transactional; |
| | | |
| | | import java.util.List; |
| | | |
| | |
| | | */ |
| | | @Service |
| | | public class CustomImpl extends BaseService implements CustomIfc { |
| | | |
| | | @Transactional(rollbackFor = Exception.class) |
| | | @Override |
| | | public String saveCustom(T480601HEntity custom) { |
| | | String sql = "set nocount on\n"; |
| | |
| | | throw e; |
| | | } |
| | | } |
| | | |
| | | @Transactional(rollbackFor = Exception.class) |
| | | @Override |
| | | public Integer updateCustom(T480601HEntity custom) { |
| | | String sql = "set nocunt on \n"; |
| | |
| | | throw e; |
| | | } |
| | | } |
| | | |
| | | @Transactional(rollbackFor = Exception.class) |
| | | @Override |
| | | public Integer deleteCustom(String docCode, String userCode) { |
| | | String sql = "set nocunt on \n"; |